Operating System - HP-UX
1833013 Members
1945 Online
110048 Solutions
New Discussion

insufficient memory or swap space

 
SOLVED
Go to solution
nagendra_3
Advisor

insufficient memory or swap space

Hi,
OS 11.0
When i tried to view a file i got the following error.
Pid 12989 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz.
Memory fault

ANY IDEA WHY THIS IS OCCURING.
i am very much inetsted to know , as we are having some problems with one of our applications installed on HP-UX. So wondering if this is some thing to do with the Operation system.

Any information would be of GREATEST help to us
Cheers,
Nag
Knowledge is Power
6 REPLIES 6
Jeff Schussele
Honored Contributor

Re: insufficient memory or swap space

Hi nagendra,

Appears you may need to increase the maxssiz kernel parameter.
Value can be between 0 - 655360 pages & I believe the default is 2048.
And yes this could be causing your app problems.
Also IF your swap does not at least equal the amount of RAM in the system - it should be brought up to match.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
James R. Ferguson
Acclaimed Contributor

Re: insufficient memory or swap space

Hi:

Have a look (first) at your swap utilization:

# swapinfo -tam

Regards!

...JRF...
S.K. Chan
Honored Contributor

Re: insufficient memory or swap space

Run glance on one window and repeat the "view file" action that causes the failure, that way you can determine for sure what resources are exhauted on your system. Is there any core dump ?
Sandip Ghosh
Honored Contributor

Re: insufficient memory or swap space

Can you provide us the minimum data required to look into the problem

1. Type of server.
2. Amount of Memory
3. Swapinfo -tm
4. Kernel Parameters.

And the size of the file you want to view.

Sandip
Good Luck!!!
Helen French
Honored Contributor
Solution

Re: insufficient memory or swap space

Hi Nag:

Some points:

1) Check the memory:swap ratio. You have to check the swap usage with either glance or swapinfo -t. Check and make sure that it is not running out of resources.

2) Check the total system usage with glance and find out if anything wrong.

3) Check the kernel parameters which depend on swap and memory utilization. Increase if needed.

4) If you have done a kernel rebuilding and not yet restarted the system, the same error can occur. So reboot the system, if that is the case.

HTH,
Shiju
Life is a promise, fulfill it!
nagendra_3
Advisor

Re: insufficient memory or swap space

Hi,
Yes there is a core dump.

Actually all the problems started with the core dump.
I found a core dump in the log files of my appilcation.
can i get any information from the core that is present in the logs files of my applications.

Many times, The connections established by the app. are not disconnected, and finally we end up starting the application , to disconnect the connections.And to get back to normal

Jeff-
How can i know about the swap.What is the value in the environment.
what is the command for it.
James-
I ran the command and found that the amount of used memory is 50%.

Thank you all very much..
Knowledge is Power