Dear Joshua, thank you for your reply! Joshua Slive wrote: Do you know about any will to patch this and incorporate it into stable release?On 8/2/05, Kamil Srot <[EMAIL PROTECTED]> wrote:Situation: I have simple PHP script serving large files for autorized users... after some time, all memory of the server is consumed by httpd processes <CUT>Indeed you have found the problem, I believe: Range headers. In order to handle out-of-order range requests (which are allowed by the spec), httpd must buffer the entire response. Of course, that is very bad behavior. Instead, httpd should just ignore out-of-order range requests (which the spec also allows) and serve the entire thing. ...maybe current behavior is good in some cases (I don't understand) but I can imagine many people having the same problems as I do... maybe some configuration directive can take place in case both behaviors are correct... Currently I was forced to switch to downloads directly from filesystem - version 1 of apache didn't seen to have this problem, but I had other issues which are all solved now... just this one remains... (as I hope :) I got the same idea but failed to find any note about this in documentation...There is probably some way to get httpd to ignore the range header, either using the RequestHeader directive or using one of the special environment variables. But I've never done it myself. Any hints about what to look for? I do appreciate your answer - thank you, Joshua. Best Regards, -- Kamil Srot |
- Re: [EMAIL PROTECTED] Memory consumption Kamil Srot
- Re: [EMAIL PROTECTED] Memory consumption Joe Orton
- [EMAIL PROTECTED] Configuration access restriction ... Chris Johnson
- Re: [EMAIL PROTECTED] Configuration access rest... Joshua Slive
- Re: [EMAIL PROTECTED] Configuration access ... Chris Johnson
- Re: [EMAIL PROTECTED] Configuration ac... Joshua Slive
- Re: [EMAIL PROTECTED] Configuratio... Chris Johnson
- Re: [EMAIL PROTECTED] Configur... Joshua Slive
- Re: [EMAIL PROTECTED] Configur... Chris Johnson
- [EMAIL PROTECTED] [EMAIL PROTE... waRhawK
- Re: [EMAIL PROTECTED] Configur... Joshua Slive