Failed to set socket options

Alan Hourihane Alan.Hourihane at pinacl.co.uk
Tue Dec 21 11:22:10 GMT 1999


I keep getting these in my /var/log/samba-log.smb log file and
a few hours after I get thousands of smbd's being created and
the box runs out of processes. 

I had to increase the process numbers to 2048 so I had time
to catch the rogue smbd's and kill them off.

It doesn't seem to happen straight away either, it seems to take
a few hours or possibly sometimes a few days too.

This has only started happening on Samba-2.0.6.

This is running on Linux 2.2.13 (Debian 2.1)

Any ideas ?

Alan.

[1999/12/15 17:40:41, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[1999/12/15 17:40:41, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[1999/12/15 17:40:41, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_RCVBUF (Error Bad file descriptor)
[1999/12/15 17:40:41, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_SNDBUF (Error Bad file descriptor)



More information about the samba mailing list