Hi,

First I'll say that I'm a django developer and not a sys-admin by any
stretch, so forgive me if my question is lacking in some depth of knowledge.

We have a few ubuntu servers (Ubuntu_9.10_i386) running on Medium amazon ec2
instances.

We are running nginx 0.7.65 and uwsgi 0.9.5-dev (32bit)

Our uwsgi.xml file looks like this:

<uwsgi>
 <socket>/var/run/nginx-uwsgi/wsgi.sock</socket>
 <pythonpath>/home/webapps/path/here</pythonpath>
 <module>wsgi</module>
 <uid>33</uid>
 <gid>33</gid>
 <processes>10</processes>
 <master/>
 <harakiri>60</harakiri>
 <limit-as>192</limit-as>
 <socket-timeout>10</socket-timeout>
 <sharedarea>10</sharedarea>
 <memory-report/>
 <chmod-socket/>
</uwsgi>

Our problem is that when we start nginx/uwsgi our system memory usage is at
about  400M and throughout the day in steadily increases to fully used and
possibly swapping.  The only way to free memory is to restart uwsgi.

Is this normal or is there something we have done wrong in our uwsgi
configuration?

Note that we are running a fairly large django app NOT in debug mode.

Dan
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to