normal for Apache to hang?
| From: | Derek Sivers | Date: | Thu, 15 Mar 2001 05:37:28 +0000 |
| Subject: | normal for Apache to hang? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43966@lists.php.net to get a copy of this message | ||
Does your Apache hang?
Is that normal?
To have commands sitting for 1-2 minutes?
Using Apache 1.3.17 + PHP 4.0.4pl1 + newest MySQL on a Debian Linux box.
I use PHP for pretty much everything.
So I have Apache set to parse all files as PHP.
But that's never been a problem before.
(This is a new server, therefore new Apache, PHP, MySQL, etc.)
Any ideas?
Check out this "top" report:
53 processes: 52 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 0.2% user, 0.7% system, 0.0% nice, 99.0% idle
Mem: 512452K av, 503160K used, 9292K free, 0K shrd, 7260K buff Swap: 979956K av, 0K used, 979956K free 372228K cached
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND[[.... snip some other processes here ....]]
12345 www 9 0 4648 4648 2240 S 0 0.0 0.9 1:05 httpd 12346 www 9 0 4792 4792 2244 S 0 0.0 0.9 1:12 httpd 12347 www 9 0 4600 4600 2240 S 0 0.0 0.8 1:08 httpd 12348 www 9 0 4964 4964 2240 S 0 0.0 0.9 1:08 httpd 12349 www 10 0 4912 4912 2292 S 0 0.0 0.9 1:08 httpd 12352 www 9 0 4868 4868 2248 S 0 0.0 0.9 1:04 httpd 12358 www 9 0 4736 4736 2248 S 0 0.0 0.9 1:05 httpd 12359 www 9 0 4744 4744 2240 S 0 0.0 0.9 1:09 httpd 12360 www 9 0 5036 5036 2428 S 0 0.0 0.9 1:10 httpd 12361 www 9 0 4656 4656 2248 S 0 0.0 0.9 1:12 httpd 12377 mysql 9 0 6624 6624 2076 S 0 0.0 1.2 0:04 mysqld 12378 mysql 9 0 6624 6624 2076 S 0 0.0 1.2 0:05 mysqldWhaddya think?