php blocking in apache??

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
wmnwmn
Forum Newbie
Posts: 2
Joined: Mon Feb 04, 2008 9:28 pm

php blocking in apache??

Post by wmnwmn »

I know this must be a total ignoramus question...but what I'm seeing is this:

I have apache 2.2 + php5. Apache spawns multiple httpd as it is supposed to.
However, I am seeing that a php request cannot be processed until the
previous is done. Specifially: if I request a file containing this
<?php sleep(100); ?>
then my apache server is effectively dead for 100 secs. It won't
serve any other request until this one finishes.

I could swear that my server didn't always act this way but I can see no config
parameter relevant to this. I'm using the defaults for all the apache
load management variables.

Any help highly appreciated!!
wmnwmn
Forum Newbie
Posts: 2
Joined: Mon Feb 04, 2008 9:28 pm

Re: php blocking in apache??

Post by wmnwmn »

Update - I found to my relief that this only happens with requests coming from different tabs of the same browser. This removes 99% of my problems with this behavior although I still find it a little odd.
Post Reply