| 阅读上一个主题 :: 阅读下一个主题 |
| 作者 |
留言 |
ilangilang 半仙
注册时间: 2006-03-31 文章: 104
|
发表于: Sun 2008-03-23 22:10:46 发表主题: lighttpd日志经常出现unexpected end-of-file错误 |
|
|
lighttpd运行一直很好,昨天查看日志的时候发现有大量的unexpected end-of-file错误,但是前台网站运行一切正常,检查了半天没发现是什么原因引起的,到lighttpd论坛找,好像也没有一个确切的原因。lighttpd版本是 1.4.19,php版本5.2.5
错误日志如下 | 代码: | 2008-03-23 21:04:57: (server.c.1258) NOTE: a request for /bbs/attachment.php?aid=119325 timed out after writing 1747736 bytes. We waited 1440 seconds. If this a problem increase
2008-03-23 21:14:03: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60876 socket: unix:/tmp/php-fastcgi.socket-6
2008-03-23 21:14:03: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-6 for /bbs/gzoutput.php , terminating con
2008-03-23 21:22:53: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60876 socket: unix:/tmp/php-fastcgi.socket-6
2008-03-23 21:22:53: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-6 for /bbs/gzoutput.php , terminating con
2008-03-23 21:23:07: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60909 socket: unix:/tmp/php-fastcgi.socket-7
2008-03-23 21:23:07: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-7 for /bbs/post.php , terminating connect
2008-03-23 21:26:53: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60909 socket: unix:/tmp/php-fastcgi.socket-7
2008-03-23 21:26:53: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-7 for /bbs/gzoutput.php , terminating con
2008-03-23 21:32:57: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60909 socket: unix:/tmp/php-fastcgi.socket-7
2008-03-23 21:32:57: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-7 for /bbs/gzoutput.php , terminating con
2008-03-23 21:36:20: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60876 socket: unix:/tmp/php-fastcgi.socket-6
2008-03-23 21:36:20: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-6 for /bbs/gzoutput.php , terminating con
2008-03-23 21:40:58: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60843 socket: unix:/tmp/php-fastcgi.socket-5
2008-03-23 21:40:58: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-5 for /bbs/my.php , terminating connectio
2008-03-23 21:47:42: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60876 socket: unix:/tmp/php-fastcgi.socket-6
2008-03-23 21:47:42: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-6 for /bbs/gzoutput.php , terminating con
2008-03-23 21:49:24: (request.c.535) no uri specified -> 400
2008-03-23 21:49:25: (request.c.535) no uri specified -> 400
2008-03-23 21:50:51: (server.c.1258) NOTE: a request for /bbs/attachments/month_0803/20080322_be58238c4e10d29c8064wgOaOXtT8XvG.jpg timed out after writing 327917 bytes. We waite
2008-03-23 21:57:23: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60876 socket: unix:/tmp/php-fastcgi.socket-6
2008-03-23 21:57:23: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-6 for /bbs/gzoutput.php , terminating con
2008-03-23 21:57:27: (request.c.535) no uri specified -> 400
2008-03-23 21:57:27: (request.c.535) no uri specified -> 400
2008-03-23 21:57:58: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60876 socket: unix:/tmp/php-fastcgi.socket-6
2008-03-23 21:57:58: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-6 for /bbs/viewthread.php , terminating c
2008-03-23 21:58:22: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60909 socket: unix:/tmp/php-fastcgi.socket-7
2008-03-23 21:58:22: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-7 for /bbs/gzoutput.php , terminating con
2008-03-23 21:59:25: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60810 socket: unix:/tmp/php-fastcgi.socket-4
2008-03-23 21:59:25: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-4 for /bbs/gzoutput.php , terminating con
2008-03-23 22:03:22: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60876 socket: unix:/tmp/php-fastcgi.socket-6
2008-03-23 22:03:22: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-6 for /single_sidebox.php , terminating c
2008-03-23 22:03:22: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60876 socket: unix:/tmp/php-fastcgi.socket-6
2008-03-23 22:03:22: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-6 for /bbs/gzoutput.php , terminating con
2008-03-23 22:03:54: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60843 socket: unix:/tmp/php-fastcgi.socket-5
2008-03-23 22:03:54: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-5 for /bbs/gzoutput.php , terminating con
2008-03-23 22:03:55: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60843 socket: unix:/tmp/php-fastcgi.socket-5
2008-03-23 22:03:55: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-5 for /bbs/gzoutput.php , terminating con
2008-03-23 22:04:38: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60909 socket: unix:/tmp/php-fastcgi.socket-7
2008-03-23 22:04:38: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-7 for /bbs/gzoutput.php , terminating con
2008-03-23 22:05:26: (request.c.535) no uri specified -> 400
2008-03-23 22:05:26: (request.c.535) no uri specified -> 400
2008-03-23 22:06:53: (mod_fastcgi.c.2471) unexpected end-of-file (perhaps the fastcgi process died): pid: 60810 socket: unix:/tmp/php-fastcgi.socket-4
2008-03-23 22:06:53: (mod_fastcgi.c.3296) response already sent out, but backend returned error on socket: unix:/tmp/php-fastcgi.socket-4 for /bbs/gzoutput.php , terminating con |
_________________ 串珠饰品批发网
手工爱好者
手工制作网站大全 |
|
| 返回页首 |
|
 |
