AW: AW: MaxRequestWorkers error

2022-09-27 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Rob Sargent > Gesendet: Dienstag, 27. September 2022 23:26 > An: users@tomcat.apache.org > Betreff: Re: AW: MaxRequestWorkers error > > > > On 9/27/22 14:37, Thomas Hoffmann (Speed4Trade GmbH) wrote: > > > > How much memory did you configure for your

AW: Slow startup first time after reboot

2022-09-27 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, could the underlying hardware cause the delay? Maybe the OS has cached some data and don’t need to read it from disk again? Maybe you can check the IO and CPU load during startup and compare. > -Ursprüngliche Nachricht- > Von: Jerry Malcolm > Gesendet: Mittwoch, 28. September 202

Re: Slow startup first time after reboot

2022-09-27 Thread Jerry Malcolm
Neil, Sadly, that line doesn't appear either with or without the java.security.egd option.   That appears to be a lump sum  of 4-5 minutes for the SecureRandom seed thing.  I'm getting a total accumulation of ~5 minutes.  But it's made up of a bunch of ~15-sec web starts.  See example below. 

RE: Slow startup first time after reboot

2022-09-27 Thread Neil Aggarwal
> Are there perhaps > some log levels I could change that would provide more detailed > information about what step it's hung up on for loading these web apps? I just tested this on a dev sever. I removed the java.security.egd option and rebooted my server. Once I waited for Tomcat to finish star

Re: Slow startup first time after reboot

2022-09-27 Thread Jerry Malcolm
Hi Neil, Your suggestion sounded very encouraging.   Unfortunately, after adding the JVM parameter you suggested, there was no change.  Are there perhaps some log levels I could change that would provide more detailed information about what step it's hung up on for loading these web apps? Th

RE: Slow startup first time after reboot

2022-09-27 Thread Neil Aggarwal
Is this related to the random number generator? Take a look at this: https://docs.oracle.com/cd/E13209_01/wlcp/wlss30/configwlss/jvmrand.html I read somewhere to use this so I put in in my JVM args: -Djava.security.egd=file:/dev/./urandom Thank you, Neil -- Neil Aggarwal, (972) 834-1565, http

Slow startup first time after reboot

2022-09-27 Thread Jerry Malcolm
I'm running Tomcat 9.0.56 in a production environment on AWS Linux2.  My environment is 4 virtual hosts with about 9-10 web applications on each.  The web apps are already expanded in the webapps folder.  So there are no war file expansions involved. The first time after I reboot the server eac

Re: AW: MaxRequestWorkers error

2022-09-27 Thread Rob Sargent
On 9/27/22 14:37, Thomas Hoffmann (Speed4Trade GmbH) wrote: How much memory did you configure for your java environment? --> Xmx Parameter If the java process eats too much memory, you can write a memory dump when an OOM exception occurs. E.g. with the parameters: -XX:+HeapDumpOnOutOfMemoryE

AW: MaxRequestWorkers error

2022-09-27 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello! > -Ursprüngliche Nachricht- > Von: Kumawat, Priyanka > Gesendet: Dienstag, 27. September 2022 21:41 > An: Tomcat Users List > Betreff: RE: MaxRequestWorkers error > > Hello Christopher , > > Thank you for your assistance !.Please find the mpm event given under > httpd.mpm.conf f

[ANN] Apache Tomcat 10.0.26 available

2022-09-27 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 10.0.26. This release is targeted at Jakarta EE 9. Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 without changes. Java EE applications designed for Tomcat 9 and earlier may be placed in the $

RE: MaxRequestWorkers error

2022-09-27 Thread Kumawat, Priyanka
Hello Christopher , Thank you for your assistance !.Please find the mpm event given under httpd.mpm.conf file on the server as below , the max request worker was increased 50 more , approx two months before , that time we faced the same issue with Max request error and Memory got exhausted on s

Re: MaxRequestWorkers error

2022-09-27 Thread Christopher Schultz
Koustav, On 9/27/22 11:09, Naha, Koustav wrote: We have Tomcat and Apache installed in our production environment since 5/6 years. Everything was going fine until we started getting application not responding status from users, upon checking we found out that there was a MaxRequest error as be

MaxRequestWorkers error

2022-09-27 Thread Naha, Koustav
Hi All, Need expert advices on this issue. We have Tomcat and Apache installed in our production environment since 5/6 years. Everything was going fine until we started getting application not responding status from users, upon checking we found out that there was a MaxRequest error as below,