Thanks your reply, Roberto Now the site connection has reduced less than 100, and every thing became normal.
Is there some tools can help to create connections for test? Thanks, Lloyd Sheng 2010/12/12 <[email protected]> > Send uWSGI mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of uWSGI digest..." > > > Today's Topics: > > 1. Site with django, uwsgi and nginx became slow while active > connections more the 500 (Lloyd Sheng) > 2. Re: Site with django, uwsgi and nginx became slow while > active connections more the 500 (Roberto De Ioris) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 12 Dec 2010 15:18:26 +0800 > From: Lloyd Sheng <[email protected]> > Subject: [uWSGI] Site with django, uwsgi and nginx became slow while > active connections more the 500 > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi all, > > I have a site with django, uwsgi and nginx. > > Currently, i hit an issue, the site became slow while active connections > more the 500, > > I've start uwsgi sever with following command: > > /*usr*/local/*sbin*/*uwsgi* -s 127.0.0.1:7198 -H /data0/*pfenv* --* > pythonpath* /data0/*htdocs*/*pianfang*/*ooq*/*src*/ -w deploy.wsgi -d > /data1/logs/pianfang.log -p 12 -m > > Is it configurion issue? I've tried to spawn more processes , it seems no > effect. > > Anyone can do me a favor look at this issue? > > Thanks > > Lloyd Sheng > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.unbit.it/pipermail/uwsgi/attachments/20101212/df95d21b/attachment-0001.htm > > ------------------------------ > > Message: 2 > Date: Sun, 12 Dec 2010 09:17:18 +0100 (CET) > From: "Roberto De Ioris" <[email protected]> > Subject: Re: [uWSGI] Site with django, uwsgi and nginx became slow > while active connections more the 500 > To: "uWSGI developers and users list" <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain;charset=iso-8859-1 > > > > Hi all, > > > > I have a site with django, uwsgi and nginx. > > > > Currently, i hit an issue, the site became slow while active connections > > more the 500, > > > > I've start uwsgi sever with following command: > > > > /*usr*/local/*sbin*/*uwsgi* -s 127.0.0.1:7198 -H /data0/*pfenv* --* > > pythonpath* /data0/*htdocs*/*pianfang*/*ooq*/*src*/ -w deploy.wsgi -d > > /data1/logs/pianfang.log -p 12 -m > > > > Is it configurion issue? I've tried to spawn more processes , it seems > no > > effect. > > > > Anyone can do me a favor look at this issue? > > > > Thanks > > How much cpu % and load avg has your system while it is in the "slow" > state ? Check your swap too, if every process of your app consume a lot of > memory this can be a cause. If adding processes does change nothing, > probably you have got the perfect value for your machine. > > -- > Roberto De Ioris > http://unbit.it > > > ------------------------------ > > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > > > End of uWSGI Digest, Vol 15, Issue 9 > ************************************ >
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
