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
