CVS update: samba/source/lib

John Reilly jreilly at au2.samba.org
Fri Feb 2 12:18:28 EST 2001


Date:	Friday February 2, 2001 @ 12:18
Author:	jreilly

Update of /data/cvs/samba/source/lib
In directory samba:/tmp/cvs-serv2135/lib

Modified Files:
      Tag: APPLIANCE_HEAD
	messages.c 
Log Message:
If message_send_all() send fails because the pid no longer exists (presumably
it died, but that's another defect :), it removes the message from messages.tdb.
However, it doesn't remove the associated entry from the connections.tdb. The
result is that eventually, the pid is reused by an arbitrary process and it
becomes the target of SIGUSR1's. Stress tests show the expected periodic pattern.
The other issue is that the connections.tdb slowly accumulates tdb's.

- messages.c:traverse_fn() added code to test the errno return from the previous
    kill() to determine if the entry should be removed from the connections.tdb
- messages.c:message_send_pid() zeroed errno, due to paranoia 





More information about the samba-cvs mailing list