ПРОЕКТЫ 


  АРХИВ 


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: замирает скачивани е файлов



On Sat, Oct 27, 2007 at 12:15:37AM +0300, tswiah@xxxxxxxxxxxxxxxxxxxxxxxxxx 
wrote:

> On Sat, 27 Oct 2007, Igor Sysoev wrote:
> 
> Такой же результат (замирание), но отдача из php (fastcgi) с 
> помощью sendfile:
> -----
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 write new buf t:1 f:0 
> 08A9118C, pos 08A9118C, size: 483 file: 0, size: 0
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http write filter: l:0 f:0 
> s:483
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http output filter 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 copy filter: 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http postpone filter 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236
> ?" BFF1DBE8
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http postpone filter out 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d
> 5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 write old buf t:1 f:0 
> 08A9118C, pos 08A9118C, size: 483 file: 0, size: 0
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 write new buf t:0 f:1 
> 00000000, pos 00000000, size: 0 file: 0, size: 5118288
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http write filter: l:1 f:0 
> s:5118771
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http write filter limit 65536
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 tcp_nopush
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 writev: 483
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 sendfile: @0 65536
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 sendfile: 65536, @0 
> 65536:65536
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http write filter 08A913C0
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 event timer add: 750: 
> 1:3726786151
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 copy filter: -2 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http finalize request: -2, 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa12
> 2d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 event timer del: 750: 
> 3726786151
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http writer handler: 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236
> ?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http output filter 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 copy filter: 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http postpone filter 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236
> ?" 00000000
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http postpone filter out 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d
> 5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 write old buf t:0 f:1 
> 00000000, pos 00000000, size: 0 file: 65536, size: 5052752
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http write filter: l:1 f:0 
> s:5052752
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http write filter limit 65536
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 sendfile: @65536 65536
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 sendfile: 62853, @65536 
> 62853:65536
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http write filter 08A913C0
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 copy filter: -2 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 http writer output filter: 
> -2, "/data/accounts/user1/files/0552fd96cd7566c9ad2248
> aa122d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127795 event timer add: 750: 
> 90000:3726876151
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 post event B76771C8
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 delete posted event B76771C8
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 http writer handler: 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236
> ?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 http output filter 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 copy filter: 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 http postpone filter 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236
> ?" 00000000
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 http postpone filter out 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d
> 5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 write old buf t:0 f:1 
> 00000000, pos 00000000, size: 0 file: 128389, size: 4989899
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 http write filter: l:1 f:0 
> s:4989899
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 http write filter limit 65536
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 sendfile: @128389 68219

> 2007/10/27 00:05:27 [info] 15186#0: *127783 sendfile() failed (32: Broken 
> pipe) while sending response to client, client: 213.1
> 86.206.55, server: shareua.com, URL: 
> "/donwload/dabe77caf0b2fbdd9e78c0c92e3b8fdf/273190/Firefox_Setup_1.5.0.4.exe",
>  
> upstream: "fastcg
> i://unix:/tmp/spawn-fcgi.socket:", host: "shareua.com"
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 http write filter FFFFFFFF
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 copy filter: -1 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 http writer output filter: -1, 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248
> aa122d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 http writer done: 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 http finalize request: -1, 
> "/data/accounts/user1/files/0552fd96cd7566c9ad2248aa12
> 2d5236?"
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 http close request
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 http log handler
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 close cached open file: 
> /data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d52
> 36, fd:286, c:1, 0
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 free: 08A81E88
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 free: 08A7AAC0, unused: 4
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 free: 08A82E90, unused: 2621
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 close http connection: 746
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 event timer del: 746: 
> 3726876150
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 free: 08A79AB8
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 free: 08A79830
> 2007/10/27 00:05:27 [debug] 15186#0: *127783 free: 08A79728, unused: 64
> -----

С каким проблема -
/data/accounts/user1/files/0552fd96cd7566c9ad2248aa122d5236
или
/donwload/dabe77caf0b2fbdd9e78c0c92e3b8fdf/273190/Firefox_Setup_1.5.0.4.exe

? Во втором случае клиент закрыл соединение - "sendfile() failed (32: Broken
pipe)".


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



 




Copyright © Lexa Software, 1996-2009.