Jump to content

Recommended Posts

hi everyone.

 

i have a strange problem, i have a client running a very simple php script on my server which is somehow causing a really high load and making server unresponsive by creating hundreds of simultaneous connections. (i see lots of php processes under this user and i see hundreds of incoming connections from server to itself again as if the script is causing a loop?)

 

i am not a php expert. but when i look at his script it seems as if it's acting like a proxy, that should try to connect a remote server to retrieve something.

 

when i look at the error log in the same directory i just see the errors below and i couldn't understand what this error exactly means?

 

[29-Oct-2012 13:40:09] 302

[29-Oct-2012 13:40:09] 302

[29-Oct-2012 13:40:09] 302

[29-Oct-2012 13:40:09] 302

[29-Oct-2012 13:40:09] 302

[29-Oct-2012 13:40:09] 302

[29-Oct-2012 13:40:09] 302

[29-Oct-2012 13:40:09] 302

[29-Oct-2012 13:40:09] 302

....

 

anyone have any idea about how to track down this issue? i almost checked all web server-php related logs but could not find anything.

 

thanks!

Is there more to the log messages than you're posting? What you've posted isn't enough to determine what's happening.

 

Only thing we can say now is that the 302 probably means the script redirected someplace.

the log file is quite long. i've just checked the whole file and found two more error types as below;

 

 

[29-Oct-2012 13:37:01] 200

[29-Oct-2012 13:37:01] 200

[29-Oct-2012 13:37:01] 200

[29-Oct-2012 13:37:01] 200

[29-Oct-2012 13:37:01] 200

[29-Oct-2012 13:37:01] 200

[29-Oct-2012 13:37:01] 200

[29-Oct-2012 13:37:01] 200

[29-Oct-2012 13:30:58] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0

[29-Oct-2012 13:30:58] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0

[29-Oct-2012 13:30:58] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0

[29-Oct-2012 13:30:58] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0

 

and below is access log;

 

x.x.x.x - - [29/Oct/2012:12:30:51 -0700] "GET /favicon.ico HTTP/1.1" 200 - "-" "-"

x.x.x.x - - [29/Oct/2012:12:30:50 -0700] "GET /favicon.ico HTTP/1.1" 200 - "-" "-"

x.x.x.x - - [29/Oct/2012:12:30:50 -0700] "GET /favicon.ico HTTP/1.1" 200 - "-" "-"

x.x.x.x - - [29/Oct/2012:12:30:52 -0700] "GET /favicon.ico HTTP/1.1" 200 - "-" "-"

x.x.x.x - - [29/Oct/2012:12:30:52 -0700] "GET /favicon.ico HTTP/1.1" 200 - "-" "-"

x.x.x.x - - [29/Oct/2012:12:30:56 -0700] "GET /favicon.ico HTTP/1.1" 200 - "-" "-"

x.x.x.x - - [29/Oct/2012:12:30:57 -0700] "GET /favicon.ico HTTP/1.1" 200 - "-" "-"

x.x.x.x - - [29/Oct/2012:12:30:57 -0700] "GET /favicon.ico HTTP/1.1" 200 - "-" "-"

x.x.x.x - - [29/Oct/2012:12:30:57 -0700] "GET /favicon.ico HTTP/1.1" 200 - "-" "-"

x.x.x.x - - [29/Oct/2012:12:30:51 -0700] "GET /favicon.ico HTTP/1.1" 200 - "-" "-"

 

x.x.x.x is the ip of server itself.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.