Le lun 04/02/2008 à 20:48, Rick Stevens a écrit : > On Mon, 2008-02-04 at 20:09 -0500, Doug Purdy wrote: > > Le lun 04/02/2008 à 19:16, Rick Stevens a écrit : > > > On Mon, 2008-02-04 at 18:13 -0500, Doug Purdy wrote: > > > > Monday 04/02/2008 at 14:05, Phil Meyer wrote: > > ... > > > > Thanks Phil! Memory does seem to be the problem on the 1.2gig Fedora 7 > > > > computer. With System Monitor the only application running, memory usage > > > > climbs continuously at about 10 megs a minute. It's now into the swap > > > > file for 230 megs. CPU usage is about 25% even though System monitor is > > > > only using 2-6%. The 760 meg Fedora Core 2 computer is still acting > > > > normally and reporting memory and CPU usage in agreement with the > > > > processes reported by System Monitor. > > > > > > > > How do I investigate what invisible process is using the CPU and memory? > > > > > > Try "top" first and see if that shows it. If you got rootkitted, then > > > it may not show the guilty process. Go fetch a copy of ckrootkit and > > > run it: > > > > > > http://www.chkrootkit.org/ > > > > > > > Here's TOP: > > > > top - 19:21:44 up 3:10, 1 user, load average: 0.67, 0.96, 0.89 > > Tasks: 130 total, 4 running, 126 sleeping, 0 stopped, 0 zombie > > Cpu(s): 20.5%us, 5.9%sy, 0.0%ni, 52.1%id, 21.1%wa, 0.0%hi, 0.3%si, > > 0.0%st > > Mem: 1295100k total, 1271352k used, 23748k free, 2796k buffers > > Swap: 2031608k total, 1039564k used, 992044k free, 60660k cached > > > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ > > COMMAND > > 2163 root 20 0 10324 1580 908 R 8.0 0.1 19:33.59 > > cupsd > > 2735 root 20 0 104m 11m 3844 R 7.0 0.9 18:14.48 > > Xorg > > 2905 root 20 0 1820m 950m 2564 S 6.6 75.2 18:15.50 > > smartpanel > > 3401 doug 20 0 34944 4704 3228 S 1.7 0.4 2:44.87 > > gnome-system-mo > > 199 root 15 -5 0 0 0 S 0.7 0.0 0:09.92 > > kswapd0 > > 4126 doug 20 0 40920 13m 9800 S 0.7 1.0 0:00.44 > > gnome-terminal > > 2268 mysql 20 0 133m 1288 548 S 0.3 0.1 0:08.21 > > mysqld > > 4160 doug 20 0 2256 1028 796 R 0.3 0.1 0:00.28 top > > > > The "smartpanel" is a program from my new Samsung printer in the "system > > tray." > > If I'm reading that right, the resident part of smartpanel is 950MB > (which itself is insane) and total footprint is 1.8GB. That's farking > HUGE! That's what's eating your RAM, man! If you can, turn the > damned thing off and send a nasty letter to Samsung! No one should > write code like that...especially for something that's just a status > monitor. Wow, guess you did read it right. I stopped smartpanel on the Fedora 7 computer and CPU usage instantly dropped to 3-4%, memory used to 270 megs (with System Monitor, Firefox, Gedit, etc. Thank you so much Rick, Tim, Phil. Now I've got to figure out why the FC2 machine got better on it's own, unless I accidentally stopped smartpanel there myself. Both machines still print on the Samsung without problems. Time to ask Samsung what they know about this. Thanks again folks, you are a great help. Doug > ---------------------------------------------------------------------- > - Rick Stevens, Principal Engineer rstevens@xxxxxxxxxxxx - > - CDN Systems, Internap, Inc. http://www.internap.com - > - - > - "Do you suffer from long-term memory loss?" "I don't remember" - > - -- Chumbawumba, "Amnesia" (TubThumping) - > ----------------------------------------------------------------------