Re: Sporadious hang on 2.0.3[0,1,2,3,4pre2]

Mr LEROY christophe (leroy@meg.fr)
Mon 09 Mar 16:29:20 1998 (MET)


Here is the state of my PPRO running linux 2.0.33 just before the crash Sun 3:33
As you can see, most process are swapped off, swap space used is very important.
It seems that something is eating memory little by little

I'll find after that state, the state it was when i left friday night

/proc/interrupts
0: 15223988 timer
1: 45566 keyboard
2: 0 cascade
4: 215 + serial
5: 1 sound blaster
7: 0 + wdt501p
10: 1050444 Intel EtherExpress Pro 10/100 Ethernet
11: 3450173 aic7xxx, Intel EtherExpress Pro 10/100 Ethernet
12: 302577 PS/2 Mouse
13: 1 math error
15: 0 + ide1

/proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 64495616 63864832 630784 1757184 274432 614400
Swap: 164495360 35438592 129056768
MemTotal: 62984 kB
MemFree: 616 kB
MemShared: 1716 kB
Buffers: 268 kB
Cached: 600 kB
SwapTotal: 160640 kB
SwapFree: 126032 kB

/proc/sys/vm/bdflush
40 500 64 64 15 3000 500 1884 2

/proc/sys/vm/freepages
152 228 304

/proc/sys/vm/kswapd
4 -1 -1 -1 -1

/proc/sys/vm/swapctl
20 3 1 3 10 2 2 4 32 4
8192 8192 -200 1 1 0

