Operating System - HP-UX
1825782 Members
2139 Online
109687 Solutions
New Discussion

NPROC and MAXUSERS and impact on FTP

 
Saurabh Kapoor
Occasional Contributor

NPROC and MAXUSERS and impact on FTP

What is the significance of kernel parameters nproc and maxusers.
I am trying to do an ftp from one unix machine?(HPUX 10.20) to another unix server but I get a message failed to allocate resources.
ANy hints will be appreciated.
-Saurabh
3 REPLIES 3
Alan Riggs
Honored Contributor

Re: NPROC and MAXUSERS and impact on FTP

nproc is teh maximum number of processes allowed for a system. You can view the system tables with sar -v or glance to see whether you are nearing this limit. You should also see a message on the system console (or syslog.log) if you hit this limit.

maxusers is the expected number of peak users on the system. It is not a hard limit (i.e. if set to 200 that does not mean user 201 will be rejected). It is simply used as a basis from which to calculate the allocation of other system resources (nproc, nfile, ninode, ncallout).
Ravi_8
Honored Contributor

Re: NPROC and MAXUSERS and impact on FTP

saurabh
nproc & maxusers parameters nothing to do with the ftp. maxusers is the softlimit on number of users that can login and nproc is the maximum mumber of processors by the system.
for ftp is concerned check SAM -->Networking & communication -->Network services, check ftp is enabled or not. if enabled can u post the error that ftp gives.


later
ravi
never give up
CHRIS_ANORUO
Honored Contributor

Re: NPROC and MAXUSERS and impact on FTP

The maxusers kernel parameter item has a kind of macro that nproc, nfile, nflock, and ninode rely on. The ftp problem is as a result of low values of npty and nstrpty.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.