ПРОЕКТЫ 


  АРХИВ 


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: залипание при отда че



Посмотрел отладочный лог,
что значит:

1. http write filter to send 90959216 - это sendfile собрался
   отдать мне 90Мб???
2. sendfile: 20440, @0 20440:2097152 - 2Мб?
3. http writer delayed               - Это связано с залипанием?
   event timer del: 170: 11589838

Лог в аттаче.

А есть способ под линуксом подправить SO_SNDLOWAT?

Спасибо



> Недавно начал замечать что при даунлоаде файла, отдача залипает(на
> 10-20 секунд),
> индикатор замирает, такое ощущение, что какой-то буфер ....
> wa i iostats  в это время в норме, в логах  об этом ничего ...
> Пожалуйста, подскажите, как это побороть.
....
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer add: 107: 
180000:11934468
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer handler: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http output filter 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 copy filter: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http postpone filter 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?" 00000000
2007/04/17 20:59:53 [debug] 12657#0: *12915 http postpone filter out 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 write old buf t:0 f:1 00000000, pos 
00000000, size: 0 file: 202782920, size: 524709740
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter: l:1 f:0 
s:524709740
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter to send 143997724
2007/04/17 20:59:53 [debug] 12566#0: epoll add event: fd:11 op:1 ev:00000001
2007/04/17 20:59:53 [debug] 12620#0: epoll add event: fd:11 op:1 ev:00000001
2007/04/17 20:59:53 [debug] 12566#0: epoll del event: fd:11 op:2 ev:00000000
2007/04/17 20:59:53 [debug] 12558#0: epoll del event: fd:11 op:2 ev:00000000
2007/04/17 20:59:53 [debug] 12657#0: *12915 sendfile: 74460, @202782920 
74460:144000824
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter F77F3998
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer del: 107: 11934468
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer add: 107: 72:11754582
2007/04/17 20:59:53 [debug] 12657#0: *12915 copy filter: -2 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer output filter: -2, 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer del: 107: 11754582
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer handler: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer add: 107: 
180000:11934587
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer handler: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http output filter 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 copy filter: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http postpone filter 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?" 00000000
2007/04/17 20:59:53 [debug] 12657#0: *12915 http postpone filter out 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 write old buf t:0 f:1 00000000, pos 
00000000, size: 0 file: 202857380, size: 524635280
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter: l:1 f:0 
s:524635280
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter to send 143923264
2007/04/17 20:59:53 [debug] 12657#0: *12915 sendfile: 35040, @202857380 
35040:143926364
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter F77F3998
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer del: 107: 11934587
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer add: 107: 34:11754635
2007/04/17 20:59:53 [debug] 12657#0: *12915 copy filter: -2 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer output filter: -2, 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer del: 107: 11754635
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer handler: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer add: 107: 
180000:11934636
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer handler: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http output filter 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 copy filter: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http postpone filter 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?" 00000000
2007/04/17 20:59:53 [debug] 12657#0: *12915 http postpone filter out 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 write old buf t:0 f:1 00000000, pos 
00000000, size: 0 file: 202892420, size: 524600240
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter: l:1 f:0 
s:524600240
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter to send 143888224
2007/04/17 20:59:53 [debug] 12672#0: epoll add event: fd:11 op:1 ev:00000001
2007/04/17 20:59:53 [debug] 12657#0: *12915 sendfile: 75920, @202892420 
75920:143891324
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter F77F3998
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer del: 107: 11934636
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer add: 107: 73:11754827
2007/04/17 20:59:53 [debug] 12657#0: *12915 copy filter: -2 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer output filter: -2, 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer handler: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer delayed
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer del: 107: 11754827
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer handler: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http output filter 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 copy filter: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http postpone filter 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?" 00000000
2007/04/17 20:59:53 [debug] 12657#0: *12915 http postpone filter out 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 write old buf t:0 f:1 00000000, pos 
00000000, size: 0 file: 202968340, size: 524524320
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter: l:1 f:0 
s:524524320
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter to send 143812304
2007/04/17 20:59:53 [debug] 12657#0: *12915 sendfile: 35040, @202968340 
35040:143815404
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter F77F3998
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer add: 107: 34:11754866
2007/04/17 20:59:53 [debug] 12657#0: *12915 copy filter: -2 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer output filter: -2, 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12620#0: epoll del event: fd:11 op:2 ev:00000000
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer handler: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer delayed
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer del: 107: 11754866
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer handler: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http output filter 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 copy filter: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http postpone filter 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?" 00000000
2007/04/17 20:59:53 [debug] 12657#0: *12915 http postpone filter out 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 write old buf t:0 f:1 00000000, pos 
00000000, size: 0 file: 203003380, size: 524489280
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter: l:1 f:0 
s:524489280
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter to send 143777264
2007/04/17 20:59:53 [debug] 12657#0: *12915 sendfile: 43800, @203003380 
43800:143780364
2007/04/17 20:59:53 [debug] 12657#0: *12915 http write filter F77F3998
2007/04/17 20:59:53 [debug] 12657#0: *12915 event timer add: 107: 42:11754909
2007/04/17 20:59:53 [debug] 12657#0: *12915 copy filter: -2 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer output filter: -2, 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer handler: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:53 [debug] 12657#0: *12915 http writer delayed
2007/04/17 20:59:53 [debug] 12566#0: epoll add event: fd:11 op:1 ev:00000001
2007/04/17 20:59:54 [debug] 12657#0: *12915 event timer del: 107: 11754909
2007/04/17 20:59:54 [debug] 12657#0: *12915 http writer handler: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:54 [debug] 12657#0: *12915 http output filter 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:54 [debug] 12657#0: *12915 copy filter: 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?"
2007/04/17 20:59:54 [debug] 12657#0: *12915 http postpone filter 
"/upload/dl1/9fb21a45b1db52d2fd78da9f208db665?" 00000000


 




Copyright © Lexa Software, 1996-2009.