ps -auwx
USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
daemon 107 0.0 0.0 848 0 ? SW Mar 6 0:03 (portmap)
daemon 130 0.0 0.0 1036 0 ? SW Mar 6 0:00 (lpd)
nobody 188 0.0 0.0 22596 52 ? D Mar 6 1:53 bin/squid
nobody 194 0.0 0.0 824 0 ? SW Mar 6 0:02 (in.tproxyd)
nobody 214 0.0 0.0 944 0 ? SW Mar 6 0:00 (dnsserver)
nobody 215 0.0 0.0 944 0 ? SW Mar 6 0:00 (dnsserver)
nobody 216 0.0 0.0 940 0 ? SW Mar 6 0:00 (dnsserver)
nobody 217 0.0 0.0 940 0 ? SW Mar 6 0:00 (dnsserver)
nobody 218 0.0 0.0 940 0 ? SW Mar 6 0:00 (dnsserver)
nobody 219 0.0 0.0 1064 0 ? SW Mar 6 0:00 (ftpget)
nobody 220 0.0 0.0 800 0 ? SW Mar 6 0:00 (unlinkd)
nobody 20805 0.0 0.0 1036 0 ? SW 15:22 0:00 (nwconn)
root 1 0.0 0.0 824 0 ? SW Mar 6 0:23 (init)
root 2 0.0 0.0 0 0 ? SW Mar 6 0:15 (kflushd)
root 3 0.0 0.0 0 0 ? SW< Mar 6 0:13 (kswapd)
root 4 0.0 0.0 0 0 ? SW Mar 6 0:00 (nfsiod)
root 5 0.0 0.0 0 0 ? SW Mar 6 0:00 (nfsiod)
root 6 0.0 0.0 0 0 ? SW Mar 6 0:00 (nfsiod)
root 7 0.0 0.0 0 0 ? SW Mar 6 0:00 (nfsiod)
root 12 0.0 0.0 800 4 ? S Mar 6 0:20 (update)
root 45 0.0 0.0 908 4 ? S Mar 6 0:07 (watchdog)
root 81 0.0 0.0 296 52 ? S Mar 6 1:04 syslogd
root 83 0.0 0.0 384 36 ? S Mar 6 0:11 klogd -c 1
root 109 0.0 0.0 832 0 ? SW Mar 6 0:00 (inetd)
root 111 0.0 0.0 848 0 ? SW Mar 6 0:03 (routed)
root 118 0.0 0.0 2040 0 ? SW Mar 6 0:29 (named)
root 122 0.0 0.0 884 44 ? S Mar 6 0:02 rpc.mountd
root 124 0.0 0.1 924 68 ? S Mar 6 0:02 rpc.nfsd
root 128 0.0 0.0 836 16 ? S Mar 6 0:01 (cron)
root 137 0.0 0.0 1268 0 ? SW Mar 6 0:01 (sendmail)
root 151 0.0 0.0 812 0 ? SW Mar 6 0:11 (http_account)
root 153 0.0 0.0 1816 48 ? S Mar 6 0:48 /usr/local/bin/tcpdum
p -l -p -i eth0 tcp
root 155 0.0 0.1 1684 96 ? S Mar 6 0:00 (httpd)
root 171 0.0 0.0 1136 0 ? SW Mar 6 0:00 (safe_mysqld)
root 183 0.0 0.0 2904 12 ? D Mar 6 0:01 (mysqld)
root 197 0.0 0.0 804 0 ? SW Mar 6 0:00 (selection)
root 210 0.0 0.0 812 0 4 SW Mar 6 0:00 (agetty)
root 211 0.0 0.0 872 0 ? SW Mar 6 0:00 (mgetty)
root 212 0.0 0.0 2904 12 ? D Mar 6 0:02 (mysqld)
root 213 0.0 0.0 2904 12 ? S Mar 6 0:05 (mysqld)
root 221 0.0 0.0 2060 0 ? SW Mar 6 0:00 (xdm)
root 2008 0.0 0.2 864 136 ? S Mar 6 0:37 nwserv
root 2009 0.0 0.0 2680 0 ? SW Mar 6 0:00 (nwbind)
root 2010 0.0 0.0 836 0 ? SW Mar 6 0:00 (ncpserv)
root 17587 0.0 0.0 1136 0 ? SW Mar 6 0:52 (cherche)
root 17943 0.0 0.0 812 0 2 SW Mar 6 0:00 (agetty)
root 17944 0.0 0.0 812 0 3 SW Mar 6 0:00 (agetty)
root 17967 0.0 0.0 812 0 1 SW Mar 6 0:00 (agetty)
root 21848 0.0 0.0 836 8 ? S 02:55 0:00 (cron)
root 21850 0.4 0.2 2740 152 ? D 02:55 0:07 perl /usr/local/etc/m
rtg/mrtg /usr/local/etc/mrtg/mrtg.cfg
root 21953 0.0 0.0 836 16 ? S 03:00 0:00 (cron)
root 21954 0.0 0.0 836 24 ? S 03:00 0:00 (cron)
root 21956 0.0 0.0 1124 0 ? SW 03:00 0:00 (sh)
root 21957 0.4 0.2 2728 176 ? D 03:00 0:06 perl /usr/local/etc/m
rtg/mrtg /usr/local/etc/mrtg/mrtg.cfg
root 21960 0.0 0.0 1048 0 ? SW 03:00 0:00 (parc)
root 21965 0.2 0.0 2904 12 ? D 03:00 0:03 (mysqld)
root 22027 0.0 0.0 836 8 ? S 03:05 0:00 (cron)
root 22029 0.4 0.2 2540 128 ? D 03:05 0:04 perl /usr/local/etc/m
rtg/mrtg /usr/local/etc/mrtg/mrtg.cfg
root 22087 0.0 0.0 836 16 ? S 03:10 0:00 (cron)
root 22088 0.0 0.0 836 16 ? S 03:10 0:00 (cron)
root 22090 0.0 0.0 1124 0 ? SW 03:10 0:00 (sh)
root 22092 0.4 0.1 2336 124 ? D 03:10 0:03 perl /usr/local/etc/m
rtg/mrtg /usr/local/etc/mrtg/mrtg.cfg
root 22094 0.0 0.0 1024 0 ? SW 03:10 0:00 (parc)
root 22116 0.1 0.0 2904 8 ? D 03:12 0:01 (mysqld)
root 22142 0.0 0.0 836 8 ? S 03:15 0:00 (cron)
root 22144 0.4 0.2 1764 152 ? D 03:15 0:02 perl /usr/local/etc/m
rtg/mrtg /usr/local/etc/mrtg/mrtg.cfg
root 22190 0.0 0.0 836 16 ? S 03:20 0:00 (cron)
root 22191 0.0 0.0 836 28 ? S 03:20 0:00 (cron)
root 22193 0.0 0.0 1124 0 ? SW 03:20 0:00 (sh)
root 22194 0.4 0.2 1508 140 ? D 03:20 0:01 perl /usr/local/etc/m
rtg/mrtg /usr/local/etc/mrtg/mrtg.cfg
root 22198 0.1 0.0 1020 0 ? SW 03:20 0:00 (parc)
root 22229 0.0 0.2 832 132 ? D 03:24 0:00 (cron)
root 22234 1.5 0.5 896 332 ? R 03:24 0:00 ps -auwx
webadm 5451 0.0 0.1 1772 96 ? S Mar 6 0:00 (httpd)
webadm 5679 0.0 0.1 1784 92 ? S Mar 6 0:00 (httpd)
webadm 5764 0.0 0.1 1784 92 ? S Mar 6 0:00 (httpd)
webadm 6489 0.0 0.1 1784 92 ? S Mar 6 0:00 (httpd)
webadm 27360 0.0 0.1 1772 96 ? S 06:39 0:00 (httpd)

