I had an odd thing happen yesterday that I've never seen. Here's the info from /var/log/messages: Jun 30 11:06:22 kt /kernel: swap_pager_getswapspace: failed Jun 30 11:06:23 kt last message repeated 26 times Jun 30 11:07:27 kt last message repeated 25 times Jun 30 11:12:23 kt last message repeated 44 times Jun 30 11:12:23 kt /kernel: pid 876 (opera), uid 1001, was killed: out of swap space Eventually things got worse. I tried to switch to another workspace and lost 4 out of 7 workspaces. The applications that were there were still running. After manually killing the processes, I rebooted and things returned to normal. I did see some discussion in the -current archives where it was thought it might be some XFree86 memory leak issues. A google search for "swap_pager_getswapspace failed 2004" turned up: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=cak3qd%24kv3%241%40FreeBSD.csie.NCTU.edu.tw&rnum=3&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26q%3Dswap_pager_getswapspace%2Bfailed%2B2004%26btnG%3DSearch%26meta%3Dgroup%253Dmailing.freebsd.*>From uname -a:4.10-STABLE FreeBSD 4.10-STABLE #0: Sat Jun 5 15:39:24 EDT 2004>From dmesg:real memory = 536805376 (524224K bytes) avail memory = 516714496 (504604K bytes)>From swapinfo:Device 1K-blocks Used Avail Capacity Type /dev/ad0s1b 1032624 304 1032320 0% Interleaved I update ports daily so everything is at the latest versions available. If this happens again, what kind of information should I collect so that it might be of value? Best regards, Randy --
On Thu, Jul 01, 2004 at 10:15:06AM -0400, Randy Pratt wrote:> I had an odd thing happen yesterday that I've never seen. Here's the > info from /var/log/messages: > > Jun 30 11:06:22 kt /kernel: swap_pager_getswapspace: failed > Jun 30 11:06:23 kt last message repeated 26 times > Jun 30 11:07:27 kt last message repeated 25 times > Jun 30 11:12:23 kt last message repeated 44 times > Jun 30 11:12:23 kt /kernel: pid 876 (opera), uid 1001, was killed: out of swap space > > Eventually things got worse. I tried to switch to another > workspace and lost 4 out of 7 workspaces. The applications that > were there were still running. After manually killing the > processes, I rebooted and things returned to normal.> If this happens again, what kind of information should I collect > so that it might be of value?Use top or ps to find out what process is using all the swap. Kris -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040701/62134e8c/attachment.bin