Operating System - HP-UX
1826341 Members
3917 Online
109692 Solutions
New Discussion

Samba - CIFS - Increase number of users session to system

 
Omar Alvi_1
Super Advisor

Samba - CIFS - Increase number of users session to system

Hi,

We have a case in which a user trying to connect (from PC) to the SAMBA shares gets the following message

Increase number of users sessions to system.

Whats the best way forward? Could it be due to some hanging or unterminated processes?

Thanks,

-Alvi
4 REPLIES 4
Darren Prior
Honored Contributor

Re: Samba - CIFS - Increase number of users session to system

Hi Alvi,

It would be useful to know your revision of Samba or CIFS.

It's possible that you've set "max smbd processes" in smb.conf to something other than 0; in which case you are limiting the number of connections. Does the problem affect any user trying to connect at this point, or just that one?

Turning the Samba log level up a little and recreating the problem may provide further info.

regards,

Darren.
Calm down. It's only ones and zeros...
Jeff Schussele
Honored Contributor

Re: Samba - CIFS - Increase number of users session to system

Hi Alvi,

This error could also indicate that you need to increase the number of NFS daemons the server is spawning.
This is controlled in the /etc/rc.config.d/nfsconf file & the standard keyword is
NUM_NFSD=XX
Default is 16, but I believe the recommendation is one for every 4 connections. So if you have more than 64 PCs accessing this share, you'll need to increase that value & bounce NFS.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Omar Alvi_1
Super Advisor

Re: Samba - CIFS - Increase number of users session to system


just found out, CIFS, Samba is what I thought they had. They in fact have the older product Advanced Server/9000 installed.

J2715BA B.03.02 Advanced Server/9000 For Server License

And the problem is intermittent and started about a month ago when the number of users accessing this server's shares increased.

I'm going through the admin's manual right now, appreciate any help. Thanks for your responses

-Alvi
Omar Alvi_1
Super Advisor

Re: Samba - CIFS - Increase number of users session to system

Till now I have found out that I can get to know the maximum no of clients configured for this Advanced Server/9000 product as follows

srvconfig -g maxclients

... and the parameter maxclients resides in a lanman.ini file.

Are there any recommendations for changing this value? Is it supposed to bec cahnged according to a formula? Are there other values that need to be changed along with it? Can I change it directly in the lanman.ini file?

Some basic help needed. Thanks

-Alvi