Operating System - HP-UX
1753783 Members
6982 Online
108799 Solutions
New Discussion юеВ

Re: fork failed: No more processes

 
OLIVA_1
Regular Advisor

fork failed: No more processes

Hello,

I have this error meesage "fork failed: No more processes" just after rebooting server (Model : 9000/800/L1500-5x ; OS : HPUX 11.11).
I have just modified "maxusers" kernel parameter from 512 to 1024 in order to increase "nproc" parameter but without success...

I would like count the process number, how can I get it ?

nproc parameter is currently set to 8212.

Thanks,
4 REPLIES 4
spex
Honored Contributor

Re: fork failed: No more processes

Hi,

# ps -e | wc -l
or
# sar -v 5 1

PCS
James R. Ferguson
Acclaimed Contributor

Re: fork failed: No more processes

Hi Oliva:

You can use 'sar -v ' or 'glance' [tottle "t" for kernel tables] to ascertain the current value of 'nproc'.

That aside, do not bother using the 'maxusers' define. It is deprecated and not really a kernel parameter. Simply set 'nproc' to an appropriate value.

Regards!

...JRF...
Jaime Bolanos Rojas.
Honored Contributor

Re: fork failed: No more processes

Hi Oliva!

It looks like you are having memory problems becuase of the "fork failed" error.
If you want to know a way to check on processes I would recommend you to get procsize, this is an unsupported utility that HP has.

If you are having problems with processes you would be getting error like table if full in syslog or dmesg.

Please send the output for swapinfo -tam and vmstat 5 20 please.

Regards,

Jaime.
Work hard when the need comes out.
OLIVA_1
Regular Advisor

Re: fork failed: No more processes

I found !!!


I have increased maxupc (max processes per user) from 100 to 400, and it is ok.

Thanks,