Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Abnormal server load


kunal247

Recommended Posts

Posted

Hi,

Need some help and advice on this one.

I have just been advised that my website is causing a server load, It indicates either a malformed php script or (more likely) a script which is running so many queries that it times out before it can be fully executed:

 

[Mon Feb 25 11:40:21 2008] [error] [client 85.17.165.79] Premature end of script headers: php-script [Mon Feb 25 11:40:20 2008] [error] [client 85.17.165.79] Premature end of script headers: php-script [Mon Feb 25 11:40:22 2008] [error] [client 80.6.42.29] Premature end of script headers: php-script, referer:

http://www.google.com/search?q=turntable+s...ent=safari&

rls=en&start=50&sa=N

 

How to go about resolving this issue and correcting things.

 

Appreciate an urgent response as my site is currently down.

 

Thanks!!

Posted

hallo kunal247, did you make any changes recently? I would start there, alternatively, you can turn on PHP error reporting, add this in your .htacess file

 

php_value error_reporting 2047
php_flag display_errors true
php_flag display_startup_errors true
php_flag log_errors true
php_value log_errors_max_len 100M
php_flag ignore_repeated_errors false
php_flag ignore_repeated_source false
php_flag report_memleaks true
php_flag track_errors true
php_flag html_errors false
php_value error_log /path/to/error/log

 

if you have SSH access to the server you can further use tools like, top, lsof to investigate your error,

good luck, I hope you get this fixed soon :)

 

Ciao/Riaan

I'm an osCommerce Pimp ..

Posted
hallo kunal247, did you make any changes recently? I would start there, alternatively, you can turn on PHP error reporting, add this in your .htacess file

 

php_value error_reporting 2047
php_flag display_errors true
php_flag display_startup_errors true
php_flag log_errors true
php_value log_errors_max_len 100M
php_flag ignore_repeated_errors false
php_flag ignore_repeated_source false
php_flag report_memleaks true
php_flag track_errors true
php_flag html_errors false
php_value error_log /path/to/error/log

 

if you have SSH access to the server you can further use tools like, top, lsof to investigate your error,

good luck, I hope you get this fixed soon :)

 

Ciao/Riaan

Hi,

I have added the above code to my .htaccess file.

Where do i see the errors? I am not getting any erron when looking on the website.

 

Can you help a bit more in detail.

 

thanks

Posted

Hi did you see anything in? /path/to/error/log ? Also what is your domain name :-"

 

You can also add this in your .htacess file, LogLevel debug and then check your web server error logs, if you need help ask your web host to help you with this,

 

Good luck!

 

Riaan

I'm an osCommerce Pimp ..

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...