Has anyone noticed a memory leak in Kernel 2.4.2. Just upgraded to 256megs and still using the swap file. I didn't think that would happen unless I ran a bunch of programs at the same time. -- Thank you. ----------------------------- Gary A. Garibaldi SuSE 7.1 Registered Linux User: 188550 ---------------------------------------------------------------------- Non-sequiturs make me eat lampshades. ---------------------------------------------------------------------- 1:10pm up 11 min, 1 user, load average: 2.12, 1.76, 0.94
On Sunday 13 May 2001 16:13, Gary A. Garibaldi wrote:
Has anyone noticed a memory leak in Kernel 2.4.2. Just upgraded to 256megs and still using the swap file. I didn't think that would happen unless I ran a bunch of programs at the same time.
I've noticed this on all kernels I've used with any Linux distro. I have 256 megs on my main box as well and it seems that some swap is _always_ used. I believe this is normal behaviour because of the Linux memory model (someone else is welcome to correct/expand on this - my knowledge of this area is pretty sketchy). However, use of swap seems to be minimal if you have sufficient RAM. Don
* Donald E. Stidwell (stidwell@visi.net) [010513 17:15]: ->On Sunday 13 May 2001 16:13, Gary A. Garibaldi wrote: ->> Has anyone noticed a memory leak in Kernel 2.4.2. Just upgraded to 256megs ->> and still using the swap file. I didn't think that would happen unless I ->> ran a bunch of programs at the same time. -> ->I've noticed this on all kernels I've used with any Linux distro. I have 256 ->megs on my main box as well and it seems that some swap is _always_ used. I ->believe this is normal behaviour because of the Linux memory model (someone ->else is welcome to correct/expand on this - my knowledge of this area is ->pretty sketchy). However, use of swap seems to be minimal if you have ->sufficient RAM. My box has 384M of ram and I always have tons of stuff running. I never see anymore then a 1/2 meg used unless something goes wanky like Mozilla an starts to suck the life out of the machine. If you have 256M then you shouldn't see a lot of swap use. BTW..I am using the 2.4.2 kernel that Hubert Mantel put out. It seems to work fine. I have a 32 day uptime with nothing weird that I can speak of happening. -- Ben Rosenberg mailto:ben@whack.org ----- If two men agree on everything, you can be sure that only one of them is doing the thinking.
I install Gnome 1.4 and playing video games has gotten to be a problem because the fps has dropped. Moreover, right arfter a reboot I tried to login into my user acct (only had one) and the /home/<user> directory turned into a file (hence no user login into /home/<user>) and in logged me into /. Even more of a pain, the former directory now file is dated as being created on 1970-10-13 with owner under a root querry as ??? and the same for grp at 256,8.kb. When querried under my new user acct it reads as user=383 and grp=446. I regret ever having installed the evil Gnome (and Nautilus - Big Deal). I have many unaccouted for resource use and KDE takes longer to load (except under /root). Bad coding?? On Sunday 13 May 2001 19:31, Ben Rosenberg wrote:
* Donald E. Stidwell (stidwell@visi.net) [010513 17:15]: ->On Sunday 13 May 2001 16:13, Gary A. Garibaldi wrote: ->> Has anyone noticed a memory leak in Kernel 2.4.2. Just upgraded to 256megs ->> and still using the swap file. I didn't think that would happen unless I ->> ran a bunch of programs at the same time. -> ->I've noticed this on all kernels I've used with any Linux distro. I have 256 ->megs on my main box as well and it seems that some swap is _always_ used. I ->believe this is normal behaviour because of the Linux memory model (someone ->else is welcome to correct/expand on this - my knowledge of this area is ->pretty sketchy). However, use of swap seems to be minimal if you have ->sufficient RAM.
My box has 384M of ram and I always have tons of stuff running. I never see anymore then a 1/2 meg used unless something goes wanky like Mozilla an starts to suck the life out of the machine. If you have 256M then you shouldn't see a lot of swap use. BTW..I am using the 2.4.2 kernel that Hubert Mantel put out. It seems to work fine. I have a 32 day uptime with nothing weird that I can speak of happening.
I will say this. I use to be a big Gnome advocate. I am not anymore. I just don't think it's as stable or put together as well as KDE2. I have been using KDE2 since last August and too tell you the truth..I don't miss Gnome at all. I still use some g programs such as gFTP, GIMP, Jpilot..but I haven't fired up Gnome as a desktop for months. KDE2 is damn nice. Give it a try. * Curtis Rey (crrey@home.com) [010513 22:46]: ->I install Gnome 1.4 and playing video games has gotten to be a problem ->because the fps has dropped. Moreover, right arfter a reboot I tried to ->login into my user acct (only had one) and the /home/<user> directory turned ->into a file (hence no user login into /home/<user>) and in logged me into /. ->Even more of a pain, the former directory now file is dated as being created ->on 1970-10-13 with owner under a root querry as ??? and the same for grp at ->256,8.kb. When querried under my new user acct it reads as user=383 and ->grp=446. I regret ever having installed the evil Gnome (and Nautilus - Big ->Deal). I have many unaccouted for resource use and KDE takes longer to load ->(except under /root). Bad coding?? -- Ben Rosenberg mailto:ben@whack.org ----- If two men agree on everything, you can be sure that only one of them is doing the thinking.
Has anyone noticed a memory leak in Kernel 2.4.2. Just upgraded to 256megs and still using the swap file. I didn't think that would happen unless I ran a bunch of programs at the same time.
I have some kind of memory leak problem too. Generally once a day, my hd will start thrashing, and eating up CPU resources until it is impossible to even run a "killall" command. It always ends in rebooting. -Tim -- ----------------------------------------------------------------- Timothy R. Butler Universal Networks Information Tech. Consultant Christian Web Services Since 1996 ICQ #12495932 AIM: Uninettm An Authorized IPSwitch Reseller tbutler@uninetsolutions.com http://www.uninetsolutions.com ============== "Information Powered by Innovation" ==============
* Timothy R. Butler (tbutler@uninetsolutions.com) [010513 18:33]: -> ->> Has anyone noticed a memory leak in Kernel 2.4.2. Just upgraded to 256megs ->> and still using the swap file. I didn't think that would happen unless I ->> ran a bunch of programs at the same time. -> -> I have some kind of memory leak problem too. Generally once a day, my hd ->will start thrashing, and eating up CPU resources until it is impossible to ->even run a "killall" command. It always ends in rebooting. I would carefully examine the processes that are running at the time this occurs. It seems very strange that I haven't see this issues with the same kernel. -- Ben Rosenberg mailto:ben@whack.org ----- If two men agree on everything, you can be sure that only one of them is doing the thinking.
Hi Ben,
I would carefully examine the processes that are running at the time this occurs. It seems very strange that I haven't see this issues with the same kernel.
I think it might be something to do with Gnome's Medusa (I have a failed Gnome 1.4 install from a few weeks back) thingy, if that's possible. I noticed Medusa is setup to run via cron several times a day, and if I understand right, it would be accessing the hard drive. Also, pecularly, "find" startup a few minutes ago, and just started searching for who knows what, eating between 6-14% of my CPU resources until I killed it. Any suggestions? Thanks, Tim -- ----------------------------------------------------------------- Timothy R. Butler Universal Networks Information Tech. Consultant Christian Web Services Since 1996 ICQ #12495932 AIM: Uninettm An Authorized IPSwitch Reseller tbutler@uninetsolutions.com http://www.uninetsolutions.com ============== "Information Powered by Innovation" ==============
On Mon, May 14, 2001 at 12:23:47AM -0500, Timothy R.Butler wrote:
I think it might be something to do with Gnome's Medusa (I have a failed Gnome 1.4 install from a few weeks back) thingy, if that's possible. I noticed Medusa is setup to run via cron several times a day, and if I understand right, it would be accessing the hard drive. Also, pecularly, "find" startup a few minutes ago, and just started searching for who knows what, eating between 6-14% of my CPU resources until I killed it.
"pstree" will show you a formatted list of the processes and their parents, so you can see what program is running find. "ps auxwww | grep find" will give you the entire find command line, how long it's been running, how big it is in memory, and the percentage of memory and CPU that it's taking up. For memory leaks, "ps auxwww | less" is your friend. Look for things taking up large amounts of memory that have been running for a while. -tara
"ps auxwww | grep find" will give you the entire find command line, how long it's been running, how big it is in memory, and the percentage of memory and CPU that it's taking up.
This is what it told me when I did that: root 2592 0.0 0.1 1384 460 ? SN 00:15 0:00 /usr/lib/find/frcode nobody 2593 0.0 0.3 1888 880 ? SN 00:15 0:00 su nobody -c /usr/bin/find / \( -fstype nfs -o -fstype NFS -o -fstype proc -o -fstype afs -o -fstype smbfs -o -fstype autofs -o -type d -regex '\(^/S.u.S.E.$\)\|\(^/mnt$\)\|\(^/cdrom$\)\|\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/var/spool$\)\|\(^/proc$\)' \) -prune -o -print nobody 2594 4.2 0.2 1492 712 ? RN 00:15 0:02 /usr/bin/find / ( -fstype nfs -o -fstype NFS -o -fstype proc -o -fstype afs -o -fstype smbfs -o -fstype autofs -o -type d -regex \(^/S.u.S.E.$\)\|\(^/mnt$\)\|\(^/cdrom$\)\|\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/var/spool$\)\|\(^/proc$\) ) -prune -o -print root 2611 0.0 0.2 1504 588 pts/1 S 00:16 0:00 grep find Any ideas? Thanks, Tim -- ----------------------------------------------------------------- Timothy R. Butler Universal Networks Information Tech. Consultant Christian Web Services Since 1996 ICQ #12495932 AIM: Uninettm An Authorized IPSwitch Reseller tbutler@uninetsolutions.com http://www.uninetsolutions.com ============== "Information Powered by Innovation" ==============
Hello, Ok this is SuSE's periodicaly exected cleanup commands. Strictly speaking on daily basis. Look at /etc/cron.daily scripts. Erdal MUTLU ------------------------------------------------------------------------------- Iyi gunler! Have a nice day! ------------------------------------------------------------------------------- Istanbul Teknik Universitesi Istanbul Technical University Bilisim Enstitusu Informatics Institute Arastirma Gorevlisi Erdal MUTLU Research Assistant Erdal MUTLU E-mail : erdal@be.itu.edu.tr Home page :www.be.itu.edu.tr/~erdal ------------------------------------------------------------------------------- On Tue, 15 May 2001, Timothy R.Butler wrote:
"ps auxwww | grep find" will give you the entire find command line, how long it's been running, how big it is in memory, and the percentage of memory and CPU that it's taking up.
This is what it told me when I did that:
root 2592 0.0 0.1 1384 460 ? SN 00:15 0:00 /usr/lib/find/frcode nobody 2593 0.0 0.3 1888 880 ? SN 00:15 0:00 su nobody -c /usr/bin/find / \( -fstype nfs -o -fstype NFS -o -fstype proc -o -fstype afs -o -fstype smbfs -o -fstype autofs -o -type d -regex '\(^/S.u.S.E.$\)\|\(^/mnt$\)\|\(^/cdrom$\)\|\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/var/spool$\)\|\(^/proc$\)' \) -prune -o -print nobody 2594 4.2 0.2 1492 712 ? RN 00:15 0:02 /usr/bin/find / ( -fstype nfs -o -fstype NFS -o -fstype proc -o -fstype afs -o -fstype smbfs -o -fstype autofs -o -type d -regex \(^/S.u.S.E.$\)\|\(^/mnt$\)\|\(^/cdrom$\)\|\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/var/spool$\)\|\(^/proc$\) ) -prune -o -print root 2611 0.0 0.2 1504 588 pts/1 S 00:16 0:00 grep find
Any ideas?
Thanks, Tim
-- ----------------------------------------------------------------- Timothy R. Butler Universal Networks Information Tech. Consultant Christian Web Services Since 1996 ICQ #12495932 AIM: Uninettm An Authorized IPSwitch Reseller tbutler@uninetsolutions.com http://www.uninetsolutions.com ============== "Information Powered by Innovation" ==============
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
This is the updatedb script that builds the database (locatedb) for
the locate command. It runs every night. It doesn't catalog the
CD-ROM, temporary files, spooled printer files, etc.
Jeffrey
Quoting Timothy R.Butler
"ps auxwww | grep find" will give you the entire find command line, how long it's been running, how big it is in memory, and the percentage of memory and CPU that it's taking up.
This is what it told me when I did that:
root 2592 0.0 0.1 1384 460 ? SN 00:15 0:00 /usr/lib/find/frcode nobody 2593 0.0 0.3 1888 880 ? SN 00:15 0:00 su nobody -c /usr/bin/find / \( -fstype nfs -o -fstype NFS -o -fstype proc -o -fstype afs -o -fstype smbfs -o -fstype autofs -o -type d -regex '\(^/S.u.S.E.$\)\|\(^/mnt$\)\|\(^/cdrom$\)\|\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/var/spool$\)\|\(^/proc$\)' \) -prune -o -print nobody 2594 4.2 0.2 1492 712 ? RN 00:15 0:02 /usr/bin/find / ( -fstype nfs -o -fstype NFS -o -fstype proc -o -fstype afs -o -fstype smbfs -o -fstype autofs -o -type d -regex \(^/S.u.S.E.$\)\|\(^/mnt$\)\|\(^/cdrom$\)\|\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/var/spool$\)\|\(^/proc$\) ) -prune -o -print root 2611 0.0 0.2 1504 588 pts/1 S 00:16 0:00 grep find
Any ideas?
Thanks, Tim
-- I don't do Windows and I don't come to work before nine. -- Johnny Paycheck
* Timothy R. Butler (tbutler@uninetsolutions.com) [010513 22:26]: ->Hi Ben, ->> I would carefully examine the processes that are running at the time ->> this occurs. It seems very strange that I haven't see this issues with ->> the same kernel. -> -> I think it might be something to do with Gnome's Medusa (I have a failed ->Gnome 1.4 install from a few weeks back) thingy, if that's possible. I ->noticed Medusa is setup to run via cron several times a day, and if I ->understand right, it would be accessing the hard drive. -> Also, pecularly, "find" startup a few minutes ago, and just started ->searching for who knows what, eating between 6-14% of my CPU resources until ->I killed it. Yeah, I am getting sick of killing that medusa indexing daemon. I disabled the damn thing but it still runs this medusa-idled all the time. WTF...grrrr. -- Ben Rosenberg mailto:ben@whack.org ----- If two men agree on everything, you can be sure that only one of them is doing the thinking.
participants (8)
-
Ben Rosenberg
-
Curtis Rey
-
Donald E. Stidwell
-
Erdal MUTLU Arastirma Gorevlisi
-
Gary A. Garibaldi
-
Jeffrey Taylor
-
Tara L Andrews
-
Timothy R.Butler