ПРОЕКТЫ 


  АРХИВ 


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]

проблема закачки больших файлов


  • To: nginx-ru@xxxxxxxxx
  • Subject: проблема закачки больших файлов
  • From: Evgeny Stepanischev <se@xxxxxxxx>
  • Date: Wed, 4 Apr 2007 16:30:30 +0400
  • Organization: LIXIL GRAPHICS

Добрый вечер!

Возникает какая-то странная ошибка закачки файлов при передаче тела
файла в FastCGI-сервер (используется swawn-fcgi + PHP). Nginx
последней версии, проблемы начинатся с порога где-то около 10Мб.

В конфиге прописаны строки:

client_max_body_size       100m;
client_body_buffer_size    128k;

PHP отрабатывает, но запрос до него доходит пустой. в error.log куча
однотипных записей (ниже). В чём может быть дело? error.log есть
полный, Игорь, если надо, могу выслать.

2007/04/04 16:11:30 [debug] 16256#0: *13 http cl:19697289 max:104857600
2007/04/04 16:11:30 [debug] 16256#0: *13 generic phase: 2
2007/04/04 16:11:30 [debug] 16256#0: *13 post rewrite phase: 3
2007/04/04 16:11:30 [debug] 16256#0: *13 generic phase: 4
2007/04/04 16:11:30 [debug] 16256#0: *13 access phase: 5
2007/04/04 16:11:30 [debug] 16256#0: *13 access phase: 6
2007/04/04 16:11:30 [debug] 16256#0: *13 post access phase: 7
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body preread 277
2007/04/04 16:11:30 [debug] 16256#0: *13 malloc: 082D5920:262144
2007/04/04 16:11:30 [debug] 16256#0: *13 http read client request body
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 6019 of 262144
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body recv 6019
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body rest 19690993
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 -1 of 256125
2007/04/04 16:11:30 [debug] 16256#0: *13 recv() not ready (11: Resource 
temporarily unavailable)
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body recv -2
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body rest 19690993
2007/04/04 16:11:30 [debug] 16256#0: *13 event timer add: 20: 60000:3162678994
2007/04/04 16:11:30 [debug] 16256#0: *13 http request empty handler
2007/04/04 16:11:30 [debug] 16256#0: *13 http read client request body
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 1149 of 256125
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body recv 1149
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body rest 19689844
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 -1 of 254976
2007/04/04 16:11:30 [debug] 16256#0: *13 recv() not ready (11: Resource 
temporarily unavailable)
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body recv -2
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body rest 19689844
2007/04/04 16:11:30 [debug] 16256#0: *13 event timer: 20, old: 3162678994, new: 
3162678995
2007/04/04 16:11:30 [debug] 16256#0: *13 http request empty handler
2007/04/04 16:11:30 [debug] 16256#0: *13 http read client request body
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 1460 of 254976
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body recv 1460
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body rest 19688384
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 -1 of 253516
.....
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body rest 19435865
2007/04/04 16:11:30 [debug] 16256#0: *13 event timer: 20, old: 3162678994, new: 
3162679073
2007/04/04 16:11:30 [debug] 16256#0: *13 http request empty handler
2007/04/04 16:11:30 [debug] 16256#0: *13 http read client request body 
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 997 of 997
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body recv 997 
2007/04/04 16:11:30 [debug] 16256#0: *13 hashed path: 
/usr/local/nginx/client_body_temp/0000000001
2007/04/04 16:11:30 [debug] 16256#0: *13 add cleanup: 08143100
2007/04/04 16:11:30 [debug] 16256#0: *13 temp fd:17
2007/04/04 16:11:30 [warn] 16256#0: *13 a client request body is buffered to a 
temporary file /usr/local/nginx/client_body_temp/0000
000001, client: 192.168.0.2, server: ччччччччччччччччччч, URL:
"ччччччччччччч", host: "ччччччччччччччччччч", referrer:
"чччччччччччччччччччччччччччччччччччччччччччччччччччччччччччччччччччччччччч"
2007/04/04 16:11:30 [debug] 16256#0: *13 write: 17, 082D5920, 262144, 0 
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 13927 of 262144
2007/04/04 16:11:30 [debug] 16256#0: *13 write: 17, 082D5920, 262144, 0
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 13927 of 262144
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body recv 13927
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body rest 19420941 
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 -1 of 248217
2007/04/04 16:11:30 [debug] 16256#0: *13 recv() not ready (11: Resource 
temporarily unavailable)
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body recv -2
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body rest 19420941
2007/04/04 16:11:30 [debug] 16256#0: *13 event timer: 20, old: 3162678994, new: 
3162679073
2007/04/04 16:11:30 [debug] 16256#0: *13 http request empty handler
2007/04/04 16:11:30 [debug] 16256#0: *13 http request empty handler
2007/04/04 16:11:30 [debug] 16256#0: *13 http read client request body 
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 1460 of 248217
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body recv 1460
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body rest 19419481
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 -1 of 246757 
2007/04/04 16:11:30 [debug] 16256#0: *13 recv() not ready (11: Resource 
temporarily unavailable)
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body recv -2
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body rest 19419481
2007/04/04 16:11:30 [debug] 16256#0: *13 event timer: 20, old: 3162678994, new: 
3162679075
2007/04/04 16:11:30 [debug] 16256#0: *13 http request empty handler
2007/04/04 16:11:30 [debug] 16256#0: *13 http read client request body 
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 1460 of 246757
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body recv 1460
2007/04/04 16:11:30 [debug] 16256#0: *13 http client request body rest 19418021
2007/04/04 16:11:30 [debug] 16256#0: *13 recv: fd:20 -1 of 245297 
2007/04/04 16:11:30 [debug] 16256#0: *13 recv() not ready (11: Resource 
temporarily unavailable)
...





 




Copyright © Lexa Software, 1996-2009.