02-16-2015, 06:27 PM
here is the log file: the cpu usage is too high!
pilight-daemon -D
pilight-daemon -D
Code:
[Feb 16 18:21:52:351635] pilight-daemon: DEBUG: ssdp sent search
[Feb 16 18:21:52:450654] pilight-daemon: NOTICE: no pilight daemon found, daemonizing
[Feb 16 18:21:52:453760] pilight-daemon: INFO: daemon listening to port: 50397
[Feb 16 18:21:52:461404] pilight-daemon: DEBUG: new thread lirc, 1 thread running
[Feb 16 18:21:52:465673] pilight-daemon: DEBUG: new thread socket, 2 threads running
[Feb 16 18:21:52:473805] pilight-daemon: DEBUG: new thread ssdp, 3 threads running
[Feb 16 18:21:52:476658] pilight-daemon: DEBUG: new thread sender, 4 threads running
[Feb 16 18:21:52:480783] pilight-daemon: [Feb 16 18:21:52:480783] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 35190
[Feb 16 18:21:52:487080] pilight-daemon: DEBUG: client fd: 9
[Feb 16 18:21:52:488418] pilight-daemon: DEBUG: client id: 1
DEBUG: new thread broadcaster, 5 threads running
[Feb 16 18:21:52:501833] pilight-daemon: DEBUG: new thread updater, 6 threads running
[Feb 16 18:21:52:505379] pilight-daemon: DEBUG: new thread 433gpio, 7 threads running
[Feb 16 18:21:52:509108] pilight-daemon: DEBUG: new thread receive parser, 8 threads running
[Feb 16 18:21:52:513882] pilight-daemon: DEBUG: new thread webserver worker #0, 9 threads running
[Feb 16 18:21:52:517050] pilight-daemon: DEBUG: webserver listening to port 5001
[Feb 16 18:21:52:522689] pilight-daemon: DEBUG: new thread webserver client, 10 threads running
[Feb 16 18:21:52:524390] pilight-daemon: DEBUG: new thread webserver broadcast, 11 threads running
[Feb 16 18:21:52:526585] pilight-daemon: DEBUG: new thread firmware upgrader, 12 threads running
[Feb 16 18:21:52:532142] pilight-daemon: DEBUG: ssdp sent search
[Feb 16 18:21:54:251448] pilight-daemon: DEBUG: no pilight ssdp connections found
[Feb 16 18:21:54:257582] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 35193
[Feb 16 18:21:54:261697] pilight-daemon: DEBUG: client fd: 16
[Feb 16 18:21:54:262951] pilight-daemon: DEBUG: client id: 2
[Feb 16 18:21:54:264515] pilight-daemon: DEBUG: socket recv: {"message":"client gui"}
[Feb 16 18:21:54:266866] pilight-daemon: DEBUG: socket write succeeded: {"message":"accept client"}
[Feb 16 18:21:54:268136] pilight-daemon: INFO: client recognized as gui
[Feb 16 18:21:54:269860] pilight-daemon: ERROR: ----- Thread Profiling -----
[Feb 16 18:21:54:271854] pilight-daemon: ERROR: - thread lirc: 0.000000%
[Feb 16 18:21:54:273700] pilight-daemon: ERROR: - thread socket: 0.000000%
[Feb 16 18:21:54:274267] pilight-daemon: ERROR: - thread ssdp: 0.000000%
[Feb 16 18:21:54:274267] pilight-daemon: DEBUG: socket write succeeded: {"message":"client gui"}
[Feb 16 18:21:54:276103] pilight-daemon: ERROR: - thread sender: 0.000000%
[Feb 16 18:21:54:277780] pilight-daemon: ERROR: - thread broadcaster: 0.000000%
[Feb 16 18:21:54:278227] pilight-daemon: ERROR: - thread updater: 0.000000%
[Feb 16 18:21:54:278737] pilight-daemon: ERROR: - thread 433gpio: 0.000000%
[Feb 16 18:21:54:280018] pilight-daemon: ERROR: - thread receive parser: 0.000000%
[Feb 16 18:21:54:280766] pilight-daemon: ERROR: - thread webserver worker #0: 0.000000%
[Feb 16 18:21:54:282358] pilight-daemon: ERROR: - thread webserver client: 0.000000%
[Feb 16 18:21:54:282804] pilight-daemon: ERROR: - thread webserver broadcast: 0.000000%
[Feb 16 18:21:54:283263] pilight-daemon: ERROR: - thread firmware upgrader: 0.000000%
[Feb 16 18:21:54:284515] pilight-daemon: ERROR: ----- Thread Profiling -----
[Feb 16 18:21:54:284912] pilight-daemon: ERROR: cpu usage way too high 99.228212
[Feb 16 18:21:54:286372] pilight-daemon: ERROR: checking again in 10 seconds
[Feb 16 18:22:05:288539] pilight-daemon: ERROR: ----- Thread Profiling -----
[Feb 16 18:22:05:292248] pilight-daemon: ERROR: - thread lirc: 0.017640%
[Feb 16 18:22:05:294249] pilight-daemon: ERROR: - thread socket: 0.000000%
[Feb 16 18:22:05:294662] pilight-daemon: ERROR: - thread ssdp: 0.000000%
[Feb 16 18:22:05:295855] pilight-daemon: ERROR: - thread sender: 0.000000%
[Feb 16 18:22:05:296873] pilight-daemon: ERROR: - thread broadcaster: 0.000000%
[Feb 16 18:22:05:298945] pilight-daemon: ERROR: - thread updater: 0.100311%
[Feb 16 18:22:05:299416] pilight-daemon: ERROR: - thread 433gpio: 94.912219%
[Feb 16 18:22:06:252468] pilight-daemon: ERROR: - thread receive parser: 0.035274%
[Feb 16 18:22:06:259890] pilight-daemon: ERROR: - thread webserver worker #0: 0.019801%
[Feb 16 18:22:06:261558] pilight-daemon: ERROR: - thread webserver client: 0.000000%
[Feb 16 18:22:06:261991] pilight-daemon: ERROR: - thread webserver broadcast: 0.000000%
[Feb 16 18:22:06:262351] pilight-daemon: ERROR: - thread firmware upgrader: 0.011904%
[Feb 16 18:22:06:263568] pilight-daemon: ERROR: ----- Thread Profiling -----
[Feb 16 18:22:06:263967] pilight-daemon: ERROR: cpu usage still way too high 95.114272%, exiting