100% cpu when hit run

Ask any support / help / issues / problem or question related to TumblingJazz
Post Reply
snibi
Posts: 400
Joined: Thu Sep 17, 2015 6:48 am

100% cpu when hit run

Post by snibi »

Hello,

from the latest versions of tj i have often 100% cpu when i hit run at processor.

Image

when i look at the details there is then 1 or 2 instances consuming much higher cpu% then wokring ones.

as example having 4 threads in processor @ 10 threads reblogs internal which could start at the same time.

my testing was, when i restart instance and do only 1 thread it is working.

maybe it have something to do with the multithreading when all threads firing at the same time.

Code: Select all

15:45:24: btn proc run
15:45:24: runproc
15:45:24: DoRunProcessor
15:45:24: ProcessHandleThreadManagement: listThreads: 4 NumProcessingThreads:4
15:45:24: ProcessListThreads: listThreads: 4
15:45:24: Starting ProcessConsumerThread consumer-0-5c1a3d78ef5b4127883ebe972e159023
15:45:24: Starting ProcessConsumerThread consumer-1-f6e1af6dc090455a9d94b84c89c4e522
15:45:24: START ProcessConsumerThread()
15:45:24: START ProcessConsumerThread()
15:45:24: Starting ProcessConsumerThread consumer-2-9638587609dd432caa40cd4fd3d57b06
15:45:24: START ProcessConsumerThread()
15:45:24: Starting ProcessConsumerThread consumer-3-9065c376591a4e688ab33dc025b59387
15:45:24: START ProcessConsumerThread()
15:45:24: pre QueueAllDbActions.Take()
15:45:24: pre QueueAllDbActions.Take()
15:45:24: pre QueueAllDbActions.Take()
15:45:24: pre QueueAllDbActions.Take()

Code: Select all

15:45:24: Starting ProcessConsumerThread consumer-0-5c1a3d78ef5b4127883ebe972e159023
15:45:24: Starting ProcessConsumerThread consumer-1-f6e1af6dc090455a9d94b84c89c4e522
15:45:24: Starting ProcessConsumerThread consumer-2-9638587609dd432caa40cd4fd3d57b06
15:45:24: Starting ProcessConsumerThread consumer-3-9065c376591a4e688ab33dc025b59387
i think it just need some delay before firing the next thread.

tj version 1.9.2.4
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: 100% cpu when hit run

Post by martin@rootjazz »

The cpu might spike but should settle down. The program uses parallel processes to read things from disk as fast as possible. If the OS has spare CPU cycles it will give them to the app to use. 100% CPU would mean it is doing something as fast as it could (it could also mean something is being done wrong). But if it spikes to 100% for a few seconds then goes down, then it is just busy doing something quickly
snibi
Posts: 400
Joined: Thu Sep 17, 2015 6:48 am

Re: 100% cpu when hit run

Post by snibi »

thanks for the reply.

it doesnt go down. it stays 100%, i need to close tj and restart affected instances.
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: 100% cpu when hit run

Post by martin@rootjazz »

oh, that's bad then.

Can you submit logs showing this

HELP > LOGS > SUBMIT

then send your logs ID - the first 4 numbers is sufficient (displayed after successful uploading of logs)
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: 100% cpu when hit run

Post by martin@rootjazz »

also send database folder



Please goto:
Press "windows" (start) button on keyboard and hold it down then press r.

In the run box paste:
%appdata%\rootjazz\tumbling jazz

In the folder that opens, right click the folder
database

then select SEND TO > COMPRESSED (ZIP)

Then send me the created zip file. Email if the file is less than 8mb, otherwise upload somewhere and email me the link



Regards,
Martin
snibi
Posts: 400
Joined: Thu Sep 17, 2015 6:48 am

Re: 100% cpu when hit run

Post by snibi »

didn't have that problem now with new version, will post when it the next time appears.
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: 100% cpu when hit run

Post by martin@rootjazz »

ok, let me know if it comes back
Post Reply