ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: worker_processes



On Fri, Jul 01, 2005 at 01:28:01PM +0400, Igor Sysoev wrote:

> >Там же крутятся апачи с mysql - и неочевидно, кого надо оптимизировать для 
> >снижения load averages, которая в середине дня подскакивает до 2.5.
> 1225M Inact - это могут быть файлы и логи.
> 
> Какая версия FreeBSD ? 

5.2.1, после выходных, думаю, подниму до 5.3.

> В 5.3+ можно посмотреть сколько i/o операций
> делается sendfile()ом:
> 
> >netstat -m
> 67 mbufs in use
> 64/9024 mbuf clusters in use (current/max)
> 0/7/2512 sfbufs in use (current/peak/max)
> 144 KBytes allocated to network
> 0 requests for sfbufs denied
> 0 requests for sfbufs delayed
> 1 requests for I/O initiated by sendfile
> 4835 calls to protocol drain routines

# netstat -m
mbuf usage:
        GEN cache:      0/0 (in use/in pool)
        CPU #0 cache:   322/640 (in use/in pool)
        Total:          322/640 (in use/in pool)
        Mbuf cache high watermark: 512
        Maximum possible: 51200
        Allocated mbuf types:
          322 mbufs allocated to data
        1% of mbuf map consumed
mbuf cluster usage:
        GEN cache:      0/192 (in use/in pool)
        CPU #0 cache:   302/400 (in use/in pool)
        Total:          302/592 (in use/in pool)
        Cluster cache high watermark: 128
        Maximum possible: 25600
        2% of cluster map consumed
1344 KBytes of wired memory reserved (50% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

Andrey




 




Copyright © Lexa Software, 1996-2009.