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: [email protected] > To: [email protected] > 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 > <[email protected]> wrote: > > > > Please, see my response in line to your questions. > > > > ---------------------------------------- > >> Date: Sat, 20 Oct 2012 01:39:25 +0800 > >> From: [email protected] > >> To: [email protected] > >> 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 > > [email protected] > > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
