RE: Spamd memory leak?
We already reached that conclusion. ;-) Anyway, if it is a memory leak, the swap should start to fill up sooner or later. Keep in mind thought, that it would be waste of memory, if your systems and application use about 4GB , to leave the other 4GB doing nothing. Linux will gradually fill it up with cache and buffers. And looking at the numbers, the system's cache is already about 3GB big: 2867736k cached So I think this system is running smoothly... -Sietse From: jdow [mailto:[EMAIL PROTECTED] Sent: Wed 24-May-06 2:09 To: users@spamassassin.apache.org Subject: Re: Spamd memory leak? The data you showed, Alan, does NOT show the swap space being used. Mem: 8108656k total, 5907792k used, 2200864k free, 218704k buffers Swap: 2031608k total,0k used, 2031608k free, ^ ^^^ 2867736k cached So you are reading the report wrong. There is NOTHING wrong indicated in that data you provided. {^_^} Joanne - Original Message - From: Alan Fullmer [EMAIL PROTECTED] Very true. However I started with 1 gig of ram, then 2, then 8. Each time it gets up to using the swap space, regardless of how much I put in there. Thanks for the thoughts, I will let this one ride out a little longer to see what happens. -Original Message- From: Sietse van Zanen [mailto:[EMAIL PROTECTED] Indeed, as long as it says swap: 0k used I would say it is just good memory management. :-) -Sietse From: Michael Monnerie [mailto:[EMAIL PROTECTED] On Dienstag, 23. Mai 2006 00:50 Alan Fullmer wrote: Mem: 8108656k total, 5907792k used, 2200864k free, 218704k buffers Swap: 2031608k total,0k used, 2031608k free, 2867736k cached That doesn't show spamd is using memory. It's the overall system, and of course it will use all RAM after some time. Look at top and sort by memory used (press shift+M while running top) to see the biggest memory using programs first. ps auxw|grep spamd could also help. mfg zmi -- // Michael Monnerie, Ing.BSc- http://it-management.at http://it-management.at/ http://it-management.at/ // Tel: 0660/4156531 .network.your.ideas. // PGP Key: lynx -source http://zmi.at/zmi3.asc | gpg --import // Fingerprint: 44A3 C1EC B71E C71A B4C2 9AA6 C818 847C 55CB A4EE // Keyserver: www.keyserver.net Key-ID: 0x55CBA4EE
Re: Spamd memory leak?
Actually as I read the sequence of messages it went in a circle with Alan asking the same question all over again in the message to which I replied. If I mis-read it please forgive. ===8--- from below Very true. However I started with 1 gig of ram, then 2, then 8. Each time it gets up to using the swap space, regardless of how much I put in there. ===8--- The data he showed did NOT show ANY swap space being used. That needed underscoring since he still seemed not to understand this. {o.o} - Original Message - From: Sietse van Zanen [EMAIL PROTECTED] We already reached that conclusion. ;-) Anyway, if it is a memory leak, the swap should start to fill up sooner or later. Keep in mind thought, that it would be waste of memory, if your systems and application use about 4GB , to leave the other 4GB doing nothing. Linux will gradually fill it up with cache and buffers. And looking at the numbers, the system's cache is already about 3GB big: 2867736k cached So I think this system is running smoothly... -Sietse From: jdow [mailto:[EMAIL PROTECTED] Sent: Wed 24-May-06 2:09 To: users@spamassassin.apache.org Subject: Re: Spamd memory leak? The data you showed, Alan, does NOT show the swap space being used. Mem: 8108656k total, 5907792k used, 2200864k free, 218704k buffers Swap: 2031608k total,0k used, 2031608k free, ^ ^^^ 2867736k cached So you are reading the report wrong. There is NOTHING wrong indicated in that data you provided. {^_^} Joanne - Original Message - From: Alan Fullmer [EMAIL PROTECTED] Very true. However I started with 1 gig of ram, then 2, then 8. Each time it gets up to using the swap space, regardless of how much I put in there. Thanks for the thoughts, I will let this one ride out a little longer to see what happens. -Original Message- From: Sietse van Zanen [mailto:[EMAIL PROTECTED] Indeed, as long as it says swap: 0k used I would say it is just good memory management. :-) -Sietse From: Michael Monnerie [mailto:[EMAIL PROTECTED] On Dienstag, 23. Mai 2006 00:50 Alan Fullmer wrote: Mem: 8108656k total, 5907792k used, 2200864k free, 218704k buffers Swap: 2031608k total,0k used, 2031608k free, 2867736k cached That doesn't show spamd is using memory. It's the overall system, and of course it will use all RAM after some time. Look at top and sort by memory used (press shift+M while running top) to see the biggest memory using programs first. ps auxw|grep spamd could also help. mfg zmi -- // Michael Monnerie, Ing.BSc- http://it-management.at http://it-management.at/ http://it-management.at/ // Tel: 0660/4156531 .network.your.ideas. // PGP Key: lynx -source http://zmi.at/zmi3.asc | gpg --import // Fingerprint: 44A3 C1EC B71E C71A B4C2 9AA6 C818 847C 55CB A4EE // Keyserver: www.keyserver.net Key-ID: 0x55CBA4EE
Re: Spamd memory leak?
On Dienstag, 23. Mai 2006 00:50 Alan Fullmer wrote: Mem: 8108656k total, 5907792k used, 2200864k free, 218704k buffers Swap: 2031608k total, 0k used, 2031608k free, 2867736k cached That doesn't show spamd is using memory. It's the overall system, and of course it will use all RAM after some time. Look at top and sort by memory used (press shift+M while running top) to see the biggest memory using programs first. ps auxw|grep spamd could also help. mfg zmi -- // Michael Monnerie, Ing.BSc- http://it-management.at // Tel: 0660/4156531 .network.your.ideas. // PGP Key: lynx -source http://zmi.at/zmi3.asc | gpg --import // Fingerprint: 44A3 C1EC B71E C71A B4C2 9AA6 C818 847C 55CB A4EE // Keyserver: www.keyserver.net Key-ID: 0x55CBA4EE pgph3OMbjKtZL.pgp Description: PGP signature
RE: Spamd memory leak?
Indeed, as long as it says swap: 0k used I would say it is just good memory management. :-) -Sietse From: Michael Monnerie [mailto:[EMAIL PROTECTED] Sent: Tue 23-May-06 9:34 To: users@spamassassin.apache.org Subject: Re: Spamd memory leak? On Dienstag, 23. Mai 2006 00:50 Alan Fullmer wrote: Mem: 8108656k total, 5907792k used, 2200864k free, 218704k buffers Swap: 2031608k total,0k used, 2031608k free, 2867736k cached That doesn't show spamd is using memory. It's the overall system, and of course it will use all RAM after some time. Look at top and sort by memory used (press shift+M while running top) to see the biggest memory using programs first. ps auxw|grep spamd could also help. mfg zmi -- // Michael Monnerie, Ing.BSc- http://it-management.at http://it-management.at/ // Tel: 0660/4156531 .network.your.ideas. // PGP Key: lynx -source http://zmi.at/zmi3.asc | gpg --import // Fingerprint: 44A3 C1EC B71E C71A B4C2 9AA6 C818 847C 55CB A4EE // Keyserver: www.keyserver.net Key-ID: 0x55CBA4EE
RE: Spamd memory leak?
Very true. However I started with 1 gig of ram, then 2, then 8. Each time it gets up to using the swap space, regardless of how much I put in there. Thanks for the thoughts, I will let this one ride out a little longer to see what happens. -Original Message- From: Sietse van Zanen [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 2:09 AM To: Michael Monnerie; users@spamassassin.apache.org Subject: RE: Spamd memory leak? Indeed, as long as it says swap: 0k used I would say it is just good memory management. :-) -Sietse From: Michael Monnerie [mailto:[EMAIL PROTECTED] Sent: Tue 23-May-06 9:34 To: users@spamassassin.apache.org Subject: Re: Spamd memory leak? On Dienstag, 23. Mai 2006 00:50 Alan Fullmer wrote: Mem: 8108656k total, 5907792k used, 2200864k free, 218704k buffers Swap: 2031608k total,0k used, 2031608k free, 2867736k cached That doesn't show spamd is using memory. It's the overall system, and of course it will use all RAM after some time. Look at top and sort by memory used (press shift+M while running top) to see the biggest memory using programs first. ps auxw|grep spamd could also help. mfg zmi -- // Michael Monnerie, Ing.BSc- http://it-management.at http://it-management.at/ // Tel: 0660/4156531 .network.your.ideas. // PGP Key: lynx -source http://zmi.at/zmi3.asc | gpg --import // Fingerprint: 44A3 C1EC B71E C71A B4C2 9AA6 C818 847C 55CB A4EE // Keyserver: www.keyserver.net Key-ID: 0x55CBA4EE
Re: Spamd memory leak?
The data you showed, Alan, does NOT show the swap space being used. Mem: 8108656k total, 5907792k used, 2200864k free, 218704k buffers Swap: 2031608k total,0k used, 2031608k free, ^ ^^^ 2867736k cached So you are reading the report wrong. There is NOTHING wrong indicated in that data you provided. {^_^} Joanne - Original Message - From: Alan Fullmer [EMAIL PROTECTED] Very true. However I started with 1 gig of ram, then 2, then 8. Each time it gets up to using the swap space, regardless of how much I put in there. Thanks for the thoughts, I will let this one ride out a little longer to see what happens. -Original Message- From: Sietse van Zanen [mailto:[EMAIL PROTECTED] Indeed, as long as it says swap: 0k used I would say it is just good memory management. :-) -Sietse From: Michael Monnerie [mailto:[EMAIL PROTECTED] On Dienstag, 23. Mai 2006 00:50 Alan Fullmer wrote: Mem: 8108656k total, 5907792k used, 2200864k free, 218704k buffers Swap: 2031608k total,0k used, 2031608k free, 2867736k cached That doesn't show spamd is using memory. It's the overall system, and of course it will use all RAM after some time. Look at top and sort by memory used (press shift+M while running top) to see the biggest memory using programs first. ps auxw|grep spamd could also help. mfg zmi -- // Michael Monnerie, Ing.BSc- http://it-management.at http://it-management.at/ // Tel: 0660/4156531 .network.your.ideas. // PGP Key: lynx -source http://zmi.at/zmi3.asc | gpg --import // Fingerprint: 44A3 C1EC B71E C71A B4C2 9AA6 C818 847C 55CB A4EE // Keyserver: www.keyserver.net Key-ID: 0x55CBA4EE
Spamd memory leak?
I don't know if I should call it a memory leak or not, or just a memory release problem with spamd. I currently have 8 gigs of ram in this machine, I am running 30 processes currently as indicated in the spamassassin options: SPAMDOPTIONS=-d -c -H -x -m30 -q -u spamfilter --round-robin I have played with the round-robin option and have not seen any real difference. Mem: 8108656k total, 5907792k used, 2200864k free, 218704k buffers Swap: 2031608k total,0k used, 2031608k free, 2867736k cached As you can see 6 gigs are being used. It increases over time. 16:37:45 up 5 days, 4:00, 1 user, load average: 3.89, 3.87, 5.25 5 days uptime and it's grown to that amount. I end up rebooting the machine to recover the memory. It starts out low then again works its way up higher. I don't see any errors in any logs, with the exception of occasionally it suggests I run more processes. The machine is a Dual Core Opteron 64, dual processor with 8 gigs of RAM. Currently running 64 bit version of Fedora 5. Anyone have any suggestions with this? OR could this be an issue with the Kernel? Thanks in advance. Alan Fullmer Zoobuh.com www.zoobuh.com
Re: Spamd memory leak?
On Mon, May 22, 2006 at 04:50:09PM -0600, Alan Fullmer wrote: Mem: 8108656k total, 5907792k used, 2200864k free, 218704k buffers Swap: 2031608k total,0k used, 2031608k free, 2867736k cached As you can see 6 gigs are being used. It increases over time. Sure. 5 days uptime and it's grown to that amount. I end up rebooting the machine to recover the memory. It starts out low then again works its way up higher. Absolutely, that's how memory management works in most OSes. It's not a problem and doesn't require a reboot. Basically having free memory means there's memory that's not being used, which isn't very efficient. So the OS will try to allocate most of the memory and then cache and stuff gets freed as processes need it. Now if you're seeing the memory increasing and then swap increases, etc, then that's potentially an issue. -- Randomly Generated Tagline: The PSTN is like a well-manicured neighborhood, (while) the internet is like a crime-ridden slum. - Phil Zimmermann pgpPh6BenjVQi.pgp Description: PGP signature