Re: PHP download page blocking other HTTP requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7 June 2011 09:24, Pete Ford <pete@xxxxxxxxxxxxx> wrote:
> On 06/06/11 21:07, Richard Quadling wrote:
>>
>> On 6 June 2011 13:55, Pete Ford<pete@xxxxxxxxxxxxx> Âwrote:
>>>
>>> Is there something on the Apache/PHP end that might be causing this
>>> blocking? (Apache 2.2.10, PHP 5.2.14)
>>
>> The browser and / or OS may be obeying the settings about the number
>> of simultaneous connections per host.
>> http://support.microsoft.com/kb/183110 /
>> http://www.ietf.org/rfc/rfc2616.txt 8.1.4 Practical Considerations ...
>>
>> " Â Clients that use persistent connections SHOULD limit the number of
>> Â Âsimultaneous connections that they maintain to a given server. A
>> Â Âsingle-user client SHOULD NOT maintain more than 2 connections with
>> Â Âany server or proxy. A proxy SHOULD use up to 2*N connections to
>> Â Âanother server or proxy, where N is the number of simultaneously
>> Â Âactive users. These guidelines are intended to improve HTTP response
>> Â Âtimes and avoid congestion."
>>
>> Also, (from googling)
>>
>> http://forums.serverbeach.com/showthread.php?6192-Max-Concurrent-Connections-Per-Host,
>> mod_throttle and/or mod_bandwidth may be capable of restricting the
>> number and/or speed of connections.
>>
>
> Thanks Richard,
>
> There's no mod_throttle or mod_bandwidth, but I SHOULD have remembered
> RFC2616. I'll look into working with that, although I'm having trouble
> reproducing the problem since my dev machine sits on the same network as the
> server and the files come down too quickly!
> Maybe I can use a redirect or something to force a new connection...
>

One option may be  to use a sub-domain for the downloads, that way,
you could allow the main site to run as fast as needed and have
downloads on a different setup and not subject to the same limit.


-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux