首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >lighttpd:后端重载+fcgi-服务器重新启用+所有处理程序都已关闭

问lighttpd:后端重载+fcgi-服务器重新启用+所有处理程序都已关闭
EN

Server Fault用户
提问于 2012-10-15 03:16:27
回答 1查看 3.5K关注 0票数 2

我们有一个使用PHP的标准lighttpd部署,我们的错误日志充斥着以下内容。这造成了一个巨大的问题,因为我们不断地把500's还给我们的客户:

代码语言:javascript
复制
2012-10-14 14:28:38: (mod_fastcgi.c.3001) backend is overloaded; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 36 
2012-10-14 14:28:38: (mod_fastcgi.c.2764) fcgi-server re-enabled:  0 /tmp/php-7735.socket 
2012-10-14 14:28:39: (mod_fastcgi.c.2764) fcgi-server re-enabled:  0 /tmp/php-7735.socket 
2012-10-14 14:28:40: (mod_fastcgi.c.3001) backend is overloaded; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 37 
2012-10-14 14:28:40: (mod_fastcgi.c.2764) fcgi-server re-enabled:  0 /tmp/php-7735.socket 
2012-10-14 14:28:41: (mod_fastcgi.c.3001) backend is overloaded; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 57 
2012-10-14 14:28:41: (mod_fastcgi.c.3001) backend is overloaded; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 57 
2012-10-14 14:28:42: (mod_fastcgi.c.3597) all handlers for /index.php? on .php are down. 

有人知道发生了什么事吗?我们重新启动了所有php和lighttpd相关进程,但这并没有解决问题。我们最终重新启动了整个盒子,现在它已经消失了,尽管我们担心它可能会在稍后回来.

总的来说,我们的部署很长一段时间都很好,这是第一次发生这种情况。

EN

回答 1

Server Fault用户

回答已采纳

发布于 2012-10-15 07:40:04

这基本上意味着所有php进程都忙于处理请求,没有可用的免费php进程来处理新的传入请求。这将导致500错误。

通常这意味着您正在运行的php代码是缓慢的,淹没了php进程。尝试让你的mysql慢日志查看慢查询是否是罪魁祸首,尝试使用php操作代码缓存(如APC )来加快速度。

票数 2
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/438332

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档