only two concurrent php scripts at a time
hi,
i can't make more than two concurrent requests to a php script - i mean
when i make say 20 simultaneous requests then two first execute but 18 remaining
are waiting for them, then the next two scripts are handled and so on.
why only two? how to change that?
it's not session locking for sure - i use session_write_close,
and actually i stripped down my script so that now has just some
slow-down loop.
it's php 4.2 and apache 2, linux
regards
em
Re: only two concurrent php scripts at a time
Apache limits it to two defaultly. I believe it's the MaxClients
directive in the httpd.conf.
Re: only two concurrent php scripts at a time
> Apache limits it to two defaultly. I believe it's the MaxClients
> directive in the httpd.conf.
No, MaxClients is usually more than 100. The problem was in Firefox and IE
- they have a limit of 2 concurrent connections to one server... :/
Thanks anyway,
em
Re: only two concurrent php scripts at a time
"em" <example [at] example.com> wrote in message
news:dqt7o7$i7d$1 [at] inews.gazeta.pl...
>> Apache limits it to two defaultly. I believe it's the MaxClients
>> directive in the httpd.conf.
>
> No, MaxClients is usually more than 100. The problem was in Firefox and IE
> - they have a limit of 2 concurrent connections to one server... :/
> Thanks anyway,
> em
You can get round that by using subdomains. That'll give you as many
connections as you want:
site1.mysite.com
site2.mysite.com
etc.