Hi,

I'm testing my production environment (vps with ubuntu 10.4 lts lucid, 
nginx, uwsgi, postgresql, latest web2py), and I detected some memory 
problems, please check:


root@vps:~# htop

  1  [||                                                                     
                                 1.0%]     Tasks: 104 total, 1 running
  2  [                                                                       
                                 0.0%]     Load average: 0.57 0.17 0.04
  
Mem[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||342/358MB]
 
    Uptime: 5 days, 05:55:08
  Swp[||||||||||||||||||||||||||||||||                                       
                           297/1023MB]

  PID USER     PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command

25948 www-data  20   0  124M   932   412 S  0.0  0.3  0:01.31  `- 
/usr/bin/uwsgi-python --master --no-orphans --processes 2 --logdate 
--chmod-socket=660 --uid www-data --gid www-data --daemonize 
/var/log/uwsgi-python/web2py.log --pidfile

25963 www-data  20   0  393M 88796  2124 D  0.0 24.2  0:12.39  |   `- 
/usr/bin/uwsgi-python --master --no-orphans --processes 2 --logdate 
--chmod-socket=660 --uid www-data --gid www-data --daemonize 
/var/log/uwsgi-python/web2py.log --pid

25962 www-data  20   0  364M  189M  2116 S  0.0 52.9  0:11.34  |   `- 
/usr/bin/uwsgi-python --master --no-orphans --processes 2 --logdate 
--chmod-socket=660 --uid www-data --gid www-data --daemonize 
/var/log/uwsgi-python/web2py.log --pid


Why are these processes consuming so much memory?, what are they doing?, why 
are they not ended?.

The performance of my vps was excellent up until these processes ate all the 
memory.

Thanks for your input.

   Carlos

Reply via email to