I have set up Mailman on a virtual private server from 1and1 running Centos, though I can't tell which version. The system has 2 GB of memory. Mailman is receiving posts, but it is not sending them out to everybody. It is also getting some out-of-memory errors. The server is also runing Plesk for Web hosting. Something on the server is leaking memory. When first booted it has nearly 1.5 GB of free memory. Now this is down to .75 GB. Any hints will be appreciated. Thanks, -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities
On 11/12/2011 09:07 AM, John J. Boyer wrote:> I have set up Mailman on a virtual private server from 1and1 running > Centos, though I can't tell which version. The system has 2 GB of > memory. Mailman is receiving posts, but it is not sending them out to > everybody. It is also getting some out-of-memory errors. The server is > also runing Plesk for Web hosting. Something on the server is leaking > memory. When first booted it has nearly 1.5 GB of free memory. Now this > is down to .75 GB. Any hints will be appreciated. >Linux puts things in cache using extra (unused) memory. It is absolutely normal to have "Free Memory" go down to a fairly small level and have Buffers and Cache grow. If you are getting out of memory errors, you can tweek the amount of memory that they system keeps in reserve using "vm.min_free_kbytes" in /etc/sysctl.conf http://lists.centos.org/pipermail/centos/2006-December/030761.html This is a good article that discusses how to adjust this too: http://www.dba-oracle.com/t_tuning_linux_kernel_2_6_oracle.htm As far as what version of CentOS you have ... you can figure that out with: cat /etc/redhat-release -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20111112/d7087397/attachment.sig>
On Sat, Nov 12, 2011 at 09:45:04AM -0600, Johnny Hughes wrote:> Linux puts things in cache using extra (unused) memory. It is > absolutely normal to have "Free Memory" go down to a fairly small level > and have Buffers and Cache grow.Why does Linux do this? It seems odd to me.> > If you are getting out of memory errors, you can tweek the amount of > memory that they system keeps in reserve using "vm.min_free_kbytes" in > /etc/sysctl.confI don't find vm.min_free_byes in sysctl.conf. It isn't mentioned in the man pages. Thanks. John> > http://lists.centos.org/pipermail/centos/2006-December/030761.html > > This is a good article that discusses how to adjust this too: > > http://www.dba-oracle.com/t_tuning_linux_kernel_2_6_oracle.htm > > As far as what version of CentOS you have ... you can figure that out with: > > cat /etc/redhat-release > >> _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities