-   Linux - Networking (
-   -   Samba/NFS locking up. - HELP - (

grenobel 02-25-2005 10:33 AM

Samba/NFS locking up. - HELP -
I am running Samba 3.0.10 in a production environment sharing FTP directories to the Windows world. Problem is occasionally, becoming more frequent with load, the Samba connections lock up and I can't kill the daemon or process at all (kill -9 or kill -hup, service smb stop) and the weird thing is that my NFS share to the external FTP server locks up too. Any open terminals attempting to query one of the shares will lock up too, even if it is a #df command.

I haven't found anything useful in dmesg except :

SMB connection re-established (-5)

This is repeated like 30 or more times.

In the message log I am getting a ton of:
tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 46 ltype=0 (Bad file descriptor)
getpeername failed. Error was Transport endpoint is not connected

I am not sure if these are related or not.

I read in a post that the tdb_lock failed was due to Samba not having sufficient privilege on the gencache.tdb, so I gave it 777 perms to test - no resolve. For the getpeername failed error, I read that it was an issue with authentication discrepancies between a PDC and BDC if both are not synched immediately and Samba is pulling authentications from both. The "fix" was to specify one or the other in the smb.conf - no resolve.

This system is running FC3 with 2.6.10-1.766_FC3smp kernel on a Dell 2650. Killing the NFS share from the external FTP server doesn't release the NFS connection, and removing the system from the Window's domain doesn't help with disconnecting the locked Samba connection either. The only way I can get it to release is to do a cold reboot.

Thanks for any ideas!!!

All times are GMT -5. The time now is 06:18 PM.