Current time: 05-18-2024, 08:25 PM Hello There, Guest! (LoginRegister)


Post Reply 
fastcgi incomplete headers issues
Author Message
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #8
RE: fastcgi incomplete headers issues
Oddly enough after tweaking mysql like this... some of the errors went away.... however i still have one website that gets this in his gallery2 application... but it only happens once out of 6 or 7 times..

Could it be an eAccelerator thing? i do not think so....
?
Error in apache log file, nothing interesting in suexce.log file

[Thu Nov 08 12:46:09 2007] [error] [client 64.86.63.146] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/domain.com/php4-fcgi-starter", referer: http://www.domain.com/MD/modules/gallery...itemId=320

Added the 2 below options...
read_buffer_size = 2M
join_buffer_size = 2M

Doubled the 2 below options
query_cache_limit = 2M
query_cache_size = 32M

doubled this
table_cache = 4200

doubled this
max_connections = 200

Any ideas.....

robmorin Wrote:WAIT..

i do actually see this in the output of that file i missed it before... not sure if its cause for alarm....

<b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in <b>/var/www/virtual/domain.com/htdocs/EBLASTS/new_staff_mc/config.php</b> on line <b>2</b><br />
<br />
<b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /var/www/virtual/domain.com/htdocs/EBLASTS/new_staff_mc/config.php:2) in <b>/var/www/virtual/domain.com/htdocs/EBLASTS/new_staff_mc/config.php</b> on line <b>2</b><br />


robmorin Wrote:BTW i just had a client call up, and he has the same issue where he sees error 500 via his web browser and in the error logs i see the same incomplete headers, however it seems to work sometimes and sometimes not, a refresh will sometimes make it work.... the only thing i see in common with these websites is that they use mysql... one client mentioned that he might think it is a mysql connection problem??? this is just speculation at this point...

OK i ran the sudo command and i see the php file run by... i get no errors or anything.... thats good i hope.. Smile

i ran ...
sudo -u vu2055 php4-cgi -f EBLASTS/new_staff_mc/eblast.php

and saw html output from the file... however via the web same thing error 500

Thanks for your help.... anything
else i should do?

Rob...


ephigenie Wrote:what happens if you try to exec a php script via

sudo -u vu2057 php4-cgi -f /path/to/your/php/index/or/whatever.php
11-09-2007 03:52 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: fastcgi incomplete headers issues - robmorin - 11-09-2007 03:52 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)