ilangilang 半仙
注册时间: 2006-03-31 文章: 104
|
发表于: Sun 2008-03-23 22:12:11 发表主题: |
|
|
lighttpd.conf设置如下
| 代码: | fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/local/www/cgibin/php5cgi -v /usr/local/etc/php.ini",
"min-procs" => 3,
"max-procs" => 8,
"max-load-per-proc" => 4,
"idle-timeout" => 20,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "32",
"PHP_FCGI_MAX_REQUESTS" => "1000",
),
"broken-scriptfilename" => "enable"
)
),
".cgi" =>
( "localhost" =>
(
"socket" => "/tmp/dispatch.fcgi",
"bin-path" => "/home/www/dispatch_lig.sh",
"min-procs" => 1,
"max-procs" => 4,
"max-load-per-proc" => 4,
"idle-timeout" => 20
)
)
)
|
_________________ 串珠饰品批发网
手工爱好者
手工制作网站大全 |
|
| 返回页首 |
|
 |
ilangilang 半仙
注册时间: 2006-03-31 文章: 104
|
|
| 返回页首 |
|
 |
ilangilang 半仙
注册时间: 2006-03-31 文章: 104
|
发表于: Tue 2008-03-25 09:34:05 发表主题: |
|
|
google了一番,解决了
changing
"socket" => "/tmp/php.socket",
into
"socket" => "/tmp/php.socket" + var.PID,
ended my suffering  _________________ 串珠饰品批发网
手工爱好者
手工制作网站大全 |
|
| 返回页首 |
|
 |
ilangilang 半仙
注册时间: 2006-03-31 文章: 104
|
发表于: Tue 2008-03-25 11:15:25 发表主题: |
|
|
不行,还是出现那个问题,好像是php5.2.5的bug _________________ 串珠饰品批发网
手工爱好者
手工制作网站大全 |
|
| 返回页首 |
|
 |
七星剑客 半仙
注册时间: 2008-04-05 文章: 1
|
发表于: Sat 2008-04-05 23:24:10 发表主题: |
|
|
| 我也碰到了这个问题,从php 5.2.4就开始有了,我先前也以为是php的bug,但升级到php 5.2.5后,问题依然存在。不知哪位仁兄有解决办法。 |
|
| 返回页首 |
|
 |
|
|
您不能发布新主题 您不能在这个论坛回复主题 您不能在这个论坛编辑自己的文章 您不能在这个论坛删除自己的文章 您不能在这个论坛发表投票
|
|