Operating System - HP-UX
1752782 Members
6138 Online
108789 Solutions
New Discussion юеВ

Re: possible stack overflow?

 
SOLVED
Go to solution
Jonathan Grymes
Frequent Advisor

possible stack overflow?

All,
Had an issue with a server (snippet from the syslog is attached). Is there a way to determine what caused this issue? Basically locked the system up.

System is an HP Integrity rx2620. 1 processor

Sep 28 19:10:02 fgexsh41 vmunix: Deferred swap reservation failure pid: 22658
Sep 28 19:10:02 fgexsh41 vmunix:
Sep 28 19:10:02 fgexsh41 vmunix: Pid 22658 was killed due to failure in writing the signal context- possible stack overflow.
Sep 28 19:10:02 fgexsh41 vmunix: Deferred swap reservation failure pid: 22658
Sep 28 19:22:33 fgexsh41 vmunix: Warning: Ignoring setuid/setgid bit on "/h/EC/progs/debx_env_launch" as the system tunable "secure_sid_scripts" is s
et.
Sep 28 19:27:17 fgexsh41 vmunix: Deferred swap reservation failure pid: 23914
Sep 28 19:27:17 fgexsh41 vmunix:
Sep 28 19:27:17 fgexsh41 vmunix: Pid 23914 was killed due to failure in writing the signal context- possible stack overflow.
Sep 28 19:27:17 fgexsh41 vmunix: Deferred swap reservation failure pid: 23914
Sep 28 19:33:34 fgexsh41 above message repeats 2 times
Sep 28 19:38:00 fgexsh41 syslog: clnt_dg_create: out of memory
Sep 28 19:51:28 fgexsh41 vmunix: Deferred swap reservation failure pid: 26610
Sep 28 19:51:28 fgexsh41 vmunix:
Sep 28 19:51:28 fgexsh41 vmunix: Pid 26610 was killed due to failure in writing the signal context- possible stack overflow.
Sep 28 19:51:28 fgexsh41 vmunix: Deferred swap reservation failure pid: 26610
Sep 28 19:59:39 fgexsh41 vmunix: Deferred swap reservation failure pid: 27676
Sep 28 20:04:44 fgexsh41 vmunix: Warning: Ignoring setuid/setgid bit on "/h/EC/progs/debx_env_launch" as the system tunable "secure_sid_scripts" is s
et.
Sep 28 20:04:45 fgexsh41 vmunix: Deferred swap reservation failure pid: 27864
4 REPLIES 4
Patrick Wallek
Honored Contributor
Solution

Re: possible stack overflow?

Basically the system could not reserve any swap space for new processes because none was available.

How much RAM does the system have? Please post the output of 'swapinfo -tam'.
Jonathan Grymes
Frequent Advisor

Re: possible stack overflow?

# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 856 3240 21% 0 - 1 /dev/vg00/lvol2
reserve - 1961 -1961
memory 2028 1509 519 74%
total 6124 4326 1798 71% - 0 -
#
Dennis Handly
Acclaimed Contributor

Re: possible stack overflow?

You could have a recursive stack overflow due to coding mistakes.

But all of the other errors makes it look like you are out of swap when it happens.
Add more memory or swap.

Dennis Handly
Acclaimed Contributor

Re: possible stack overflow?

>And more memory or swap.

If not obvious, I should have said: Add more memory or swap.