Hi Chris,

Thanks for prom response.

Actually I am trying to understand the attributes acceptCount vs
maxConnections. Assuming this is the maximum socket connections tomcat can
handle   In a time and this can be restricted with ulimit -f in linux.
Please advise.

Thanks,
Rajendra

On Fri, Jan 11, 2019 at 12:34 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Rajendra,
>
> On 1/11/19 10:20, Rajendra Popuri wrote:
> > What is maxConnections attribute in Tomcat
>
> It is all but deprecated IMHO.
>
> http://tomcat.apache.org/tomcat-9.0-doc/config/http.html#Standard_Implem
> entation
>
> Search for "maxConnections".
>
> Then read about Executors. They are a better idea.
>
> > and what is the optimum value in Unix machine?
>
> There isn't anything UNIX-specific about the optimum value. The
> default is 10,000 for NIO/NIO2 and 8192 for APR (I'm not sure why
> there is a difference in the defaults; perhaps we should fix that),
> which "ought to be enough for anyone".
>
> The proper value for your environment is highly dependent upon your
> use-case(s). If you tell us a little more about what you are doing,
> perhaps we can give you a better answer.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
>
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlw406wACgkQHPApP6U8
> pFh/+RAAke9fQiwIvCvp2w3ktrOXr+l56zIE/YJLk50PofEWWIz8LAV31jfmHP/s
> w5ROawFomB0UlSuAMJp1dmy43L9ptj7i7BDpwPMU74m8FPwUxWEi7rJ9bC5M2q00
> WNuBGcwENZ6zHWXURzZFJqoJTcK7e3U2xv7EMAHuTuJ1qSyrdbxQkDyLmJt0Cbep
> XNrtW9RAH++DDW992EL2T1wkRYGrVVdJP7g6D8ncQyf55umH+FWhEKfccTWRzsBX
> o2sg0OIfBRDxSilphRKLvhXaXcTDa2B5YBLCsnafNyWS5AGGr90WLvKrRamgZfVU
> +r4jQDgiuf94UJdanHOuhLQXBv+ejxeo/OMvCF3TZ2wkBrSEgsv4h74BcGHuK/v5
> Clfi+jw6y9EiQI6CTC5pYyNpu3f77zYvBCgRaN4M7qXss8HmNYNMIiLkrubKs1WT
> /d2xbjFT4bIPYdcYD+mw/uu/7jU8IubYyvAdEFFAEbCVaIPQAMgfl/ZmarO4o2qO
> r9qi+cY/TrNInNqjyrNrAjCEU5zgXJorrO8kDmLryp0TdyGpDll1H3eEIErLiM1W
> DJNCB8hq1VRQz8B8mrnOZnc3RvYdz5FDEJIiWPwvlDDjF9YCfUPC5zLiCbaopGEO
> UonupLQdtP94mvM3BwnMajnRhuO60kCbBZsZROozXZAtYvydorc=
> =kvz+
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
> --
Thanks&Regards Rajendra

Reply via email to