Link to the initial thread :
https://lists.apache.org/thread/hd3cxd3xh8kkh0fosf9czy6b9fchrqvb

Regards,
Nitish

On Fri, Sep 12, 2025 at 5:04 PM Nitish Chitta <[email protected]>
wrote:

> Just another query here!
> Please let me know if the maxQueueSize attribute will be of any help to
> tackle this case.
>
> Regards,
> Nitish
>
> On Thu, Jul 31, 2025 at 8:48 AM Nitish Chitta <[email protected]>
> wrote:
>
>> Thats right, Chris!
>>
>> Tried that and also multiple ways of enforcing the setting on the Kernel
>> level. Nothing helps!
>>
>> Regards,
>> Nitish
>>
>>
>> On Thu, 31 Jul 2025 at 03:59, Christopher Schultz <
>> [email protected]> wrote:
>>
>>> Nitish,
>>>
>>> On 7/30/25 10:03 AM, Nitish Chitta wrote:
>>> > Any suggestions from your side for Linux? Tried out multiple
>>> approaches but
>>> > none seem to work.
>>>
>>> The best you can do is set maxConnections to the number you want at the
>>> maximum and set acceptCount=0, but even then the OS may accept more
>>> connections.
>>>
>>> -chris
>>>
>>> > On Wed, 30 Jul 2025 at 13:49, Mark Thomas <[email protected]> wrote:
>>> >
>>> >> On 30/07/2025 08:53, Nitish Chitta wrote:
>>> >>> Hello,
>>> >>> I want to enforce rejection of connections after the *maxConnections
>>> +
>>> >>> acceptCount *has been reached. This seems to be working fine with
>>> Windows
>>> >>> but, on Linux the limit is not getting applied and we do not see the
>>> >>> requests getting rejected.
>>> >>>
>>> >>> I am using embedded Tomcat 9 with Http11NioProtocol.
>>> >>>
>>> >>> Please advise.
>>> >>
>>> >> As per the docs for acceptCount:
>>> >>
>>> >> "The operating system may ignore this setting and use a different size
>>> >> for the queue."
>>> >>
>>> >> You'll need to look at the docs for your OS.
>>> >>
>>> >> Mark
>>> >>
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: [email protected]
>>> >> For additional commands, e-mail: [email protected]
>>> >>
>>> >>
>>> >
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>

Reply via email to