Operating System - HP-UX
1758718 Members
3836 Online
108874 Solutions
New Discussion юеВ

fork failed - too many proccesses

 

fork failed - too many proccesses

 
4 REPLIES 4
David_546
Occasional Advisor

Re: fork failed - too many proccesses

Hi,

I suppose that you have a problem with kernel parameters about maximun number or process running at the same time. Check kernel parameter "nproc", which define the maximun number of process running on the system and "maxuprc", which define the maximun process for an user.

Hope this help!

David.
James R. Ferguson
Acclaimed Contributor

Re: fork failed - too many proccesses

Hi Glenn:

If you are getting this failure only for a particular user, you may want to increase the 'maxuprc' kernel parameter. If this is happening for all users (system-wide), then you may want to increase 'nproc'. In either case, make sure that the overflow isn't due to a rogue application.

You can use 'sar -v' and 'glance' to monitor 'nproc' utilization.

See this document for an guide to kernel parameters:

http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html

If you need to tune parameters, use SAM (Kernel Configuration) and plan a reboot.

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: fork failed - too many proccesses

Rajeev Tyagi
Valued Contributor

Re: fork failed - too many proccesses

It means your proc table is full. You have to increase NPROC for all users and if it is giving for single user increase MAXUPRC kernel parameter. But only if it happens regularly otherwise you must investigate the reason.