[Samba] Out of control smbd process

podge at swiftdsl.com.au podge at swiftdsl.com.au
Tue May 1 03:33:16 GMT 2007


On Tue Aug 21  9:32 , Aaron Browne  sent:

>Although I have seen this on Solaris 9 running Samba 3.0.10, we
>have recently upgraded to Solaris 10 running Samba 3.0.23a.
>
>prstat/top shows a single smbd process out of control and this
>message is flooding the log.
>
>[2006/08/14 10:14:54, 0] libsmb/nmblib.c:(1019)
>  select returned -1, errno = Invalid argument (22)
>[2006/08/14 10:14:54, 0] libsmb/nmblib.c:(1019)
>  select returned -1, errno = Invalid argument (22)
>[2006/08/14 10:14:54, 0] libsmb/nmblib.c:(1019)
>  select returned -1, errno = Invalid argument (22)
>[2006/08/14 10:14:54, 0] libsmb/nmblib.c:(1019)
>  select returned -1, errno = Invalid argument (22)
>[2006/08/14 10:14:54, 0] libsmb/nmblib.c:(1019)
>  select returned -1, errno = Invalid argument (22)
>[2006/08/14 10:14:54, 0] libsmb/nmblib.c:(1019)
>  select returned -1, errno = Invalid argument (22)
>
>Samba is supporting users coming from a Terminal Server 2000 environment
>and therefore causes a DOS for users sharing that Terminal Server
>connection to Samba.

This issue was occurring approx 2-3 times a week for us. Symptoms are as described
above. My fellow Unix admin ran a Solaris pfiles against the out of control Samba
process
and found that it had the same file open quite a number of times. Sometimes it was 50
times and other times it was more. The file that was being opened is shared
heavily amongst 
a group of users on the same server. 

On a hunch we put this entry into the share that was causing the problem.

    veto oplock files = /Menu.xls/

The issue has not come back since.

Cheers,
Aaron


More information about the samba mailing list