ПРОЕКТЫ 


  АРХИВ 


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: sendfile не включаетс я почему-то



On Sun, Feb 24, 2008 at 01:16:03AM +0300, Михаил Монашёв wrote:

> sendfile почему-то не работает:
> 
> sysctl -a | grep sfbuf
> kern.ipc.nsfbufsused: 0
> kern.ipc.nsfbufspeak: 0
> kern.ipc.nsfbufs: 0
> 
> netstat -m
> 4167/4158/8325 mbufs in use (current/cache/total)
> 369/1985/2354/65536 mbuf clusters in use (current/cache/total/max)
> 369/1935 mbuf+clusters out of packet secondary zone in use (current/cache)
> 0/35/35/16896 4k (page size) jumbo clusters in use (current/cache/total/max)
> 0/0/0/8448 9k jumbo clusters in use (current/cache/total/max)
> 0/0/0/4224 16k jumbo clusters in use (current/cache/total/max)
> 1779K/5149K/6929K bytes allocated to network (current/cache/total)
> 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
> 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
> 0/0/0 sfbufs in use (current/peak/max)
> 0 requests for sfbufs denied
> 0 requests for sfbufs delayed
> 32775 requests for I/O initiated by sendfile

Работает.

> 0 calls to protocol drain routines
> 
> FreeBSD 7.0-PRERELEASE
> 
> Вопрос: почему не работает sendfile?

На amd64 sfbufs не используются и там просто нет этих лимитов.


-- 
Игорь Сысоев
http://sysoev.ru



 




Copyright © Lexa Software, 1996-2009.