Hello, >From few days, i have an issue with mod_fcgi (?). For one url which is good, sometimes i can acces to it, sometimes not. When it's not, sometimes i have an error in the browser web or sometimes, the webpage is partially shown. So this is an extract of my apache log :
[Fri Sep 24 16:57:05 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Fri Sep 24 16:57:05 2010] [error] [client 88.XXX.XXX.176] Premature end of script headers: index.php, referer: http://www.site1.com/index.php/_admin/sales_order/view/order_id/1631/ [Fri Sep 24 16:57:07 2010] [notice] mod_fcgid: process 16282 going graceful shutdown, sending SIGTERM [Fri Sep 24 16:57:13 2010] [notice] mod_fcgid: process /home/site1/www/index.php(16282) exit(communication error), terminated by calling exit(), return code: 0 [Fri Sep 24 16:57:15 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Fri Sep 24 16:57:15 2010] [warn] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request function [Fri Sep 24 16:57:19 2010] [notice] mod_fcgid: process 16277 going graceful shutdown, sending SIGTERM [Fri Sep 24 16:57:19 2010] [notice] mod_fcgid: call /home/site1/www/afa/public/xmlrpc-cart.php with wrapper /var/www/site1/php-cgi [Fri Sep 24 19:04:27 2010] [error] [client 83.XXX.XXX.139] Premature end of script headers: index.php, referer: http://www.site1.com/nos-bases-pour-vos-creations/flacons-et-contenants?limit=all&manufacturer=71&p=3 [Fri Sep 24 19:04:32 2010] [notice] mod_fcgid: process 21906 going graceful shutdown, sending SIGTERM [Fri Sep 24 19:04:38 2010] [notice] mod_fcgid: process /home/site1/www/index.php(21906) exit(communication error), terminated by calling exit(), return code: 0 [Fri Sep 24 19:15:50 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Fri Sep 24 19:15:50 2010] [warn] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request function [Fri Sep 24 19:15:52 2010] [notice] mod_fcgid: process 22115 going graceful shutdown, sending SIGTERM [Fri Sep 24 19:15:58 2010] [notice] mod_fcgid: process /home/site1/www/index.php(22115) exit(communication error), terminated by calling exit(), return code: 0 [Sat Sep 25 03:00:31 2010] [notice] mod_fcgid: process /home/site1/www/index.php(9299) exit(communication error), terminated by calling exit(), return code: 0 [Sat Sep 25 03:02:13 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Sat Sep 25 03:02:13 2010] [error] [client 88.XXX.XXX.176] Premature end of script headers: index.php, referer: http://www.site1.com/index.php/_admin/catalog_product/edit/id/702/ [Sat Sep 25 03:02:16 2010] [notice] mod_fcgid: process 9630 going graceful shutdown, sending SIGTERM [Sat Sep 25 03:02:22 2010] [notice] mod_fcgid: process /home/site1/www/index.php(9630) exit(communication error), terminated by calling exit(), return code: 0 [Sat Sep 25 03:08:27 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Sat Sep 25 03:08:27 2010] [error] [client 88.XXX.XXX.176] Premature end of script headers: index.php, referer: http://www.site1.com/index.php/_admin/system_config/edit/section/sales/ [Sat Sep 25 03:08:30 2010] [notice] mod_fcgid: process 9304 going graceful shutdown, sending SIGTERM [Sat Sep 25 03:08:36 2010] [notice] mod_fcgid: process /home/site1/www/index.php(9304) exit(communication error), terminated by calling exit(), return code: 0 Do you know why i have this issue ? I don't know what to do… I put now my configuration, maybe it can help you… Sorry for my bad english. # uname -a Linux xxxxxx.domain.tld 2.6.34.6-xxxx-std-ipv6-64 #3 SMP Fri Sep 17 16:19:12 UTC 2010 x86_64 GNU/Linux # apache2 -v Server version: Apache/2.2.9 (Debian) Server built: Nov 14 2009 21:03:32 # apache2ctl -t -D DUMP_MODULES Loaded Modules: core_module (static) log_config_module (static) logio_module (static) mpm_worker_module (static) http_module (static) so_module (static) actions_module (shared) alias_module (shared) auth_basic_module (shared) authn_file_module (shared) authz_default_module (shared) authz_groupfile_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) cgid_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) expires_module (shared) fcgid_module (shared) mime_module (shared) negotiation_module (shared) rewrite_module (shared) setenvif_module (shared) ssl_module (shared) status_module (shared) suexec_module (shared) vhost_alias_module (shared) Syntax OK #cat /etc/apache2/mods-available/fcgid.load LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so #cat /etc/apache2/mods-available/fcgid.conf <IfModule mod_fcgid.c> AddHandler fcgid-script .fcgi IPCConnectTimeout 20 # IdleTimeout 300 # IdleScanInterval 240 # BusyTimeout 300 # BusyScanInterval 120 # ErrorScanInterval 6 # ZombieScanInterval 3 # ProcessLifeTime 3600 # SpawnScoreUpLimit 10 # IPCConnectTimeout 300 # IPCCommTimeout 300 </IfModule> # php5-cgi -v PHP 5.2.6-1+lenny4 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built: Nov 22 2009 01:46:24) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd., and with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies Erreur de segmentation # cat /etc/apache2/sites-available/site1.com <VirtualHost *:80> DocumentRoot "/home/site1/www" SuexecUserGroup site1 users ServerName www.site1.com ServerAlias site1.com CustomLog /home/site1/logs/site1.log combined <Directory /home/site1/www> AddHandler fcgid-script .php FCGIWrapper /var/www/site1/php-cgi .php Options ExecCGI FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> DefaultMaxClassProcessCount 1 DefaultMinClassProcessCount 1 </VirtualHost> # cat /var/www/site1/php-cgi #!/bin/bash PHP_FCGI_CHILDREN=4 PHP_FCGI_MAX_REQUESTS=1000 export PHP_FCGI_CHILDREN export PHP_FCGI_MAX_REQUESTS exec /usr/bin/php5-cgi ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Mod-fcgid-users mailing list Mod-fcgid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users