Date: Thu, 17 Apr 1997 20:00:06 +0200 (SAT) From: John Hay <jhay@zibbi.mikom.csir.co.za> To: hackers@FreeBSD.ORG (FreeBSD-hackers) Subject: news server and swap usage problem Message-ID: <199704171800.UAA02326@zibbi.mikom.csir.co.za>
next in thread | raw e-mail | index | archive | help
Hi, I've got a news server with 200MHz Pentium, 128M RAM and 4 x 2G disks. It have 256M swap spread over the four disks. I'm using INN 1.5.1. The machine isn't very busy, with 2 feeds coming in (getting only about 220k articles per day) and seldom more than 25 readers. I had been running 2.2-ALPHA for 3 months with no problems and now for last few weeks it has started to kill innd after a while with the error: "Apr 17 18:04:23 newnews /kernel: swap_pager: out of swap space" So I upgraded to 2.2-stable yesterday, but it did not help. I could not believe that it run out of swap, because normally it only use between 5 and 40M out of the possible 256M, so I configured an extra 128M swapfile with vnconfig. This afternoon it happened again and for the first time I had top running and was looking at it while it happend. The swap usage climed from 2% usage till 100% usage in a matter of minutes, but top did not show who was using it. The machine then practicaly halted for almost an hour before it killed inn and things returned to normal. Have anybody seen something like this before? ========== last pid: 9252; load averages: 0.67, 0.50, 0.39 18:04:27 31 processes: 3 running, 28 sleeping CPU states: 9.2% user, 0.6% nice, 16.8% system, 1.6% interrupt, 71.9% idle Mem: 61M Active, 34M Inact, 19M Wired, 8720K Cache, 8345K Buf, 616K Free Swap: 381M Total, 381M Used, 100K Free, 100% Inuse, 164K In, 4596K Out PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 181 news 31 0 64M 26M RUN 39:06 15.75% 15.75% innd 198 news 2 4 720K 628K select 3:46 1.26% 1.26% innfeed 9252 news 2 4 452K 1428K select 0:00 1.62% 0.69% nnrpd 193 jhay 18 0 640K 0K pause 0:00 0.00% 0.00% <tcsh> 9232 jhay 18 0 640K 0K pause 0:00 0.00% 0.00% <tcsh> 199 root 18 0 436K 0K pause 0:00 0.00% 0.00% <csh> 112 root 18 0 332K 0K pause 0:00 0.00% 0.00% <cron> 9155 news 18 0 168K 0K pause 0:00 0.00% 0.00% <sleep> 184 news 10 0 504K 0K wait 0:11 0.00% 0.00% <sh> 182 news 10 0 484K 0K wait 0:00 0.00% 0.00% <sh> 1 root 10 0 372K 0K wait 0:00 0.00% 0.00% <init> 202 root 3 0 664K 0K ttyin 0:00 0.00% 0.00% <tcsh> 189 root 3 0 164K 0K ttyin 0:00 0.00% 0.00% <getty> 190 root 3 0 164K 0K ttyin 0:00 0.00% 0.00% <getty> 188 root 3 0 164K 0K ttyin 0:00 0.00% 0.00% <getty> 9230 root 2 0 360K 248K select 0:00 0.00% 0.00% sshd 8880 news 2 4 464K 236K select 0:00 0.00% 0.00% nnrpd 76 root 2 0 204K 236K select 0:02 0.00% 0.00% syslogd 85 root 2 -12 416K 228K select 0:02 0.00% 0.00% xntpd 143 root 2 0 576K 120K select 0:02 0.00% 0.00% snmpd 116 root 2 0 528K 0K accept 0:00 0.00% 0.00% <sendmail> 8439 news 2 4 468K 0K select 0:01 0.00% 0.00% <nnrpd> 8460 news 2 4 464K 0K select 0:01 0.00% 0.00% <nnrpd> 7233 news 2 4 460K 0K select 0:01 0.00% 0.00% <nnrpd> 8454 news 2 4 460K 0K select 0:02 0.00% 0.00% <nnrpd> 7767 news 2 4 456K 0K select 0:00 0.00% 0.00% <nnrpd> 191 root 2 0 348K 0K select 0:09 0.00% 0.00% <sshd> 150 root 2 0 332K 0K accept 0:06 0.00% 0.00% <sshd> 110 root 2 0 192K 0K select 0:00 0.00% 0.00% <inetd> 196 news 38 4 152K 120K RUN 1:23 0.00% 0.00% overchan 9238 jhay 28 0 312K 396K RUN 0:01 0.00% 0.00% top 150 root 2 0 332K 0K accept 0:06 0.00% 0.00% <sshd> 110 root 2 0 192K 0K select 0:00 0.00% 0.00% <inetd> 196 news 38 4 152K 120K RUN 1:23 0.00% 0.00% overchan 9238 jhay 28 0 312K 396K RUN 0:01 0.00% 0.00% top ======== John -- John Hay -- John.Hay@mikom.csir.co.za
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704171800.UAA02326>