hi Diederik: I think you can see something from my attach file, that indict i've 60M-70M per python process cost. That is because I start the flup with command below: python manager.py runfcgi host=127.0.0.1 port=3033 method=prefork pidfile=/var/run/fcgi.pid minspare=5 maxspare=30 maxchildren=60 maxrequests=200
it will fork 30 process , and every process will cost nearly the same memory (60M-70M) On Thu, Mar 31, 2011 at 5:55 AM, Diederik van der Boor <vdb...@gmail.com>wrote: > Op woensdag 30 maart 2011 17:48:38 schreef 付毅: > > hi Xavier Ordoquy > > So , you mean 60M per python process is in a normal status? I really > > encouter this kind of website before > > Please note this is for the entire website, not per apache instance. > There is one Django process (via mod_wsgi, or standalone fastcgi) that > handles all requests coming from visitors. > > I hope this was obvious, but I got the impression that bit got lost in the > discussion, > > Greetings, > Diederik > > > > On Wed, Mar 30, 2011 at 11:35 PM, Xavier Ordoquy > <xordo...@linovia.com>wrote: > > > Le 30 mars 2011 à 15:41, 付毅 a écrit : > > > > i don't think 100 instance means to 100 CPUs. I just want to use > > > > > > http_load to test pressure to my web server. if i make the 100 > cocurrent > > > request per second with 100 cocurrent connection. I will make 100 > python > > > process instance when I deploy my web project in prefork environment. > Any > > > others agree with me? > > > > > > If you have 100 instances, 9 of 10 which are waiting in python code, > > > you've got a huge architecture issue. > > > Let a front server (nginx, apache, and co) deal with administrative > tasks > > > and let django deal with computing the pages. > > > There are tons of blog posts out there that explains how to do it. > > > > > > Regards, > > > Xavier. > > > > > > -- > > > 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. > > -- > 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. > > -- 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.