Hi All,
I have a limitation for writev and readv to 52KB.
I was getting error for writev, therefore I changed THRESHOLD_MAX_BUFFER to
42KB. After that I was not getting any error.
Now in GET request of large file, I am getting the same 4022 error. This
may be because of readv function.
Is there a
Hi Yann,
42Kb works for me. Thanks for your support.
Regards,
Hemant
On Mon, Sep 17, 2018 at 9:16 PM Hemant Chaudhary <
hemantdude.chaudh...@gmail.com> wrote:
> If it will flush data then at what condition it will go to apr_poll
> function ??
>
> What I understand is that if buffer is filled wi
If it will flush data then at what condition it will go to apr_poll
function ??
What I understand is that if buffer is filled with 52KB data and writev is
not ready then it should go into apr_poll().
Now the problem may exist with 42KB also.
I hope I am explained my issue.
Thanks
Hemant
On Se
On Mon, Sep 17, 2018 at 3:27 PM Yann Ylavic wrote:
>
> Otherwise, you need a patch like the one attached (untested)...
Sorry, it did not compile, so here is v2.
With this patch, you could compile httpd with "-D
MAX_BYTES_TO_WRITEV=52000" for instance.
Index: server/core_filters.c
Hi,
On Mon, Sep 17, 2018 at 1:51 PM Hemant Chaudhary
wrote:
>
> in the apache error_log with trace6, it is trying to flush because it reached
> thresold_max_buffer. But at the same time, it is adding data in buffer which
> increases it size to to more than 52KB and fails on NonStop.
Yes, THRES
Hi,
in the apache error_log with trace6, it is trying to flush because it
reached thresold_max_buffer. But at the same time, it is adding data in
buffer which increases it size to to more than 52KB and fails on NonStop.
How should I stop apache so that it should go to select function till 52KB
suc
Hi Yann,
Thanks for your explanation. I got the issue.
Actually NonStop has maximum limit of 52KB only for writev. Therefore I was
getting 4022 after 49KB. Because after 49KB, apache is adding 8K more bytes
which leads to 56KB. Therefore, writev was failing.
To solve this, I have changed THRESH
Hi Hermant,
On Fri, Sep 14, 2018 at 1:53 PM Hemant Chaudhary
wrote:
>
> Please don't get confuse with Cygwin(Windows). I am running apache on
> NonStop(Tandem).
Well, isn't the error_log attached to the previous message relevant
(be it cygwin or not)?
Btw, LogLevel trace6 would help here.
> I
Hi Yann,
Please don't get confuse with Cygwin(Windows). I am running apache on
NonStop(Tandem). I have put breakpoint at apr_poll() but it is not going
there.
Few Events of writing :
1) apache writes 779 bytes to tomcat from apr_socket_sendv() function and
writev functions returns success.
2) apac
Hi Hermant,
On Fri, Sep 14, 2018 at 8:08 AM Hemant Chaudhary
wrote:
>
> I have tried to upload a file of 26.5mb on apache tomcat, which was
> successfull.
> I tried to proxy request to tomcat with same file. But get following error.
> Attaching the error_log.
>
> Can you please help me to unders
Hi Yann
I have tried to upload a file of 26.5mb on apache tomcat, which was
successfull.
I tried to proxy request to tomcat with same file. But get following error.
Attaching the error_log.
Can you please help me to understand where I am going wrong ?
Thanks
Hemant
On Wed, Sep 12, 2018 at 8:37
On Wed, Sep 12, 2018 at 12:48 PM Hemant Chaudhary
wrote:
>
> Actually it is setting sock->timeout to 0 in writev_nonblocking() in
> core_filters.c.
> arv = apr_socket_timeout_set(s, 0);
>
> Why does the default timeout is changed and set to 0 ??
Because writev_nonblocking() is really non-blocki
Hi All,
Actually it is setting sock->timeout to 0 in writev_nonblocking() in
core_filters.c.
arv = apr_socket_timeout_set(s, 0);
Why does the default timeout is changed and set to 0 ??
Thanks
Hemant
On Wed, Sep 12, 2018 at 4:03 PM Hemant Chaudhary <
hemantdude.chaudh...@gmail.com> wrote:
> Hi
13 matches
Mail list logo