On Sat, Jul 25, 2009 at 9:23 PM, Adi <mesteradr...@gmail.com> wrote: > > I'm running a couple of django sites on a VPS with nginx and fastcgi > and I'm a little concerned because of the memory usage. > According to the "free" command, each site uses about 50MB of RAM > (I've ran free before and after starting the fastcgi daemons and each > sites seems to use the same amount). > ps aux on the other hand says each daemon is using about 15MB (the RSS > and MEM% fields) > I'm not too sure how to interpret these results. am I doing something > wrong, or is this normal? is the actual memory usage 50MB? I tried > searching about "free" and "ps aux" but didn't find anything about why > there's this discrepancy. should I use mod_wsgi instead? > the command used to start the daemons is: > ./manage.py runfcgi method=threaded host=127.0.0.1 port=11003 pidfile=/ > some/pid/file
It's been a while since I used FastCGI but look into the configuration and you should be able to control the amount of memory each process uses. I believe it's just a value you can change somewhere. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---