I've had a consistent problem with Samba from 2.2.1 onwards, maybe even before then, I'm not sure when it started. Anyway, Samba will randomly stop responding to any requests, although it usually occurs after transfering large amounts of data (1 GB+). To get around the problem, I've been restarting samba every night, but we still have the problem occasionally. smbclient shows: atgdet05:/usr/local/samba/bin% ./smbclient -L atgdet05 added interface ip=169.210.15.5 bcast=169.210.255.255 nmask=255.255.0.0 session request to ATGDET05 failed (SUCCESS - 0) session request to *SMBSERVER failed (SUCCESS - 0) The log file is filled with lines similar to the following: [2002/07/16 17:34:02, 0] tdb/tdbutil.c:(342) tdb(/usr/local/samba/var/locks/locking.tdb): rec_free_read bad magic 0xa8ad6646 at offset=1124 [2002/07/16 17:35:22, 0] tdb/tdbutil.c:(342) tdb(/usr/local/samba/var/locks/locking.tdb): rec_read bad magic 0xd9fee666 at offset=840 [2002/07/18 21:41:15, 0] smbd/nttrans.c:(1798) call_nt_transact_ioctl: Currently not implemented. [2002/07/18 21:41:41, 0] tdb/tdbutil.c:(342) tdb(/usr/local/samba/var/locks/connections.tdb): remove_from_freelist: not on list at off=237568 [2002/07/18 21:41:41, 0] tdb/tdbutil.c:(342) tdb(/usr/local/samba/var/locks/connections.tdb): tdb_free: left free failed at 237568 [2002/07/18 22:07:42, 0] smbd/connection.c:(62) yield_connection: tdb_delete failed with error Record does not exist. Josh ====-- -- <http://origin.me.gatech.edu/~weage> -- -- <http://members.xoom.com/joshua_weage> -- -- <http://weage.freeservers.com/> -- __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com
Did you increase nflocks and nfiles when you went to 2.2.x? If not, you can get instructions from the CIFS/9000 Server A.01.08 (Samba 2.2.3a) Readme document at: http://www.docs.hp.com/hpux/pdf/B8725-90020.pdf Eric Roseme Hewlett-Packard Joshua Weage wrote:> > I've had a consistent problem with Samba from 2.2.1 onwards, maybe even > before then, I'm not sure when it started. > > Anyway, Samba will randomly stop responding to any requests, although > it usually occurs after transfering large amounts of data (1 GB+). To > get around the problem, I've been restarting samba every night, but we > still have the problem occasionally. > smbclient shows: > > atgdet05:/usr/local/samba/bin% ./smbclient -L atgdet05 > added interface ip=169.210.15.5 bcast=169.210.255.255 nmask=255.255.0.0 > session request to ATGDET05 failed (SUCCESS - 0) > session request to *SMBSERVER failed (SUCCESS - 0) > > The log file is filled with lines similar to the following: > [2002/07/16 17:34:02, 0] tdb/tdbutil.c:(342) > tdb(/usr/local/samba/var/locks/locking.tdb): rec_free_read bad magic > 0xa8ad6646 at offset=1124 > [2002/07/16 17:35:22, 0] tdb/tdbutil.c:(342) > tdb(/usr/local/samba/var/locks/locking.tdb): rec_read bad magic > 0xd9fee666 at offset=840 > [2002/07/18 21:41:15, 0] smbd/nttrans.c:(1798) > call_nt_transact_ioctl: Currently not implemented. > [2002/07/18 21:41:41, 0] tdb/tdbutil.c:(342) > tdb(/usr/local/samba/var/locks/connections.tdb): > remove_from_freelist: not on list at off=237568 > [2002/07/18 21:41:41, 0] tdb/tdbutil.c:(342) > tdb(/usr/local/samba/var/locks/connections.tdb): tdb_free: left free > failed at 237568 > [2002/07/18 22:07:42, 0] smbd/connection.c:(62) > yield_connection: tdb_delete failed with error Record does not exist. > > Josh > > ====> -- > -- <http://origin.me.gatech.edu/~weage> -- > -- <http://members.xoom.com/joshua_weage> -- > -- <http://weage.freeservers.com/> -- > > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
As a followup to my previous post, apparently there is an issue with mmap on HP-UX. This has been logged as a bug, and the release notes claim that it has been fixed as of version 2.2.2, but there is still a problem. After configuring samba, HP-UX users need to delete the '#define HAVE_MMAP' lines from include/config.h. This solves tdb problems that were in the log file I posted. Josh ====-- -- <http://origin.me.gatech.edu/~weage> -- -- <http://members.xoom.com/joshua_weage> -- -- <http://weage.freeservers.com/> -- __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com