Web Servers on Unix and Linux - Apache (php/mysql) randomly not responding - w/no errors

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > April 2006 > Apache (php/mysql) randomly not responding - w/no errors





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache (php/mysql) randomly not responding - w/no errors
jeff.macmichael@gmail.com

2006-04-27, 7:24 am

GAH... I'm having a weird issue with my LAMP setup, and its about
driving me nutty. (Short drive.)

I have a VPS that is experiencing some Apache timeouts I just can't
trace... frequently during the day, Apache just doesn't respond -
usually timing out at the Timeout set in httpd.conf (10 secs).

Weird thing is, most often it's during a POST operation (comment
submission and the like). php isn't returning any errors (nothing in
the error log anyway). Nothing seems to be straining the server. No
errors that I can find... just no response, at seemingly random
occasions. From many places in the US.

Multiple retries on the post request (three to ten times) eventually
will get something through.

I'm gearing up to change hosts thinking it might be a network or host
issue on their part, but doing so would be a pain... so if I'm missing
something stupid, I hope someone can point it out.

Some info about the setup - everything is on the same VPS
* VServer-based VPS with 256 MB memory
* Debian Sarge (up to date)
* Apache 1.3.33
* php 4.3.10 (safe mode off, 30 sec max run time, 8MB memory max) via
libapache-mod-php4
* mysql 4.0.24
* php scripts (Nucleus CMS, SMF forum); both using gzip compression

Here are some pertinent stats from the last time I saw the issue:
* Apache: 2 requests currently being processed, 8 idle servers
* Memory: 524288 total, 64992 used, 459296 available, 0 shared, 0
buffers, 502296 cached
* VPS uptime: 14:26:01 up 19 days, 23:22, 0 users, load average: 0.01,
0.00, 0.00
* MySQL: Uptime: 31813, Threads: 7, Questions: 40270, Slow queries: 0,
Opens: 220, Flush tables: 1, Open tables: 64, Queries per second avg:
1.266

Not much going on. Nothing to speak of in the apache, mysql, php, or
system error logs. I'm stumped.

Any thoughts as to config issues? Have I missed anything?

Thanks all

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com