Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
3.3.2
-
None
-
-
3264ef41f (dev), 432784862 (3.4)
-
License server development 45
Description
Hi,
qtlicd is started when I e.g. run QtCreator.
Even after closing QtCreator, it continuously uses way too much CPU (4,9%) for its task:
1730 <username> 20 0 341512 11336 8368 S 4,9 0,0 36:13.33 qtlicd
It should be idle.
Running strace on it shows only:
clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=10000000}, 0x7fda33f9c590) = 0
So the CPU usage is related to its wakeup 100 times a second. That seems kinda excessive, doesn't it?
Attachments
For Gerrit Dashboard: QLS-1730 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
627863,4 | WIP: Pipe: use select() to wait for data readiness instead of manual polling | dev | license-tools/license-service | Status: ABANDONED | -2 | 0 |
628145,5 | Pipe: use condition variable to wait for data instead of polling | dev | license-tools/license-service | Status: MERGED | +2 | 0 |
628827,2 | Pipe: use condition variable to wait for data instead of polling | 3.4 | license-tools/license-service | Status: MERGED | +2 | 0 |