View Single Post
  #6  
Old 1st December 2011, 21:39
DiscipleGeek DiscipleGeek is offline
Junior Member
 
Join Date: Aug 2011
Posts: 6
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by stefanm View Post
That looks ok. Have you tried disabling suexec for the ispconfig interface?
At the risk of sounding completely ignorant, how do I do this for just one site?

Quote:
Originally Posted by Ben View Post
From what I read when googling around for that issue, is this maybe
- a timeout error, that the script takes too long to generate data to send
- the request limit is reached for fcgi processes

Can you reproduce the error anyhow?

Does raising the loglevel in apache help to get any further details?
These are the results of raising the log level to debug:

Code:
[Thu Dec 01 13:27:11 2011] [debug] fcgid_proc_unix.c(354): mod_fcgid: call /var/www/ispconfig/index.php with wrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter
[Thu Dec 01 13:27:11 2011] [info] mod_fcgid: server server.gracesites.com:/var/www/ispconfig/index.php(11806) started
[Thu Dec 01 13:27:11 2011] [warn] [client 97.67.115.165] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Thu Dec 01 13:27:11 2011] [error] [client 97.67.115.165] Premature end of script headers: index.php
[Thu Dec 01 13:27:17 2011] [info] mod_fcgid: process /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter(11806) exit(communication error), terminated by calling exit(), return code: 0
Also, here's the contents of the php-fcgi-starter wrapper file that's referenced:


Code:
#!/bin/sh
PHPRC=/etc/
export PHPRC
export PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_CHILDREN=8
exec /usr/bin/php -d magic_quotes_gpc=off -d session.save_path=/usr/local/ispconfig/server/temp

Last edited by DiscipleGeek; 1st December 2011 at 22:27.
Reply With Quote