Friday night state:

/proc/interrupts
0: 2844125 timer
1: 44667 keyboard
2: 0 cascade
4: 75 + serial
5: 1 sound blaster
7: 0 + wdt501p
10: 382361 Intel EtherExpress Pro 10/100 Ethernet
11: 816512 aic7xxx, Intel EtherExpress Pro 10/100 Ethernet
12: 302577 PS/2 Mouse
13: 1 math error
15: 0 + ide1

/proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 64495616 63389696 1105920 12206080 5935104 17993728
Swap: 164495360 5140480 159354880
MemTotal: 62984 kB
MemFree: 1080 kB
MemShared: 11920 kB
Buffers: 5796 kB
Cached: 17572 kB
SwapTotal: 160640 kB
SwapFree: 155620 kB

/proc/sys/vm/bdflush
40 500 64 64 15 3000 500 1884 2

/proc/sys/vm/freepages
152 228 304

/proc/sys/vm/kswapd
4 -1 -1 -1 -1

/proc/sys/vm/swapctl
20 3 1 3 10 2 2 4 32 4
8192 8192 -200 1 1 0

ps -auwx
USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
daemon 107 0.0 0.4 848 260 ? S 09:07 0:00 portmap
daemon 130 0.0 0.2 1036 172 ? S 09:07 0:00 /sbin/lpd
delarbre 14813 0.0 0.8 1076 512 ? S 15:32 0:00 nwconn 2 0.9.10.2:0.0
..c0.81.4d.f6:40.4 DELARBRE
longuet 13222 0.0 0.9 1084 580 ? S 14:43 0:01 nwconn 1 0.9.10.2:0.0
..c0.29.93.f6:40.4 LONGUET
nobody 188 0.3 29.0 20184 18288 ? S 09:07 1:31 bin/squid
nobody 194 0.0 0.2 824 128 ? S 09:07 0:01 /sbin/in.tproxyd -s 8
1 -r nobody meg.meg.fr 3128
nobody 214 0.0 0.3 944 240 ? S 09:07 0:00 (dnsserver)
nobody 215 0.0 0.2 944 180 ? S 09:07 0:00 (dnsserver)
nobody 216 0.0 0.0 940 48 ? S 09:07 0:00 (dnsserver)
nobody 217 0.0 0.1 940 80 ? S 09:07 0:00 (dnsserver)
nobody 218 0.0 0.0 940 44 ? S 09:07 0:00 (dnsserver)
nobody 219 0.0 0.1 1064 72 ? S 09:07 0:00 (ftpget)
nobody 220 0.0 0.0 800 20 ? S 09:07 0:00 (unlinkd)
root 1 0.0 0.2 824 172 ? S 09:06 0:20 init [3]
root 2 0.0 0.0 0 0 ? SW 09:06 0:03 (kflushd)
root 3 0.0 0.0 0 0 ? SW< 09:06 0:00 (kswapd)
root 4 0.0 0.0 0 0 ? SW 09:06 0:00 (nfsiod)
root 5 0.0 0.0 0 0 ? SW 09:06 0:00 (nfsiod)
root 6 0.0 0.0 0 0 ? SW 09:06 0:00 (nfsiod)
root 7 0.0 0.0 0 0 ? SW 09:06 0:00 (nfsiod)
root 12 0.0 0.1 800 108 ? S 09:06 0:04 /sbin/update
root 45 0.0 0.2 908 184 ? S 09:06 0:00 /sbin/watchdog
root 81 0.1 0.1 296 120 ? S 09:07 0:38 syslogd
root 83 0.0 0.1 384 80 ? S 09:07 0:01 klogd -c 1
root 109 0.0 0.4 832 288 ? S 09:07 0:00 inetd
root 111 0.0 0.2 848 164 ? S 09:07 0:00 routed -g
root 118 0.0 1.6 1876 1068 ? S 09:07 0:07 /usr/sbin/named
root 122 0.0 0.5 884 332 ? S 09:07 0:00 rpc.mountd
root 124 0.0 0.4 916 288 ? S 09:07 0:00 rpc.nfsd
root 128 0.0 0.2 836 188 ? S 09:07 0:00 /sbin/cron
root 137 0.0 0.7 1268 452 ? S 09:07 0:00 sendmail: accepting c
onnections on port 25
root 151 0.0 0.3 812 196 ? S 09:07 0:08 /usr/local/bin/http_a
ccount
root 153 0.0 1.0 1768 660 ? S 09:07 0:28 /usr/local/bin/tcpdum
p -l -p -i eth0 tcp
root 155 0.0 0.5 1684 328 ? S 09:07 0:00 /usr/sbin/httpd
root 171 0.0 0.3 1136 228 ? S 09:07 0:00 (safe_mysqld)
root 183 0.0 1.0 2736 636 ? S 09:07 0:00 /usr/local/mysql/bin/
mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --skip-locking
root 197 0.0 0.1 804 92 ? S 09:07 0:00 /bin/selection -t ps2

