Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: 14.2.1 98% CPU



Permlink Replies: 10 - Last Post: Oct 4, 2017 11:43 AM Last Post By: Chad Hower
Mark Johnson

Posts: 7
Registered: 3/16/00
14.2.1 98% CPU
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 2, 2017 7:52 AM
Have a test site up with very little traffic and found it spinning at 98% CPU this morning. It still worked but obviously was slow as it was stressing the VM. I captured some screenshots while examining with ProcExplorer before restarting:

[http://mjs.us/spin-01.png]

[http://mjs.us/spin-02.png]

Looks like there's some thread contention, any ideas?

Regards,
Mark

Chad Hower

Posts: 536
Registered: 3/2/07
Re: 14.2.1 98% CPU
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 2, 2017 11:41 AM   in response to: Mark Johnson in response to: Mark Johnson
Which IDE are you using to build?

On 10/2/2017 10:52 AM, Mark Johnson wrote:
Have a test site up with very little traffic and found it spinning at 98% CPU this morning. It still worked but obviously was slow as it was stressing the VM. I captured some screenshots while examining with ProcExplorer before restarting:

[http://mjs.us/spin-01.png]

[http://mjs.us/spin-02.png]

Looks like there's some thread contention, any ideas?

Regards,
Mark

Mark Johnson

Posts: 7
Registered: 3/16/00
Re: 14.2.1 98% CPU
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 2, 2017 11:59 AM   in response to: Chad Hower in response to: Chad Hower
Chad Hower wrote:
Which IDE are you using to build?

On 10/2/2017 10:52 AM, Mark Johnson wrote:
Have a test site up with very little traffic and found it spinning at 98% CPU this morning. It still worked but obviously was slow as it was stressing the VM. I captured some screenshots while examining with ProcExplorer before restarting:

[http://mjs.us/spin-01.png]

[http://mjs.us/spin-02.png]

Looks like there's some thread contention, any ideas?

Regards,
Mark


Using C++ Builder 10.2, images should be unblocked for you now.

Regards,
Mark

Alexandre Machado

Posts: 1,682
Registered: 8/10/13
Re: 14.2.1 98% CPU
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 2, 2017 12:52 PM   in response to: Mark Johnson in response to: Mark Johnson
Mark Johnson wrote:
Chad Hower wrote:
Which IDE are you using to build?

On 10/2/2017 10:52 AM, Mark Johnson wrote:
Have a test site up with very little traffic and found it spinning at 98% CPU this morning. It still worked but obviously was slow as it was stressing the VM. I captured some screenshots while examining with ProcExplorer before restarting:

[http://mjs.us/spin-01.png]

[http://mjs.us/spin-02.png]

Looks like there's some thread contention, any ideas?

Regards,
Mark


Using C++ Builder 10.2, images should be unblocked for you now.

Regards,
Mark


Hi Mark,

Which 3rd party components do you use with this application (e.g. CG, TMS)

If you restart this application does it go back to normal? Are you able to reproduce it?

Are you able to get a mini dump (using for instance Process Explorer) of this application while is is running like this?
Chad Hower

Posts: 536
Registered: 3/2/07
Re: 14.2.1 98% CPU [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 2, 2017 2:31 PM   in response to: Alexandre Machado in response to: Alexandre Machado
On 10/2/2017 4:30 PM, Alexandre Machado wrote:
Which 3rd party components do you use with this application (e.g. CG,
TMS)

If you restart this application does it go back to normal? Are you
able to reproduce it?

Are you able to get a mini dump (using for instance Process Explorer)
of this application while is is running like this?

The screenshots are helpful and odd. Its an odd place for it to get stuck.
Mark Johnson

Posts: 7
Registered: 3/16/00
Re: 14.2.1 98% CPU [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 2, 2017 3:18 PM   in response to: Chad Hower in response to: Chad Hower
Chad Hower wrote:
On 10/2/2017 4:30 PM, Alexandre Machado wrote:
Which 3rd party components do you use with this application (e.g. CG,
TMS)

If you restart this application does it go back to normal? Are you
able to reproduce it?

Are you able to get a mini dump (using for instance Process Explorer)
of this application while is is running like this?

The screenshots are helpful and odd. Its an odd place for it to get stuck.

I'll add some more logs / monitoring to try and isolate.

Regards,
Mark

Mark Johnson

Posts: 7
Registered: 3/16/00
Re: 14.2.1 98% CPU
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 2, 2017 3:16 PM   in response to: Alexandre Machado in response to: Alexandre Machado
Alexandre Machado wrote:
Mark Johnson wrote:
Chad Hower wrote:
Which IDE are you using to build?

On 10/2/2017 10:52 AM, Mark Johnson wrote:
Have a test site up with very little traffic and found it spinning at 98% CPU this morning. It still worked but obviously was slow as it was stressing the VM. I captured some screenshots while examining with ProcExplorer before restarting:

[http://mjs.us/spin-01.png]

[http://mjs.us/spin-02.png]

Looks like there's some thread contention, any ideas?

Regards,
Mark


Using C++ Builder 10.2, images should be unblocked for you now.

Regards,
Mark


Hi Mark,

Which 3rd party components do you use with this application (e.g. CG, TMS)

If you restart this application does it go back to normal? Are you able to reproduce it?

Are you able to get a mini dump (using for instance Process Explorer) of this application while is is running like this?

Hi Alexandre,

3rd party components: Just added one TMS edit control but estimating it was serving up static content when this happened based on the logs (but not 100% sure).
On restart: Worked fine, no issues.
Reproducible: Haven't been able to reproduce - been running ok for a few weeks, this is the first issue.
Mini dump: Will do if I can catch it again.

Regards,
Mark

ioan ghip

Posts: 38
Registered: 3/16/00
Re: 14.2.1 98% CPU
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 3, 2017 10:42 AM   in response to: Alexandre Machado in response to: Alexandre Machado
Alexandre Machado wrote:
Mark Johnson wrote:
Chad Hower wrote:
Which IDE are you using to build?

On 10/2/2017 10:52 AM, Mark Johnson wrote:
Have a test site up with very little traffic and found it spinning at 98% CPU this morning. It still worked but obviously was slow as it was stressing the VM. I captured some screenshots while examining with ProcExplorer before restarting:

[http://mjs.us/spin-01.png]

[http://mjs.us/spin-02.png]

Looks like there's some thread contention, any ideas?

Regards,
Mark


Using C++ Builder 10.2, images should be unblocked for you now.

Regards,
Mark


Hi Mark,

Which 3rd party components do you use with this application (e.g. CG, TMS)

If you restart this application does it go back to normal? Are you able to reproduce it?

Are you able to get a mini dump (using for instance Process Explorer) of this application while is is running like this?

I think this is an older problem that appears at such random times that is hard to reproduce. I'm running the version 14.1.14, built as a service with Delphi 10.1 Berlin. Last time this happened for me was about a week ago, the service was stuck at using 100% of the processor. After a restart of the service, everything went back to normal. This happens VERY rarely it it doesn't seem like it has anything to do with for how long the service was running. Also, I'm pretty sure I saw this in previous versions, but it's a very rare occurrence.

Chad Hower

Posts: 536
Registered: 3/2/07
Re: 14.2.1 98% CPU
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 3, 2017 3:56 PM   in response to: ioan ghip in response to: ioan ghip
On 10/3/2017 1:42 PM, ioan ghip wrote:
I think this is an older problem that appears at such random times
that is hard to reproduce. I'm running the version 14.1.14, built as
a service with Delphi 10.1 Berlin. Last time this happened for me was

Were you ever able to collect info on it? RTL has several rather serious
thread issues which for many versions remain unfixed and we've had to patch.
ioan ghip

Posts: 38
Registered: 3/16/00
Re: 14.2.1 98% CPU
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 4, 2017 9:26 AM   in response to: Chad Hower in response to: Chad Hower
Chad Hower wrote:
On 10/3/2017 1:42 PM, ioan ghip wrote:
I think this is an older problem that appears at such random times
that is hard to reproduce. I'm running the version 14.1.14, built as
a service with Delphi 10.1 Berlin. Last time this happened for me was

Were you ever able to collect info on it? RTL has several rather serious
thread issues which for many versions remain unfixed and we've had to patch.

No info. It is such a rare occurrence that I never tried to do anything about it. Whenever it happens again, I'll try to get more details.
Chad Hower

Posts: 536
Registered: 3/2/07
Re: 14.2.1 98% CPU
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 4, 2017 11:43 AM   in response to: ioan ghip in response to: ioan ghip
On 10/4/2017 12:26 PM, ioan ghip wrote:
anything about it. Whenever it happens again, I'll try to get more
details.

Thanks.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02