tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: CPU high usage, the reason org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run
Date Mon, 25 Nov 2019 15:54:28 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mladen,

On 11/24/19 04:57, Mladen Adamović wrote:
> I couldn't find the explanation of this in other threads, I've
> tried to search the archive.
> 
> I have a high load average on a server and the reason for that is
> kernel function futex_wait invoked by java thread.
> 
> [snip]
> 
> Should I perhaps lower some tomcat config values or just forget
> about measuring system resources if the server works? My tomcat is
> configured as follows:
> 
> 
> my Tomcat is configured as follows: <Connector port="8181" 
> protocol="org.apache.coyote.http11.Http11AprProtocol" [snip] 
> connectionTimeout="20000" acceptCount="30000" 
> acceptorThreadCount="2" compression="on" maxConnections="50000"
> maxThreads="500"

50k connections is quite a lot. Is this a physical or virtual server?
Do you expect to have lots of long-lived connections that are mostly
idle (e.g. WebSocket)? Or do you just want to handle huge amounts of
actual load (i.e. lots of requests)?

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl3b+TMACgkQHPApP6U8
pFh9KxAAmlC7daF8lseSvI9K9P+9C1yfwGXMxYIqXTDy2mzwaG1PdcAfu2FEupAc
Judf3qmictIRPGRE8i0/vCveYP9ITzZZY/FG1/G2OhQR/8KjB2EcCNxJgVHEWgv1
aOdCarYx54dtSESb0IWzSp5h7LbUswjpytsAqzvXDtlLVsbD4PqNeK72cdJgX4qh
1zlHrKuHEEIta0S/Gu1T4EBAOG7OWuyuwY6oVHOPjaByItp+xgmkP+suxnnIQJxE
4qF8hwH7iLpyHJkZIfgM3ju6Hw4LI8Pu6TaVBmjI8+zToYRs1qBpxgiXYimFQGrT
/+hFQqExU+hGeHjoMgO0popfZDC8mqgNTRzAGphdUmykBGGTDQEE9MbiPqdvEfA/
Bkpx/do2OeMGzT86TXM/dDlzs/C03PgiwVL0g4SO+zP1vTOuooj8lijA/q0EWjRo
shNia1XMbYK2bKo0ZsXXePNmFPDuSXdDfqikVqz1eWp+SvF42Xs7aDgzmEJx/uh7
VtS3hna/WSJmKDYtKYdMCCWxlKkw6Qdej1egTBXLYw1sdBb3RW7cMJHp8TIa6D7C
qGSsgQX1FCe8TDHqZ+RAY9E7CcB9ifQkkkhk4zgyVVLFhmqoSbDKSLWr1M3wXzwt
WTtIRUWQQQyjjhkfidnFLNYHid1a62pcHd6drg9uUf7eEIPG1AY=
=gRLR
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message