No swap space to grow stack

Dear Solaris Experts,

I had a Problem with swap consumption in our Production server.
I found error message in /var/adm/message:

Aug  1 10:55:40 production genunix: [ID 470503 kern.warning] WARNING: Sorry, no swap space to grow stack for pid 29716 (oracle)

What should I do for temporary solution? I need no downtime for the temporary solution..

Really appreciate for any idea..

You can either free some virtual memory (eg: big files in tmpfs based file system) or add more swap space (swap -a xxxx). The simplest is to use a swap file.

Top 10 files|directories in /tmp:

du -sk /tmp/* /tmp/..?* | sort -nk1 | tail

Top 10 processes:

ps -eo pid,rss,vsz,comm | { read line; echo "$line"; sort -nk2 | tail; }

Should be "sort -nk3" in that case as the system was out of virtual memory, not out of RAM.

1 Like

Hi,

server is out of swap memory.

You need to increase the swap online if you have space in your volume group

Add the disk and create a swap file