Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 May 2001 09:18:01 -0700
From:      slaktaren <slaktaren@inexistent.dnsalias.net>
To:        freebsd-security@freebsd.org
Subject:   Re: freezing problem
Message-ID:  <00038353a99935f5_mailit@192.168.0.14>
References:  <200105021133.IAA67289@ns1.via-net-works.net.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
its happened three more times since i posted the message

May  1 21:35:10 inexistent /kernel: swap_pager_getswapspace: failed
May  1 21:35:10 inexistent last message repeated 5 times

May  2 04:20:15 inexistent /kernel: swap_pager_getswapspace: failed
May  2 04:20:15 inexistent last message repeated 159 times

May  2 04:30:15 inexistent /kernel: swap_pager_getswapspace: failed
May  2 04:30:16 inexistent last message repeated 109 times

everything had been running fine prior to putting 4.3-stable on the box... i 
dont know what changed in a sudden that causes it to eat the swap 
instantly...

in /etc/crontab i think i have what mergemaster put there for 4.3

*/5 * * * * root /usr/libexec/atrun

0 * * * * root newsyslog

1 3 * * * root periodic daily
15 4 * * 6 root periodic weekly
30 5 1 * * root periodic monthly

1,31 0-5 * * * root adjkerntz -a


in roots crontab i have four things run...
15 0 * * * /usr/local/bin/cvsup /etc/ports-supfile
*/10 * * * * /usr/local/sbin/ddupcron.sh inexistent.dnsalias.net tun0 > /dev/
null 2>&1
*/5 * * * * /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg >/dev/null 2>&1
*/60 * * * * /usr/local/bin/webalizer >/dev/null 2>&1

in another users crontab file, there is...
*/10 * * * * /home/unez/bot/botchk >/dev/null 2>&1


so theres nothing i can see that causes the swap to just get eaten 
instantly...

is there any other places to look for clues than /var/log/messages?

>Try adding more swap (on a file). Look at your crontab to see what is
>getting ran at these times.
>
>Good luck!
>
>En un mensaje anterior, slaktaren escribió:
>> since i upgraded to 4.3-stable a couple days ago, ive been having lockup 
>> problems since then...
>> about every 10 hours or so the box locks solid...
>> before it locks up though, it gets swap pager errors, ill put the lines 
>from 
>> the log file (/var/log/messages) in here, notice the times they happen...
>> 
>> Apr 30 05:00:15 inexistent /kernel: swap_pager: out of swap space
>> Apr 30 05:00:15 inexistent /kernel: swap_pager_getswapspace: failed
>> 
>> Apr 30 15:05:21 inexistent /kernel: swap_pager_getswapspace: failed
>> Apr 30 15:05:21 inexistent last message repeated 24 times
>> 
>> Apr 30 22:40:22 inexistent /kernel: swap_pager_getswapspace: failed
>> Apr 30 22:40:22 inexistent last message repeated 117 times
>> 
>> May  1 08:00:20 inexistent /kernel: swap_pager: out of swap space
>> May  1 08:00:20 inexistent /kernel: swap_pager_getswapspace: failed
>> 
>> and this is where it sits now...
>> 
>> is there an exploit that causes this or what?
>> 
>> when it locks up, the cpu usage shoots up to 100%, and the harddrive goes 
>> crazy (writing im assuming) for about 15 seconds before it locks solid.
>> 
>> the swap size in that box is 250mb... i have 96mb of ram in that box... 
but 
>> this has never caused a problem before... i think the harddrive goes like 
>> crazy cause its all of a sudden filling up the swap, then it gets too full 
>> and locks...
>> 
>> if anyway could help me as soon as possible, id really appreciate it, 
>thanks
>> 
>> --dj
>> 
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-security" in the body of the message
>> 
>
>
>
>
>Fernando P. Schapachnik
>Planificación de red y tecnología
>VIA NET.WORKS ARGENTINA S.A.
>fschapachnik@vianetworks.com.ar
>Tel.: (54-11) 4323-3381


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00038353a99935f5_mailit>