mod_fcgid:无法为 /web/cgi-bin/php-fcgi 应用进程槽


mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi

>我在基于 php Linux 的服务器中收到以下错误,托管在 godaddy WordPress 主题中

错误信息"服务不可用 由于维护停机或容量问题,服务器暂时无法满足您的请求。请稍后重试

位于 wwww.checkmoviereview.com 端口 80 的 Apache 服务器">

问题只发生在某个系统中,对我来说它不起作用,而对于我的朋友和 godaddy 支持人们它的工作。我的网站也没有太多流量。

我最近为安卓应用程序创建了一个 php 页面,我认为这是不关闭连接的罪魁祸首。有人可以帮助我我在代码中做错了什么。一旦我开始使用新创建的代码,它将给出 503 错误,几个小时后它将再次开始工作">

法典

<?php
mysql_connect(<username & password I am giving here>);
mysql_select_db(<db name i am giving here>);
define('WP_USE_THEMES', false);
require_once('wp-blog-header.php'); 
$i =0;
$rate_query = null;
$rate_query =  new WP_Query( array ( 'post_type' => 'movies', 'orderby' => 'meta_value', 'meta_key' => 'wtf_rscore','posts_per_page'=>'20' ) );
while ($rate_query->have_posts() ) : $rate_query->the_post();
$rcat=get_post_meta($post->ID, 'wtf_category', true);
$rscore=get_post_meta($post->ID, 'wtf_rscore', true);
$rdirec=get_post_meta($post->ID, 'wtf_dirctr', true);
$rgenre=get_the_term_list( $post->get_the_ID, 'movie-genre', '', ', ', '' );    
if ($rcat == 'Bollywood') 
echo  get_image_url() . ",,," . get_the_title() . ",,," . $rscore . ",,," . get_the_content('Read the rest of this entry &raquo;') . ",,," . $rdirec . ",,,". $rgenre . ",,,"; //I am using this echo result in java program
$i = $i + 1;
endwhile; 
mysql_close();
$rate_query = null;
?>

来自服务器的错误日志信息

[Thu Oct 10 03:58:38 2013] [11814296] [fcgid:warn] [client 106.76.211.138:44799] mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi
[Thu Oct 10 03:58:42 2013] [11814296] [fcgid:warn] [client 106.76.211.138:44567] mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi
[Thu Oct 10 03:58:46 2013] [11814296] [fcgid:warn] [client 106.76.211.138:2152] mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi
[Thu Oct 10 03:58:50 2013] [11814296] [fcgid:warn] [client 106.76.211.138:37856] mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi
[Thu Oct 10 03:58:54 2013] [11814296] [fcgid:warn] [client 106.76.211.138:24984] mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi
[Thu Oct 10 03:58:58 2013] [11814296] [fcgid:warn] [client 106.76.211.138:54537] mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi
[Thu Oct 10 03:59:03 2013] [11814296] [fcgid:warn] [client 106.76.211.138:32542] mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi
[Thu Oct 10 03:59:09 2013] [11814296] [fcgid:warn] [client 106.76.211.138:26424] mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi
[Thu Oct 10 03:59:21 2013] [11814296] [fcgid:warn] [client 106.76.211.138:37370] mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi
[Thu Oct 10 03:59:57 2013] [11814296] [fcgid:warn] [client 106.76.211.138:21834] mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi
[Thu Oct 10 04:02:57 2013] [11814296] [fcgid:warn] [client 106.76.211.138:40323] mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi
[Thu Oct 10 04:03:01 2013] [11814296] [fcgid:warn] [client 106.76.211.138:26866] mod_fcgid: can't apply process slot for /web/cgi-bin/php-fcgi

我面临着同样的问题,发现更多的 godaddy 客户也面临着同样的问题。http://support.godaddy.com/groups/web-hosting/forum/topic/fcgid-internal-error/

看起来 godaddy 有一些变化触发了这个错误,谈到支持,但解决方案是使用专用或虚拟主机计划。