Re: Tomcat maxConnections API

2025-09-17 Thread Christopher Schultz
Nitish, On 9/12/25 7:33 AM, Nitish Chitta wrote: Please let me know if the maxQueueSize attribute will be of any help to tackle this case. The default for that is Integer.MAX_VALUE which is ... high. I assume you are considering reducing that? I've actually never played around with that set

Re: Tomcat maxConnections API

2025-09-14 Thread Nitish Chitta
Appreciate any help here! Regards, Nitish On Fri, Sep 12, 2025 at 5:08 PM Nitish Chitta wrote: > Link to the initial thread : > https://lists.apache.org/thread/hd3cxd3xh8kkh0fosf9czy6b9fchrqvb > > Regards, > Nitish > > On Fri, Sep 12, 2025 at 5:04 PM Nitish Chitta > wrote: > >> Just another qu

Re: Tomcat maxConnections API

2025-09-12 Thread Nitish Chitta
Link to the initial thread : https://lists.apache.org/thread/hd3cxd3xh8kkh0fosf9czy6b9fchrqvb Regards, Nitish On Fri, Sep 12, 2025 at 5:04 PM Nitish Chitta wrote: > Just another query here! > Please let me know if the maxQueueSize attribute will be of any help to > tackle this case. > > Regards

Re: Tomcat maxConnections API

2025-09-12 Thread Nitish Chitta
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 wrote: > Thats right, Chris! > > Tried that and also multiple ways of enforcing the setting on the Kernel > level. Not

Re: Tomcat maxConnections API

2025-09-12 Thread Nitish Chitta
Just another query here! Please let me know if the maxQueueSize attribute will be of any help to tackle this case. Regards, Nitish On Fri, Sep 12, 2025 at 4:59 PM Nitish Chitta wrote: > Just another query here! > Please let me know if the maxQueueSize attribute will be of any help to > tackle t

Re: Tomcat maxConnections API

2025-07-30 Thread Nitish Chitta
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 < ch...@christopherschultz.net> wrote: > Nitish, > > On 7/30/25 10:03 AM, Nitish Chitta wrote: > > Any suggestion

Re: Tomcat maxConnections API

2025-07-30 Thread Christopher Schultz
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 connect

Re: Tomcat maxConnections API

2025-07-30 Thread Nitish Chitta
Thanks! Mark. Any suggestions from your side for Linux? Tried out multiple approaches but none seem to work. Regards, Nitish On Wed, 30 Jul 2025 at 13:49, Mark Thomas wrote: > On 30/07/2025 08:53, Nitish Chitta wrote: > > Hello, > > I want to enforce rejection of connections after the *maxCon

Re: Tomcat maxConnections API

2025-07-30 Thread Mark Thomas
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 u

Re: Tomcat maxConnections API

2025-07-30 Thread Nitish Chitta
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 Http11NioProtoco