ispCP - Board - Support
fastcgi incomplete headers issues - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: fastcgi incomplete headers issues (/thread-1741.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11


RE: fastcgi incomplete headers issues - robmorin - 11-10-2007 12:29 AM

Whats odd is that as i increase the children from 2 to 4 or 6 i get the error 500 more often then with a lower number???

Any ideas?

Thanks Rob...
p.s. searching for fcgi stuff on this forum did not result in to much info, well in English anyways.. Smile


robmorin Wrote:ok i will look around thanks for the tip!

Have a great day/evening!

Rob..

ephigenie Wrote:if you've heavy traffic sites, it helps to increase the FCGI_CHILDREN in the php[4,5]-fcgi-starter from 2 to something like 4 - or even higher.

In Addition there're quiet a lot options for mod_fastcgi pls use the search function in here - you'll find a lot about that topic ...



RE: fastcgi incomplete headers issues - robmorin - 11-10-2007 06:55 AM

I am getting more and more clients telling me they are getting that dreaded error 500, is there a way to turn off fastcgi for debugging purposes without going through a whole process?

Am i the only one having these issue? I would assume others would have it to... but like i mentioned before it only seems to happen when there is a database with mysql involved, other than that the plain Jane sites are ok...

Any suggestions?

Thanks to all in advance

Rob..

robmorin Wrote:Whats odd is that as i increase the children from 2 to 4 or 6 i get the error 500 more often then with a lower number???

Any ideas?

Thanks Rob...
p.s. searching for fcgi stuff on this forum did not result in to much info, well in English anyways.. Smile


robmorin Wrote:ok i will look around thanks for the tip!

Have a great day/evening!

Rob..

ephigenie Wrote:if you've heavy traffic sites, it helps to increase the FCGI_CHILDREN in the php[4,5]-fcgi-starter from 2 to something like 4 - or even higher.

In Addition there're quiet a lot options for mod_fastcgi pls use the search function in here - you'll find a lot about that topic ...



RE: fastcgi incomplete headers issues - achioo - 11-11-2007 02:53 AM

robmorin to turn off fastcgi just do a2dismod fastcgi and reload your apache


RE: fastcgi incomplete headers issues - joximu - 11-11-2007 06:30 AM

maybe also a2dismod fastcgi_ispcp or similar...


RE: fastcgi incomplete headers issues - raphael - 11-11-2007 08:08 AM

Quote:a2dismod fastcgi_ispcp
that's the one Smile

but you should know that ispCP (front-end) might not work properly when fastcgi is disabled; so in any case you might want to keep fastcgi enabled for the panel


RE: fastcgi incomplete headers issues - Cube - 11-11-2007 08:47 AM

ispCP already has the mod_php sections in the config. So if the front-end would work, ispCP would be fully compatible with mod_php. This doesn't work only because of the file permissions? So perhaps a second set-gui-permissions.sh would be a good nice-to-have feature.


RE: fastcgi incomplete headers issues - ephigenie - 11-11-2007 10:26 PM

Pls try changing your /etc/apache2/mods-available/fastcgi.conf
(or fastcgi_ispcp.conf accordingly)

Find the line with :
FastCgiConfig ...

and comment it out.
the place a new line beyound that with :
Code:
FastCgiConfig -idle-timeout 300 -killInterval 60 -multiThreshold 80 -startDelay 5 -maxClassProcesses 10 -maxProcesses 400 -minProcesses 10 -listen-queue-depth 400 -pass-header HTTP_AUTHORIZATION
maybe this helps.
This are the settings i'm currently using on this server we've had 500's for a long time.
And in addition since the isp-control.net domain is under heavy usage, i set
Code:
PHP_FCGI_CHILDREN=15
in my php-fcgi-starter.

Hope that helps.

Disabling fastcgi completely is not an option i would really consider seriously.
Because then there's only little protection left to keep intruders away from accessing data they do not own ...


RE: fastcgi incomplete headers issues - robmorin - 11-12-2007 11:58 PM

OK, i added those options to the config and restarted... i will keep an eye on the websites and log files to make sure i do not see any more..
incomplete headers in there!

Thanks for your help!

Rob...


ephigenie Wrote:Pls try changing your /etc/apache2/mods-available/fastcgi.conf
(or fastcgi_ispcp.conf accordingly)

Find the line with :
FastCgiConfig ...

and comment it out.
the place a new line beyound that with :
Code:
FastCgiConfig -idle-timeout 300 -killInterval 60 -multiThreshold 80 -startDelay 5 -maxClassProcesses 10 -maxProcesses 400 -minProcesses 10 -listen-queue-depth 400 -pass-header HTTP_AUTHORIZATION
maybe this helps.
This are the settings i'm currently using on this server we've had 500's for a long time.
And in addition since the isp-control.net domain is under heavy usage, i set
Code:
PHP_FCGI_CHILDREN=15
in my php-fcgi-starter.

Hope that helps.

Disabling fastcgi completely is not an option i would really consider seriously.
Because then there's only little protection left to keep intruders away from accessing data they do not own ...



[Solved]RE: fastcgi incomplete headers issues - robmorin - 11-14-2007 12:06 AM

Thanks a bunch , no errors whatsoever in the last 24 hours!

You da man!

This info should be put in the FAQ possibly??

A good one to all!

Rob..

robmorin Wrote:OK, i added those options to the config and restarted... i will keep an eye on the websites and log files to make sure i do not see any more..
incomplete headers in there!

Thanks for your help!

Rob...


ephigenie Wrote:Pls try changing your /etc/apache2/mods-available/fastcgi.conf
(or fastcgi_ispcp.conf accordingly)

Find the line with :
FastCgiConfig ...

and comment it out.
the place a new line beyound that with :
Code:
FastCgiConfig -idle-timeout 300 -killInterval 60 -multiThreshold 80 -startDelay 5 -maxClassProcesses 10 -maxProcesses 400 -minProcesses 10 -listen-queue-depth 400 -pass-header HTTP_AUTHORIZATION
maybe this helps.
This are the settings i'm currently using on this server we've had 500's for a long time.
And in addition since the isp-control.net domain is under heavy usage, i set
Code:
PHP_FCGI_CHILDREN=15
in my php-fcgi-starter.

Hope that helps.

Disabling fastcgi completely is not an option i would really consider seriously.
Because then there's only little protection left to keep intruders away from accessing data they do not own ...



RE: fastcgi incomplete headers issues - rbtux - 11-14-2007 12:37 AM

maybe you consider giving him a reputation ;-)