Re: Get request of large file size greater than 100KB

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

 



Perhaps this thread will help you out...
https://stackoverflow.com/questions/33811543/php-and-mod-fcgid-ap-pass-brigade-failed-in-handle-request-ipc-function#
On Thu, Sep 27, 2018 at 1:15 AM Hemant Chaudhary
<hemantdude.chaudhary@xxxxxxxxx> wrote:
>
> Hi All,
>
> I am trying to access large file(get request) of large file. This is working properly if size of file is less than 52KB. But size greater than 52KB is giving me error 4022.
>
> I have debugged and come to know that writev function can write maximum upto 52KB only. Therefore I changed the default value of THRESOLD_MAX_BUFFER to 42KB so that my writev will not reach to 52KB. THRESOLD_MAX_BUFFER to 42KB helps me to solve the issue for PUT request.
>
> But in get request while accessing large file, size of brigade crosses 52KB. As 52KB is greater than THRESOLD_MAX_BUFFER(42KB). It is trying to flush the data. But limit of writev on my OS is maximum 52KB only. Therefore it is giving 4022 error.
>
> Is there any way where I can control apache so that size of brigade will never cross 52KB? or any other approach/ configuration parameter can be used to solve this issue ?
>
> Thanks
> Hemant

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux