[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uwsgi
Subject:    [uWSGI] uwsgi and High load across the servers.
From:       andriy.kornatskyy () live ! com (Andriy Kornatskyy)
Date:       2012-10-19 19:10:08
Message-ID: DUB117-W113FD60D81515E0877D409291750 () phx ! gbl
[Download RAW message or body]


David,

Your system should be pretty comfortable to handle up to 3-4krps payload. Keep eye on \
load average, in your system it should be below 4.00, which means there is no \
overload.

Consider profile your application should you go beyond that with the hardware you \
have.

Thanks.

Andriy


----------------------------------------
> Date: Sat, 20 Oct 2012 02:59:20 +0800
> From: davidmontgomery at gmail.com
> To: uwsgi at lists.unbit.it
> Subject: Re: [uWSGI] uwsgi and High load across the servers.
> 
> See the below.....
> 
> 
> 1 [|||||||||||||||||||||
> 16.1%] Tasks:
> 62, 7 thr; 4 running
> 2 [||||||||||||||||||||||||||||
> 22.0%] Load
> average: 1.86 1.84 1.67
> 3 [|||||||||||||||||
> 12.8%]
> Uptime: 20:12:19
> 4 [|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
>  80.0%]
> Mem[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> 1376/3954MB]
> Swp[|
> 24/7627MB]
> 
> On Sat, Oct 20, 2012 at 2:54 AM, Andriy Kornatskyy
> <andriy.kornatskyy at live.com> wrote:
> > 
> > Please, see my response in line to your questions.
> > 
> > ----------------------------------------
> > > Date: Sat, 20 Oct 2012 01:39:25 +0800
> > > From: davidmontgomery at gmail.com
> > > To: uwsgi at lists.unbit.it
> > > Subject: Re: [uWSGI] uwsgi and High load across the servers.
> > > 
> > > Hi,
> > > 
> > > Per the below...thats how I have things set up for nginx. Change to
> > > worker_priority -1; in events for at the same level as
> > > worker_rlimit_nofile?
> > > 
> > > worker_rlimit_nofile 200000;
> > > events {
> > > worker_connections 30000;
> > > multi_accept on;
> > > use epoll;
> > > }
> > 
> > Yes.
> > 
> > worker_priority -1;
> > worker_rlimit_nofile ...;
> > 
> > 
> > > Yes..I have three machines, 4 cores each. The fourth core is used for
> > > another process that gets gets less load. In total, I have 9 cores
> > > across three machines doing 1K qps.
> > > 
> > > I am looking at htop. 1 core is at around 70% The other three are
> > > around 15%.
> > 
> > Hm... 1K rps for 3 machines with given CPU utilization is not much. What `uptime` \
> > says for load average? 
> > Andriy
> > 
> > _______________________________________________
> > uWSGI mailing list
> > uWSGI at lists.unbit.it
> > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
> _______________________________________________
> uWSGI mailing list
> uWSGI at lists.unbit.it
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
 		 	   		  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic