[Mailman-Users] Memory usage

Grigory Batalov bga at altlinux.org
Tue Dec 4 18:56:12 CET 2007


On Mon, 3 Dec 2007 20:14:14 -0800, Mark Sapiro wrote:

> >I would like to know, is it possible to reduce qrunners memory usage and how?
> >There are 150 lists on the site and about 800 subscribers maximum.
> 
> See
> <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.056.htp>.

  Sorry, not much help.
  Can you explain me, why qrunners take more and more memory (RES)?
  It was 25Mb maximum in my previous letter, now it is 36Mb:

$ top
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                  
17660 mailman   15   0  101M  36M 2668 S  0.0  1.8   0:41.33 qrunner                                   
32356 mailman   15   0  100M  35M 2668 S  0.0  1.7   0:38.30 qrunner                                   
17584 mailman   15   0  100M  35M 2668 S  0.0  1.7   0:40.04 qrunner                                   
32739 mailman   18   0 99.7M  34M 2660 S  0.0  1.7   0:33.94 qrunner                                   
 3182 mailman   15   0 99.5M  34M 2668 S  0.0  1.7   0:39.10 qrunner                                   
...

  Some of them took up to 200Mb (!) before I had to restart them.
  All this looks like slow and fast memory leak.

  My vmstat, if you are interested in:

$ vmstat -a 1 3
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
 r  b   swpd   free  inact active   si   so    bi    bo   in    cs us sy id wa
 1  0      0 1302408      0      0    0    0     0     0    0     1  1  0 94  5
 0  0      0 1302408      0      0    0    0     0     0    0  1625  0  0 99  1
 0  0      0 1303084      0      0    0    0     0     0    0  1800  0  0 88 12

  This is OpenVZ VE on Linux.

$ uname -a
Linux lists.altlinux.org 2.6.18-ovz-smp-alt17 #1 SMP Sat Oct 6 04:41:41 MSD 2007 x86_64 GNU/Linux


-- 
 Grigory Batalov,
 ALT Linux Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/mailman-users/attachments/20071204/1af14a9c/attachment.pgp 


More information about the Mailman-Users mailing list