Hi all,
I'm developing a system in Python. When the app has been a time running, its CPU consumption goes from 10% to 96% and stays there until I close it. Has anyone been in this situation and has a clue to solve it?

My program uses Threads, pyserial and psycopg2.

Regards,

Python is not using 100% CPU time, your program is. Without some code it will be hard to help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.