Dear list-members

   Hi i am newbie with cherokee http server , i use cherokee with PHP
fastcgi compile but after i ranning cherokee with benchmark for
testing i was found serious problem ( may be )

   cherokee send 'shutdown connection' to PHP fastcgi ( i think that )
and php-cgi was exist and no advantage error output to debug.  what
going wrong ?

   so , i found some web resource they use shell script automatic to
restart  PHP-cgi process. but i want to know what happen and another
resolve solution may have ?

   my host Debian sid 64bit version , on AMD64


thx


cherokee-log
-------------------------------
    handler_fcgi.c:0193 (  read_from_fcgi): 8192 bytes read,
buffer.len 8184
          thread.c:0611 (   process_active_connections): thread
(0x162c0a0) processing conn (0x1671690), phase 10 'Step'
      connection.c:2611 (cherokee_connection_update_timeout): conn
(0x1671690, Step): Timeout = now + 5 secs
          thread.c:0690 (    process_active_connections): conn on
phase n=10: Step
          socket.c:1014 (   cherokee_socket_bufread): read fd=10
count=8192 ret=0 read=8192
    handler_fcgi.c:0193 ( read_from_fcgi): 8192 bytes read, buffer.len
8184
          thread.c:0611 (    process_active_connections): thread
(0x162c0a0) processing conn (0x1671690), phase 10 'Step'
      connection.c:2611 (cherokee_connection_update_timeout): conn
(0x1671690, Step): Timeout = now + 5 secs
          thread.c:0690 (    process_active_connections): conn on
phase n=10: Step
          socket.c:1014 (   cherokee_socket_bufread): read fd=10
count=8192 ret=0 read=8192
    handler_fcgi.c:0193 (  read_from_fcgi): 8192 bytes read,
buffer.len 8184
          thread.c:0611 (    process_active_connections): thread
(0x162c0a0) processing conn (0x1671690), phase 10 'Step'
      connection.c:2611 (cherokee_connection_update_timeout): conn
(0x1671690, Step): Timeout = now + 5 secs
          thread.c:0690 (    process_active_connections): conn on
phase n=10: Step
          socket.c:1014 (       cherokee_socket_bufread): read fd=10
count=8192 ret=0 read=7504
    handler_fcgi.c:0193 (                read_from_fcgi): 7504 bytes
read, buffer.len 7479
          thread.c:0611 (    process_active_connections): thread
(0x162c0a0) processing conn (0x1671690), phase 11 'Shutdown
connection'
      connection.c:2611 (cherokee_connection_update_timeout): conn
(0x1671690, Shutdown connection): Timeout = now + 5 secs
          thread.c:0690 (    process_active_connections): conn on
phase n=11: Shutdown connection
          thread.c:0268 (                 conn_set_mode): Connection
mode = reading
          socket.c:0708 (          cherokee_socket_read): Socket read
error fd=9: 'Resource temporarily unavailable'
      connection.c:1251 (cherokee_connection_linger_read): read 0,
eagain
          thread.c:0611 (    process_active_connections): thread
(0x162c0a0) processing conn (0x1671690), phase 12 'Lingering close'
          thread.c:0690 (    process_active_connections): conn on
phase n=12: Lingering close


cherokee-config
--------------------------

config!version = 000099042
server!bind!1!interface = 192.168.1.1
server!bind!1!port = 8080
server!bind!1!tls = 0
server!ipv6 = 1
server!keepalive = 1
server!keepalive_max_requests = 1000
server!panic_action = /usr/local/cherokee/bin/cherokee-panic
server!pid_file = /usr/local/cherokee/var/run/cherokee.pid
server!server_tokens = full
server!timeout = 5
vserver!10!collect_statistics = 0
vserver!10!collector!enabled = 0
vserver!10!directory_index = index.php
vserver!10!document_root = /storage/webdata/cacti
vserver!10!keepalive = 1
vserver!10!logger!x_real_ip_access_all = 0
vserver!10!logger!x_real_ip_enabled = 0
vserver!10!nick = default
vserver!10!rule!100!disabled = 0
vserver!10!rule!100!encoder!deflate = allow
vserver!10!rule!100!encoder!gzip = allow
vserver!10!rule!100!handler = fcgi
vserver!10!rule!100!handler!balancer = round_robin
vserver!10!rule!100!handler!balancer!source!1 = 1
vserver!10!rule!100!handler!extensions!php!handler = fcgi
vserver!10!rule!100!handler!extensions!php!handler!balancer =
round_robin
vserver!10!rule!100!handler!extensions!php!handler!balancer!type =
interpreter
#vserver!10!rule!100!handler!extensions!php!handler!balancer!local!
host = localhost:47990
vserver!10!rule!100!handler!extensions!php!handler!balancer!local!host
= /tmp/fcgi.sock
vserver!10!rule!100!handler!extensions!php!handler!balancer!local!
interpreter = /usr/local/php5212/bin/php-cgi -q -b /tmp/fcgi.sock
vserver!10!rule!100!handler!extensions!php!handler!priority = 99999
vserver!10!rule!100!handler!change_user = 0
vserver!10!rule!100!handler!check_file = 1
vserver!10!rule!100!handler!error_handler = 1
vserver!10!rule!100!handler!pass_req_headers = 1
vserver!10!rule!100!handler!x_real_ip_access_all = 0
vserver!10!rule!100!handler!x_real_ip_enabled = 0
vserver!10!rule!100!handler!xsendfile = 0
vserver!10!rule!100!match = default
vserver!10!rule!100!match!final = 1
vserver!10!rule!100!no_log = 0
vserver!10!rule!100!only_secure = 0
source!1!env_inherited = 1
source!1!group = www-data
#source!1!host = localhost:47990
source!1!host = /tmp/fcgi.sock
source!1!interpreter =  /usr/local/php5212/bin/php-cgi -q -b /tmp/
fcgi.sock
source!1!nick = FAST-CGI
source!1!type = interpreter
source!1!user = www-data



_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to