AW: AW: Slow startup first time after reboot

2022-09-30 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Jerry Malcolm > Gesendet: Freitag, 30. September 2022 21:05 > An: users@tomcat.apache.org > Betreff: Re: AW: Slow startup first time after reboot > > Well, like taking your car into the shop It decided to stop failing f

Re: AW: Slow startup first time after reboot

2022-09-30 Thread Jerry Malcolm
Well, like taking your car into the shop It decided to stop failing for a while on my local machine.  Finally this morning I got it to start doing the slow load again inside Eclipse.  I suspended the thread several different times and got the same thread dump.  I'm not sure what it's doing

Re: AW: Slow startup first time after reboot

2022-09-29 Thread Mark Thomas
On 29/09/2022 04:05, Jerry Malcolm wrote: Hi, Mark, Thanks for the info. Getting several thread dumps is not going to be easy in this specific situation.  This problem only occurs on initial boot up of a newly-imaged linux EC2 which is built and launched automatically by the AWS autoscaling ser

Re: AW: Slow startup first time after reboot

2022-09-28 Thread Jerry Malcolm
Hi, Mark, Thanks for the info. Getting several thread dumps is not going to be easy in this specific situation.  This problem only occurs on initial boot up of a newly-imaged linux EC2 which is built and launched automatically by the AWS autoscaling service.  By the time i can see that an image

Re: AW: Slow startup first time after reboot

2022-09-28 Thread Mark Thomas
Lots of ways. I'd try starting with the jstack tool which should be provided as part of the JDK you are using. Mark On 28/09/2022 17:16, Jerry Malcolm wrote: Thanks, Mark, I'm not familiar with how to take a thread dump in TC. Can you point me to documentation on that? Jerry On 9/28/2022

Re: AW: Slow startup first time after reboot

2022-09-28 Thread Jerry Malcolm
Thanks, Mark, I'm not familiar with how to take a thread dump in TC.  Can you point me to documentation on that? Jerry On 9/28/2022 2:56 AM, Mark Thomas wrote: Take three thread dumps 5s apart during the slowness and then diff them to see what is moving and what is not. Mark On 28/09/2022

Re: AW: Slow startup first time after reboot

2022-09-28 Thread Mark Thomas
Take three thread dumps 5s apart during the slowness and then diff them to see what is moving and what is not. Mark On 28/09/2022 07:30, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, could the underlying hardware cause the delay? Maybe the OS has cached some data and don’t need to read it

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