Operating System - HP-UX
1822081 Members
3533 Online
109640 Solutions
New Discussion юеВ

Not enough Memory available

 
SOLVED
Go to solution
VVS
Regular Advisor

Not enough Memory available

Hi All,

We are facing serious problem. We are not able to fire any command on the our HP-UX 11.11 server.
It display following message:
"/usr/bin/sh: The fork function failed. There is not enough memory available."
Not a single command work.

Please help to solve this issue.

Thanks in Advance


VVS
Work is life, you know, and without it, there's nothing but fear and insecurity.
7 REPLIES 7
Johnson Punniyalingam
Honored Contributor
Solution

Re: Not enough Memory available

bdf --> look for any file system full,

uptime

Glance --> check which process uses cpu resource.?

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
VVS
Regular Advisor

Re: Not enough Memory available

Hi

Before some time I executed the BDF command and found that no filesystem was full.

But now I am not able to execute a single command, not even bdf, uptime, w.

I am not able to telnet the server to take another terminal.

Regards,

VVS
Work is life, you know, and without it, there's nothing but fear and insecurity.
Johnson Punniyalingam
Honored Contributor

Re: Not enough Memory available

>>I am not able to telnet the server to take another terminal<<

Looks to me like system resources full can please direct / Console login to the system

swapinfo -ta --> post the output
need to check kernel parameters like shared memory.

if your swap utilization does seem to hit 100%.

Create a logical volume (Make sure you have atleast 4 GB of space in any volume group)

Follow as example :-

#lvcreate -n swap -L 4000 vg01
Edit /etc/fstab and place the entry
/dev/vg01/swap ... swap pri=0 0 0
#swapon -a

#swapinfo -t

and make sure you have the swap listed.
Problems are common to all, but attitude makes the difference
Aneesh Mohan
Honored Contributor

Re: Not enough Memory available

It could be related to insufficient memory.

check
#swapinfo -tam

and

system process limit

#kmtune |grep maxuprc


Regds,
Aneesh
VVS
Regular Advisor

Re: Not enough Memory available

Hi Johnson,

I tried Console login but also fails and showing following error
" PID 7508 received a SIGSEGV for stack growth failure. Possible causes : insufficient memory or swap spacw, or stak size exceeded maxsize."

But now I am able to extend the swap by 4GB.
and it works.

Now the system working properly

Thanks for quick support..

Regards,

VVS
Work is life, you know, and without it, there's nothing but fear and insecurity.
Johnson Punniyalingam
Honored Contributor

Re: Not enough Memory available

Thanks for your reply

Please asign points dude,

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
VVS
Regular Advisor

Re: Not enough Memory available

Thanks Johnson...

I already assign the points.

I know you have given your valuable time to provide the solution.

Thanks & Regards,

VVS
Work is life, you know, and without it, there's nothing but fear and insecurity.