ПРОЕКТЫ 


  АРХИВ 


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



Здравствуйте Игорь,

>> 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

IS> Работает.

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

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

А какие буферы он тогда использует?

И  не ясно вот что: почему LA вырос в разы после того, как я добавил в
/boot/loader.conf и /etc/sysctl.conf то, что там сейчас есть?

--

С уважением,
Михаил Монашёв, SoftSearch.ru
mailto:postmaster@xxxxxxxxxxxxx
ICQ# 166233339
http://michael.mindmix.ru/
Без бэкапа по жизни.




 




Copyright © Lexa Software, 1996-2009.