[Samba] number of processes (501) is over allowed limit (500)

Ralf Gross Ralf-Lists at ralfgross.de
Thu Nov 22 10:23:31 GMT 2007


Ralf Gross schrieb:
> 
> [2007/11/20 13:43:45, 0] smbd/server.c:allowable_number_of_smbd_processes(220)
>   allowable_number_of_smbd_processes: number of processes (501) is over allowed limit (500)
> [2007/11/20 13:54:00, 0] smbd/server.c:allowable_number_of_smbd_processes(220)
>   allowable_number_of_smbd_processes: number of processes (501) is over allowed limit (500)
> [2007/11/20 14:04:57, 0] lib/util_sock.c:get_peer_addr(1229)
>   getpeername failed. Error was Der Socket ist nicht verbunden
> [2007/11/20 14:42:56, 0] smbd/server.c:allowable_number_of_smbd_processes(220)
>   allowable_number_of_smbd_processes: number of processes (501) is over allowed limit (500)
> [2007/11/20 14:51:21, 0] lib/util_sock.c:get_peer_addr(1229)
>   getpeername failed. Error was Der Socket ist nicht verbunden
> 
> I've the following in my smb.conf:
> 
> max smbd processes = 500
> deadtime = 15
> 
> [...]
> # smbstatus -p -b | wc -l
> 60
> 
> # ps -eLf | grep smbd | wc -l
> 58
> 
> # pgrep -lf smbd | wc -l
> 57
> 
> # netstat -tunp | grep smb | wc -l
> 55
> 
> # ps aux | grep nmbd | wc -l
> 1
> 
> 
> So my questions are:
> 
> * why is smbd complaining about >500 processes if only 74 are running?
> * how can I check what the resason for the message/number of proecesses is?

I searched samba's bug db, but didn't find anything with
allowable_number_of_smbd_processes as search term. A search in the
lists archive also returned only my own posting as result.

Am I misinterpreting the 'max smnd processes' option?

Ralf


More information about the samba mailing list