Hi Marc,
not any obvious clue.
I would say that we only have a limited number of threads dedicated to
process the incoming messages, and this number is computed based on the
number of core you have on your machine.
First thing: is your server toping at 100% CPU? With Z GC it should not
stop anything...
Have you profiled the server while running under your stress test (not
tracing, but sampling)?
Second thing: are you sure that it occurs when the GC kick on?
On 20/01/2023 15:57, Marc Boorshtein wrote:
We're using ApacheDS as a frontend for MyVD,
running 2.0.0.AM27-SNAPSHOT. We're finding that under heavy load (~300
concurrent connections) we'll periodically get "broken pipe" errors from
the client. i can reproduce this pretty easily with jmeter's LDAP
module. The errors tend to come in bunches and when there is a garbage
collection event (under really heavy loads you can see the logs slow
down momentarily and then the errors occur.
My test bed is a mac m2 running java 17, however the server is an amazon
m5a. running the correta java 18 jvm with the ZGC garbage collector.
here;s the JVM switches:
-Xms4g -Xmx4g -XX:+UnlockExperimentalVMOptions -XX:+UseZGC
-Dsun.net.client.defaultConnectTimeout=10000
-Dsun.net.client.defaultReadTimeout=20000
We're not seeing any issues in the myvd portion of the system, now in
the down stream directories being proxied. Also, if we add an
artificial bottleneck by dropping the connection pool size from 300 to
50, but still maintaining 300 clients, the issue decreases dramatically.
Any thoughts as to where i can start debugging this issue? A thread
dump analysis doesn't show any deadlocks.
Thanks
Marc
--
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
[email protected] https://www.busit.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]