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 Sep 17, 2018 6:58 PM, "Yann Ylavic" <ylavic....@gmail.com> wrote: > Hi, > > On Mon, Sep 17, 2018 at 1:51 PM Hemant Chaudhary > <hemantdude.chaudh...@gmail.com> 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, THRESHOLD_MAX_BUFFER is the limit *above* which the buffer is > flushed, but not the maximum number of bytes flushed... > > > How should I stop apache so that it should go to select function till > 52KB success. > > The simpler would be to take a 10K margin, like defining > THRESHOLD_MAX_BUFFER to 42K. > Otherwise, you need a patch like the one attached (untested)... > > Regards, > Yann. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org >