Open static-max opened 7 years ago
It might be useful to explicitly set timeouts for the following because otherwise they rely on "system defaults" according to the underlying http library (Apache HttpComponents) --
http://machinepublishers.github.io/jBrowserDriver/com/machinepublishers/jbrowserdriver/Settings.Builder.html#socketTimeout-int- http://machinepublishers.github.io/jBrowserDriver/com/machinepublishers/jbrowserdriver/Settings.Builder.html#connectionReqTimeout-int- http://machinepublishers.github.io/jBrowserDriver/com/machinepublishers/jbrowserdriver/Settings.Builder.html#connectTimeout-int-
Perhaps though it's something related to this, https://stackoverflow.com/a/44703601
Or maybe garbage collection or something else is contributing to these really excessive delays.
If there are too many connections tying up too many resources, perhaps a lower limit for http://machinepublishers.github.io/jBrowserDriver/com/machinepublishers/jbrowserdriver/Settings.Builder.html#maxConnections-int- would help also.
What does CPU and memory usage look like when this hang occurs?
jbrowserdriver: 0.17.8
Sometimes, the whole JVM hangs and it takes 30 minutes to multiple hours for the JVM to exit. The only error I get:
The error is logged, but the JVM process seems not to recognize is and waits a very long time and then shuts down without any additinal message.