Hi,

Thanks for your help. I found that someone else was freezing the API server through the database (very long running uncommitted transactions).

Anyway I also limited the number of parallel connections on javascript side (axios).


regards,

Stephane



Le 2022-06-30 à 18:42, Christopher Schultz a écrit :
All,

On 6/30/22 02:34, Mark Thomas wrote:
Hi,

We need more information to help you.

Tomcat version?

Tomcat connector configuration (from server.xml)?

httpd version?

httpd MPM and configuration?

mod_proxy configuration?

Was the httpd restart graceful or not?

Wild guess: missing finally { java.sql.Connection.close(); }

-chris

On 29/06/2022 19:36, Stephane Passignat wrote:
Hello,

I'm creating a SAP application performing REST call on an API running on Tomcat. Tomcat runs behind an apache reverse-proxy and communication between them use http. The calls are executed with axios using a basic authentication.


Everything runs fine for a moment, but for an unknown reason all http request are hanging after some time and hundreds or maybe thousands requests (if these metrics make any sense).


In chrome, the requests are in a 'pending' status.

Restarting chrome allows to do one or two requests and then issue occurs again

Restarting apache doesn't change anything.

Restarting Tomcat resolve the situation. Tomcat shutdow is a bit longer. Request in chrome ends when tomcat stops.


I'm not very inspired by this issue and actually trying to find inspiration in jmx and log files but nothing pops up.


Does someone have an idea ?



thanks

Stephane


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


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


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


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

Reply via email to