root 207 0.0 0.8 1172 508 1 S 09:07 0:00 -bash
root 208 0.0 0.0 812 60 2 S 09:07 0:00 (agetty)
root 209 0.0 0.0 812 44 3 S 09:07 0:00 (agetty)
root 210 0.0 0.0 812 40 4 S 09:07 0:00 (agetty)
root 211 0.0 0.3 872 204 ? S 09:07 0:00 /sbin/mgetty ttyS0 li
nux -i /etc/issue.ttyS0 -p @ login:
root 212 0.0 1.0 2736 636 ? S 09:07 0:00 /usr/local/mysql/bin/
mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --skip-locking
root 213 0.0 1.0 2736 636 ? S 09:07 0:01 /usr/local/mysql/bin/
mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --skip-locking
root 221 0.0 0.4 2060 280 ? S 09:07 0:00 /usr/bin/X11/xdm
root 2008 0.0 0.4 864 292 ? S 10:02 0:06 nwserv
root 2009 0.0 1.9 2680 1220 ? S 10:02 0:00 nwbind MASTDS c2.6.85
..da:0.0.0.0.0.1:4.51 4002
root 2010 0.0 0.3 836 216 ? S 10:02 0:00 ncpserv MASTDS c2.6.8
5.da:0.0.0.0.0.1:4.51 4002 4000
root 17533 0.0 0.3 836 224 ? S 17:00 0:00 /SBIN/CRON
root 17536 9.4 3.6 2752 2288 ? S 17:00 0:02 perl /usr/local/etc/m
rtg/mrtg /usr/local/etc/mrtg/mrtg.cfg
root 17587 4.0 0.8 1136 520 1 S 17:00 0:00 sh ./cherche
root 17592 0.0 0.5 872 372 1 R 17:00 0:00 ps -auwx
root 17593 0.0 0.7 1092 456 ? R 17:00 0:00 /usr/local/etc/mrtg//
rateup /home/testweb/mrtg/ switch2.14 889200004 u 785959471 3538675282 1250000 c
webadm 16007 0.0 1.0 1784 688 ? S 16:18 0:00 /usr/sbin/httpd
webadm 16137 0.0 1.0 1772 672 ? S 16:22 0:00 /usr/sbin/httpd
webadm 16138 0.0 1.0 1784 688 ? S 16:22 0:00 /usr/sbin/httpd
webadm 16172 0.0 1.0 1772 668 ? S 16:24 0:00 /usr/sbin/httpd
webadm 16264 0.0 1.0 1784 676 ? S 16:25 0:00 /usr/sbin/httpd

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu