ssi + fcgi nginx 0.1.33 trouble

Alexey Bestciokov proforg at maloletka.ru
Wed May 25 23:34:03 MSD 2005


ssi , include virtual
инклюд обрабатывается через fcgi
и, как я понял, если в процессе отдачи страницы клиент пошлёт реквест ещё
раз, nginx зацикливается.
100 процентов процессора, в логах
2005/05/25 23:25:12 [debug] 3472#0: *4 http upstream process downstream
2005/05/25 23:25:12 [debug] 3472#0: *4 pipe write downstream: 1
2005/05/25 23:25:12 [debug] 3472#0: *4 pipe write busy: 8192
2005/05/25 23:25:12 [debug] 3472#0: *4 pipe write: out:00000000, f:1
2005/05/25 23:25:12 [debug] 3472#0: *4 http output filter "/index.php"
2005/05/25 23:25:12 [debug] 3472#0: *4 copy filter: "/index.php"
2005/05/25 23:25:12 [debug] 3472#0: *4 http postpone filter "/index.php" 00000000
2005/05/25 23:25:12 [debug] 3472#0: *4 copy filter: 0 "/index.php"
2005/05/25 23:25:12 [debug] 3472#0: *4 pipe write busy: 8192
2005/05/25 23:25:12 [debug] 3472#0: *4 pipe write: out:00000000, f:1
2005/05/25 23:25:12 [debug] 3472#0: *4 http output filter "/index.php"
2005/05/25 23:25:12 [debug] 3472#0: *4 copy filter: "/index.php"
2005/05/25 23:25:12 [debug] 3472#0: *4 http postpone filter "/index.php" 00000000
2005/05/25 23:25:12 [debug] 3472#0: *4 copy filter: 0 "/index.php"
2005/05/25 23:25:12 [debug] 3472#0: *4 pipe write busy: 8192
2005/05/25 23:25:12 [debug] 3472#0: *4 pipe write: out:00000000, f:1
2005/05/25 23:25:12 [debug] 3472#0: *4 http output filter "/index.php"
2005/05/25 23:25:12 [debug] 3472#0: *4 copy filter: "/index.php"
2005/05/25 23:25:12 [debug] 3472#0: *4 http postpone filter "/index.php" 00000000
2005/05/25 23:25:12 [debug] 3472#0: *4 copy filter: 0 "/index.php"
2005/05/25 23:25:12 [debug] 3472#0: *4 pipe write busy: 8192
2005/05/25 23:25:12 [debug] 3472#0: *4 pipe write: out:00000000, f:1
2005/05/25 23:25:12 [debug] 3472#0: *4 http output filter "/index.php"
2005/05/25 23:25:12 [debug] 3472#0: *4 copy filter: "/index.php"
2005/05/25 23:25:12 [debug] 3472#0: *4 http postpone filter "/index.php" 00000000
2005/05/25 23:25:12 [debug] 3472#0: *4 copy filter: 0 "/index.php"
2005/05/25 23:25:12 [debug] 3472#0: *4 pipe write busy: 8192

получил такой эффект так:
index.shtml ::
<!--#include virtual="/index.php" -->

index.php ::
<?php
    phpinfo();
    phpinfo();
?>

и потом в браузере пару раз рефреш :)





Алексей Бещёков.
proforg at maloletka.ru






More information about the nginx-ru mailing list