1836455 Members
2581 Online
110101 Solutions
New Discussion

Re: Processes limitation

 
Cerney
Occasional Advisor

Processes limitation

Hi,

Under HP-Ux v.11, i got an system error 71 on a workstation trying to connect to a SAMBA share, the message(translated) is : "Could not etablish connection to this distant host now. Maximum connection has been reached.
I check the smb.conf for "max smbd processes" and "max connections" parameters but they are set to 0 so no limitation. Nevertheless maximum smbd process seems to be 16 because any 17th station receives the error.
Is there any other system parameter to set to override this limitation ?

Thanks for help, regards
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Processes limitation

Shalom,

Could be triggered my a kernel problem.

Check
nproc
maxuprc

If you have glance, use gpm high water to see if you are hitting the limit on other kernel parameters.

Generously increase parameters that may help.

Note that this kernel change will require a recompile of the the kernel and reboot to move the kernel into production.

Also make sure the version of samba(cifs) client is current. Upgrading this will also require a reboot of the system as a kernel module is installed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Cerney
Occasional Advisor

Re: Processes limitation

For information, maxuprc is set to 300 and nproc to 1044. The top command shows an average of 130-137 processes currently running but smbd seems still precisely limited to 16.

Thanks for help and still on the track.
Cerney
Occasional Advisor

Re: Processes limitation

An other track : the file /var/opt/samba/log.smbd contains lots of messages like "rlock.tdb : no locks available" or "locking/locking.c ERROR : Failed to intialize locking database" or "locking/brlock.c : Failed to open byte range locking database".
Could it be something to deal with ?