very poor performance for serving static files

asdasd77 nginx-forum at nginx.us
Tue Jul 19 09:42:57 UTC 2011


Maxim Dounin Wrote:
-------------------------------------------------------
> Hello!
> 
> On Tue, Jul 19, 2011 at 03:39:00AM -0400, asdasd77
> wrote:
> 
> [...]
> 
> > i am looking the server simultaneously with "top
> -c -d 1", here is the
> > output
> >
> **************************************************
> ************************************************
> > [root at srv-46 ~]# top -c -d 1
> > top - 12:33:04 up 13 min,  1 user,  load
> average: 13.82, 10.34, 5.30
> > Tasks: 158 total,  17 running, 137 sleeping,   0
> stopped,   4 zombie
> > Cpu(s):  1.9%us, 45.7%sy,  0.0%ni, 11.4%id,
> 37.1%wa,  0.0%hi,  3.8%si, 
> > 0.0%st
> 
> System cpu usage looks really high...
> 
> > Mem:  12299044k total,  8913512k used,  3385532k
> free,    33100k
> > buffers
> > Swap:  6094840k total,        0k used,  6094840k
> free,  5757568k cached
> > 
> >   PID USER      PR  NI  VIRT  RES  SHR S %CPU
> %MEM    TIME+  COMMAND
> >  3180 root      20  -5     0    0    0 R  5.6 
> 0.0   0:53.27 [vmmemctl]
> 
> .... and it looks you are running in virtualized
> environment.  This 
> may be a curlpit (see e.g. [1]).  Try taking
> virtualization out of 
> the picture.
> 
> [1]
> http://blog.boxedice.com/2011/06/15/mongodb-cpu-co
> res-and-vmmemctl/
> 
> Maxim Dounin
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx


i read that page but i didnt understand anything. we dont use database
that server. even its not been installed.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,212555,212610#msg-212610




More information about the nginx mailing list