ПРОЕКТЫ 


  АРХИВ 


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]

SSI + POST



Здраствуйте.
Столкнулся с непонятной ситуацией при использовании SSI: при POST-запросе вместо <!--# include virtual="/ssi/user_menu" --> получаю:

<head><title>504 Gateway Time-out</title></head>
<body bgcolor="white">
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/0.6.31</center>
</body>
</html>

При GET-запросе отдается все правильно. По дебаг-логу есть задержки по 30 секунд в местах:
2008/06/25 15:48:23 [debug] 713#0: *859 hc free: 00000000 0
2008/06/25 15:48:23 [debug] 713#0: *859 hc busy: 00000000 0
2008/06/25 15:48:23 [debug] 713#0: *859 tcp_nodelay
2008/06/25 15:48:53 [debug] 713#0: *858 event timer del: 10: 3217355846
2008/06/25 15:48:53 [debug] 713#0: *858 http keepalive handler
2008/06/25 15:48:53 [debug] 713#0: *858 close http connection: 10
2008/06/25 15:48:53 [debug] 713#0: *858 free: 00000000
и
2008/06/25 15:48:53 [debug] 713#0: *859 close http connection: 12
2008/06/25 15:48:53 [debug] 713#0: *859 free: 00000000
2008/06/25 15:48:53 [debug] 713#0: *859 free: 00000000
2008/06/25 15:48:53 [debug] 713#0: *859 free: 28687300, unused: 64
2008/06/25 15:49:23 [debug] 713#0: *855 event timer del: 11: 3217385678
2008/06/25 15:49:23 [debug] 713#0: *855 http upstream process header
2008/06/25 15:49:23 [debug] 713#0: *855 http next upstream, 4
2008/06/25 15:49:23 [debug] 713#0: *855 free rr peer 1 4
2008/06/25 15:49:23 [error] 713#0: *855 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.10.112, server: rp.web.rplus.local, request: "POST /login/ HTTP/1.1", upstream: "http://127.0.0.1:80/login/";, host: "rp.web.rplus.local", referrer: "http://rp.web.rplus.local/";
2008/06/25 15:49:23 [debug] 713#0: *855 finalize http upstream request: 504
2008/06/25 15:49:23 [debug] 713#0: *855 finalize http proxy request

в логе апача появляется:
127.0.0.1 - - [25/Jun/2008:15:48:23 +0300] "POST /login/ HTTP/1.0" 200 18469
127.0.0.1 - - [25/Jun/2008:15:49:23 +0300] "GET /ssi/user_menu HTTP/1.0" 200 832
при том что сабмитится форма с логином и паролем
2008/06/25 15:48:23 [debug] 713#0: *855 http header: "Content-Type: application/x-www-form-urlencoded"
2008/06/25 15:48:23 [debug] 713#0: *855 http header: "Content-Length: 47"
2008/06/25 15:48:23 [debug] 713#0: *855 http header done

FreeBSD7 + nginx/0.6.31


 




Copyright © Lexa Software, 1996-2009.