Operating System - HP-UX
1752809 Members
5804 Online
108789 Solutions
New Discussion юеВ

sshd[1363]: error: fork: Not enough space

 
Mallikarjun B
Occasional Advisor

sshd[1363]: error: fork: Not enough space

Hi i am getting this error and server responce is very slow in hp unic
sshd[1363]: error: fork: Not enough space



Mallikarjun Belkunde
4 REPLIES 4
Horia Chirculescu
Honored Contributor

Re: sshd[1363]: error: fork: Not enough space

Maybe you have problems with your memory utilization?

How does the output of

swapinfo -tam

looks like?

Maybe you have high memory utilization at that time. Check your swap size.

Best regards,
Horia.
Best regards from Romania,
Horia.
rariasn
Honored Contributor

Re: sshd[1363]: error: fork: Not enough space

Hi,

First your RAM, then the swap got full. Check the space available using swapinfo and check if there is any user application causing huge memory leaks. Increase swap
space.

It could also be kernel parameters, especially maxuprc and nproc.

rgs,
Dennis Handly
Acclaimed Contributor

Re: sshd[1363]: error: fork: Not enough space

Are you trying to run too many processes?
What HP-UX version are you using?
Do you have pseudo-swap turned on?
Bill Hassell
Honored Contributor

Re: sshd[1363]: error: fork: Not enough space

> sshd[1363]: error: fork: Not enough space

You are out of memory and swap space. Your system is too small to handle all the current processes. You can add 5-10 GB of swap space and ti should start working.

> server responce is very slow

This would be quite normal if you have run out of RAM. The system is thrashing badly between RAM and swap space, trying to find room for processes. Run the commands:

swapinfo -tam
vmstat

For swapinfo, the percentage on last line indicates RAM and swap space usage. Anything above 80% or so means you need a lot more swapspace and possibly a lot more RAM. For vmstat, the column marked po (page out) should be single digits (0-9). Double and triple digits indicate that your system is starved for memory.


Bill Hassell, sysadmin