hello
i am running linux 2.6.5 with a few patches (e.g. lids) ~ 70 days uptime.
a few days ago i noticed system slowdown and high memory usage. i came down to runlevel 1 and noticed, that almost all my memory is consumed. a few logs:
ps aux
Code:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 1368 376 ? S Jul26 0:20 init [S]
root 2 0.0 0.0 0 0 ? SWN Jul26 0:00 [ksoftirqd/0]
root 3 0.0 0.0 0 0 ? SW< Jul26 0:41 [events/0]
root 4 0.0 0.0 0 0 ? SW< Jul26 0:27 [kblockd/0]
root 5 0.0 0.0 0 0 ? SW Jul26 0:00 [khubd]
root 9 0.0 0.0 0 0 ? SW< Jul26 0:00 [aio/0]
root 8 0.0 0.0 0 0 ? SW Jul26 36:27 [kswapd0]
root 10 0.0 0.0 0 0 ? SW Jul26 0:00 [jfsIO]
root 11 0.0 0.0 0 0 ? SW Jul26 0:00 [jfsCommit]
root 12 0.0 0.0 0 0 ? SW Jul26 0:00 [jfsSync]
root 13 0.0 0.0 0 0 ? SW< Jul26 0:00 [xfslogd/0]
root 14 0.0 0.0 0 0 ? SW< Jul26 0:00 [xfsdatad/0]
root 15 0.0 0.0 0 0 ? SW Jul26 0:02 [xfsbufd]
root 16 0.0 0.0 0 0 ? SW Jul26 0:00 [kseriod]
root 17 0.0 0.0 0 0 ? SW Jul26 1:40 [kjournald]
root 127 0.0 0.0 0 0 ? SW Jul26 0:00 [kjournald]
root 128 0.0 0.0 0 0 ? SW Jul26 3:28 [kjournald]
root 1007 0.0 0.0 0 0 ? SW Jul26 0:03 [kjournald]
user001 1766 0.0 0.0 0 0 ? ZN Sep11 0:00 [wine-kthread] <defunct>
root 25385 0.0 0.0 0 0 ? SW Oct02 0:00 [pdflush]
root 13579 0.0 0.0 0 0 ? SW Oct08 0:00 [pdflush]
root 23506 0.0 0.1 1272 384 ? S 14:55 0:00 minilogd
root 23633 0.0 0.1 1368 412 tty2 S 14:55 0:00 init [S]
root 23634 0.0 0.3 1948 1164 tty2 S 14:55 0:00 bash
root 23881 0.0 0.2 2140 720 tty2 R 14:58 0:00 ps aux
free
Code:
total used free shared buffers cached
Mem: 352720 345476 7244 0 4872 21560
-/+ buffers/cache: 319044 33676
Swap: 262128 460 261668
ipcs
Code:
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x50494f4e 401276929 user001 666 2016 0
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
vmstat
Code:
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 368 7324 4972 21608 2 1 3 1 5 6 88 6 6 0
lsmod
Code:
Module Size Used by
dm_mod 36032 2
as you can see free memory is about 32M, including buffers and cache. i can hardly run more than one application at a time (and with swap turned on) - previously i run plenty of apps (evolution, wine, opera, firefox etc.)
the memory IS NOT used for cache. it's just 'gone'.
more - wine-kthread's parent is 1 (init), here's the line from ps -efw
Code:
1 Z user001 1766 1 0 99 19 - 0 exit Sep11 ? 00:00:00 [wine-kthread] <defunct>
and the process is in zombie state...
is there any possibility (except reboot) to trace down the problem and get leaked memory back? system is still on, so i can give additional info...