- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba Limiting connections.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 03:36 PM
08-08-2004 03:36 PM
Samba Limiting connections.
Now comes the fun part, I have adjusted the smb.conf file in /usr/local/samba/lib to include the control parameters max connection and max session. The problem is, even thou I have increased these variables to quite large numbers, the server is still capping our users at 16. But the interesting thing is, if I set the above parameters is 3, it will cap out users of samba at 3, but increase above 16 and it caps at 16. Is there something I am missing?????
Our smb.conf file's global configuration is as below....
[global]
netbios name = RP5430
workgroup = WORKGROUP
server string = Samba Server
security = share
update encrypted = Yes
syslog = 0
log file = /var/opt/samba/log.%m
max log size = 50
guest account = pcguest
writeable = Yes
max connections = 100
max smbd processes = 100
hosts allow = 192.8.8.
dos filetime resolution = Yes
[BP.START]
comment = BP.START
path = /user/ult/UA/BP.START
public = Yes
guest ok = Yes
guest account = pcguest
hosts allow = 192.8.8.
Any thoughts would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 03:47 PM
08-08-2004 03:47 PM
Re: Samba Limiting connections.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 04:05 PM
08-08-2004 04:05 PM
Re: Samba Limiting connections.
NUM_NFSD=16
NUM_NFSIOD=16
I have changed these values to 26 (as a test), the question now is, there is no nfsd process running, only a nfskd, is that the same one.??.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 04:10 PM
08-08-2004 04:10 PM
Re: Samba Limiting connections.
NFS_CLIENT=1
NFS_SERVER=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 04:15 PM - last edited on 07-07-2022 04:17 AM by Sunitha_Mod
08-08-2004 04:15 PM - last edited on 07-07-2022 04:17 AM by Sunitha_Mod
Re: Samba Limiting connections.
Michael,
Are you trying to get NFS to take the fall for a Samba/CIFS problem now?
NFS has nothing to do with Samba on the server. On the client system, the HP CIFS Client product does leverage some of the NFS client RPC procedures to work its magic, but that shouldn't limit anything to do with the smbds or smbd connections associated with servicing CIFS connections on the server.
Jamie - the nfskd daemon does absolutely nothing on the HP-UX server. It is a daemon that was originally intended to serve as a holding process for NFS kernel threads that service NFS requests arriving via UDP. However, we decided to continue servicing NFS/UDP requests via the user-space nfsd daemons and haven't converted to kernel threads for UDP requests. Bottom line, the nfskd process doesn nothing, but don't try to terminate it.
We will be moving to kernel threads servicing NFS/UDP requests in an upcoming release of HP-UX, but at that time the daemon process will be called "nfsd" as it is today (i.e. a "ps -ef" will show 1 nfsd daemon running and all UDP and TCP requests will be serviced from a pool of kernel threads).
I really don't think NFS should take the fall for this problem.
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 04:22 PM
08-08-2004 04:22 PM
Re: Samba Limiting connections.
Regarding your original problem, the "max smbd processes" parameter is a GLOBAL parameter, so you have it in the right area of the smbd.conf file.
However, the "max connections" parameter is a SHARE level parameter, so I doubt it will take effect unless it is defined within the area of the specific share that you're trying to limit access to.
Try moving this parameter down into the share definition and see if it makes a difference.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2004 04:41 PM
08-08-2004 04:41 PM
Re: Samba Limiting connections.
I did say in my first reply:
"I've never really looked at this problem"
Sorry I couldn't help further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 01:14 AM
08-09-2004 01:14 AM
Re: Samba Limiting connections.
It would be useful to know which version of CIFS/Samba you are running.
The docs for versions of CIFS from A.01.08 and above suggests that kernel parm changes can be required. It might be worth checking these.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 01:38 AM
08-09-2004 01:38 AM
Re: Samba Limiting connections.
Check the following document.
http://www.oreilly.com/catalog/samba/chapter/book/appc_01.html
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 01:50 AM
08-09-2004 01:50 AM
Re: Samba Limiting connections.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 03:42 PM
08-09-2004 03:42 PM
Re: Samba Limiting connections.
As for the version of samba, it is 2.2.5 .
I have tried to access the swat from the browser, but get a browser error
"Samba is configured to deny access from this client
Check your "hosts allow" and "hosts deny" options in smb.conf".
I have checked the smb.conf file, as it is above, there is not hosts.deny and the hosts.allow is the range for my machine.
I am wondering is there any kernal values that could influence the samba client???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 03:47 PM
08-09-2004 03:47 PM
Re: Samba Limiting connections.
If you remove the "hosts allow" lines from the smb.conf file does Samba allow the SWAT connection to work?
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 08:59 PM
08-09-2004 08:59 PM
Re: Samba Limiting connections.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2004 08:32 PM
08-16-2004 08:32 PM