{"action":"created","issue":{"url":"https://api.github.com/repos/domogik/domogik/issues/275","repository_url":"https://api.github.com/repos/domogik/domogik","labels_url":"https://api.github.com/repos/domogik/domogik/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/domogik/domogik/issues/275/comments","events_url":"https://api.github.com/repos/domogik/domogik/issues/275/events","html_url":"https://github.com/domogik/domogik/issues/275","id":142337622,"number":275,"title":"Domogik on \"small\" hardware config","user":{"login":"vdomos","id":1257481,"avatar_url":"https://avatars.githubusercontent.com/u/1257481?v=3","gravatar_id":"","url":"https://api.github.com/users/vdomos","html_url":"https://github.com/vdomos","followers_url":"https://api.github.com/users/vdomos/followers","following_url":"https://api.github.com/users/vdomos/following{/other_user}","gists_url":"https://api.github.com/users/vdomos/gists{/gist_id}","starred_url":"https://api.github.com/users/vdomos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdomos/subscriptions","organizations_url":"https://api.github.com/users/vdomos/orgs","repos_url":"https://api.github.com/users/vdomos/repos","events_url":"https://api.github.com/users/vdomos/events{/privacy}","received_events_url":"https://api.github.com/users/vdomos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/domogik/domogik/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/domogik/domogik/milestones/12","html_url":"https://github.com/domogik/domogik/milestones/0.5","labels_url":"https://api.github.com/repos/domogik/domogik/milestones/12/labels","id":1354768,"number":12,"title":"0.5","description":"","creator":{"login":"Cereal2nd","id":3715825,"avatar_url":"https://avatars.githubusercontent.com/u/3715825?v=3","gravatar_id":"","url":"https://api.github.com/users/Cereal2nd","html_url":"https://github.com/Cereal2nd","followers_url":"https://api.github.com/users/Cereal2nd/followers","following_url":"https://api.github.com/users/Cereal2nd/following{/other_user}","gists_url":"https://api.github.com/users/Cereal2nd/gists{/gist_id}","starred_url":"https://api.github.com/users/Cereal2nd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cereal2nd/subscriptions","organizations_url":"https://api.github.com/users/Cereal2nd/orgs","repos_url":"https://api.github.com/users/Cereal2nd/repos","events_url":"https://api.github.com/users/Cereal2nd/events{/privacy}","received_events_url":"https://api.github.com/users/Cereal2nd/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":74,"state":"open","created_at":"2015-10-14T07:21:03Z","updated_at":"2016-03-21T12:59:54Z","due_on":"2015-12-31T23:00:00Z","closed_at":null},"comments":1,"created_at":"2016-03-21T12:50:22Z","updated_at":"2016-03-21T13:06:50Z","closed_at":null,"body":"I'm trying for some time to run Domogik on RPI2.\r\nBut impossible to have a running Domogik over 2 days.\r\n\r\nAfter this problem in issue: #258 that I \"solve\" by reducing external plugins hbeat messges, \r\nNow I have this message that appears on admin interface for the mq_forwader while in the log all seems ok.\r\n\r\n![domogik_mq_error](https://cloud.githubusercontent.com/assets/1257481/13918921/996dce66-ef6a-11e5-8cc6-3bcf0783e94f.jpg)\r\n\r\n\r\nAnother problem, Domogik stop writing sensor data in database after a dozen hours of operation.\r\nIn the log xplgw there are no more messages \"Storing stat for device ...\" but \"sensorStoreQueue\" continues to grow.\r\nI tried to catch error by launching the xplgw with the \"-f\" but without success yet.\r\n\r\nThe storing in database stop near 7:52:\r\n\r\n    $ grep Storing core_xplgw.log\r\n    2016-03-21 07:52:12,281 domogik-xplgw INFO Storing stat for device 'Extérieure OW' (15) and sensor 'Temperature' (95) with value '4.3' after conversion.\r\n    2016-03-21 07:52:18,128 domogik-xplgw INFO Storing stat for device 'Extérieure RF' (30) and sensor 'Temperature' (121) with value '3.7' after conversion.\r\n    2016-03-21 07:52:18,751 domogik-xplgw INFO Storing stat for device 'Extérieure RF' (30) and sensor 'Battery' (122) with value '90' after conversion.\r\n    2016-03-21 07:52:19,174 domogik-xplgw INFO Storing stat for device 'Raspberry-Pi voogd' (37) and sensor 'Script Info Temp' (129) with value '36.3' after conversion.\r\n    2016-03-21 07:52:22,563 domogik-xplgw INFO Storing stat for device 'Pluie' (13) and sensor 'Counter diff' (93) with value '412' after conversion.\r\n    2016-03-21 07:52:22,965 domogik-xplgw INFO Storing stat for device 'Pluie' (13) and sensor 'Counter' (92) with value '412' after conversion.\r\n    2016-03-21 07:52:24,213 domogik-xplgw INFO Storing stat for device 'Buanderie' (28) and sensor 'Temperature' (117) with value '11.1' after conversion.\r\n    2016-03-21 07:52:24,747 domogik-xplgw INFO Storing stat for device 'Buanderie' (28) and sensor 'Battery' (118) with value '90' after conversion.\r\n    2016-03-21 07:52:28,566 domogik-xplgw INFO Storing stat for device 'Consommation Elec jour' (38) and sensor 'Script Info Number' (130) with value '2.083' after conversion.\r\n    2016-03-21 07:52:29,652 domogik-xplgw INFO Storing stat for device 'Consommation Eau jour' (35) and sensor 'Script Info Number' (127) with value '9.5' after conversion.\r\n \r\nBut value are still received:\r\n\r\n    $ grep Adding core_xplgw.log\r\n    2016-03-21 12:52:22,028 domogik-xplgw DEBUG Adding new message to the sensorQueue, current length = 2\r\n    2016-03-21 12:52:22,324 domogik-xplgw DEBUG Adding new message to the sensorQueue, current length = 3\r\n    2016-03-21 12:52:22,450 domogik-xplgw DEBUG Adding new message to the sensorStoreQueue, current length = 16618\r\n    2016-03-21 12:52:22,906 domogik-xplgw DEBUG Adding new message to the sensorStoreQueue, current length = 16619\r\n    2016-03-21 12:52:23,326 domogik-xplgw DEBUG Adding new message to the sensorQueue, current length = 2\r\n    2016-03-21 12:52:23,406 domogik-xplgw DEBUG Adding new message to the sensorStoreQueue, current length = 16620\r\n    2016-03-21 12:52:23,592 domogik-xplgw DEBUG Adding new message to the sensorQueue, current length = 2\r\n    2016-03-21 12:52:23,625 domogik-xplgw DEBUG Adding new message to the sensorQueue, current length = 3\r\n    2016-03-21 12:52:24,980 domogik-xplgw DEBUG Adding new message to the sensorStoreQueue, current length = 16621\r\n    2016-03-21 12:52:25,464 domogik-xplgw DEBUG Adding new message to the sensorStoreQueue, current length = 16622\r\n\r\n\r\nI leave rpi2 now to use another hardware configuration with a PC ATOM D525 4 core 2GB RAM.\r\nUnfortunately I find the same problem of sensor data that is not written in databases after a few hours.\r\n\r\nTHE CPU load of the rpi2 or ATOM is not high for quad core cpu.\r\n\r\n    RPI2\r\n     dan@voogd: ~ $ uptime\r\n    1:25:24 p.m. up 2 days, 1:06 p.m., 5 users, load average: 1.32, 1.34, 1.47\r\n\r\n    ATOM\r\n     dan@vesta: ~ $ uptime\r\n     1:25:30 p.m. up 2 days, 3:44, 4 users, load average: 1.25, 1.63, 1.53\r\n\r\n\r\nI use the Domogik/Domogik-mq develop version with the last commits, and it's works without problem on VM (Intel I5 hosting)\r\nbut impossible for me to have a stable Domogik on \"small\" config like rpi2 or ATOM D525.\r\n\r\nCan you tell me if you have tested on identical configurations ?\r\nHave you an idea where to find for the cause of this problems?\r\n\r\nI do not know what to do now.\r\n"},"comment":{"url":"https://api.github.com/repos/domogik/domogik/issues/comments/199263862","html_url":"https://github.com/domogik/domogik/issues/275#issuecomment-199263862","issue_url":"https://api.github.com/repos/domogik/domogik/issues/275","id":199263862,"user":{"login":"fritz-smh","id":4557426,"avatar_url":"https://avatars.githubusercontent.com/u/4557426?v=3","gravatar_id":"","url":"https://api.github.com/users/fritz-smh","html_url":"https://github.com/fritz-smh","followers_url":"https://api.github.com/users/fritz-smh/followers","following_url":"https://api.github.com/users/fritz-smh/following{/other_user}","gists_url":"https://api.github.com/users/fritz-smh/gists{/gist_id}","starred_url":"https://api.github.com/users/fritz-smh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fritz-smh/subscriptions","organizations_url":"https://api.github.com/users/fritz-smh/orgs","repos_url":"https://api.github.com/users/fritz-smh/repos","events_url":"https://api.github.com/users/fritz-smh/events{/privacy}","received_events_url":"https://api.github.com/users/fritz-smh/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T13:06:50Z","updated_at":"2016-03-21T13:06:50Z","body":"Issue 1 :\nAbout xplgw, this also happens to me sometimes but I am unable to catch\nanything...\nI will add some more logs to try identifing the issue. The fact you\nreproduce it twice a day is a luck for this ;)\n\nIssue 2 :\nAbout the clients list, when you got this, could you (from\nsrc/domogik/examples/mq-python) :\n* launch : python req_client_list.py and give the result\n* launch :  python sub_plugin_status.py and see it you got a message for\nthe status of all components each 15 seconds\n* give the result of :  ps -ef | grep dmg_\n\nThanks\n\n\n\n\nOn Mon, Mar 21, 2016 at 1:50 PM, vdomos <notifications@github.com> wrote:\n\n> I'm trying for some time to run Domogik on RPI2.\n> But impossible to have a running Domogik over 2 days.\n>\n> After this problem in issue: #258\n> <https://github.com/domogik/domogik/issues/258> that I \"solve\" by\n> reducing external plugins hbeat messges,\n> Now I have this message that appears on admin interface for the\n> mq_forwader while in the log all seems ok.\n>\n> [image: domogik_mq_error]\n> <https://cloud.githubusercontent.com/assets/1257481/13918921/996dce66-ef6a-11e5-8cc6-3bcf0783e94f.jpg>\n>\n> Another problem, Domogik stop writing sensor data in database after a\n> dozen hours of operation.\n> In the log xplgw there are no more messages \"Storing stat for device ...\"\n> but \"sensorStoreQueue\" continues to grow.\n> I tried to catch error by launching the xplgw with the \"-f\" but without\n> success yet.\n>\n> The storing in database stop near 7:52:\n>\n> $ grep Storing core_xplgw.log\n> 2016-03-21 07:52:12,281 domogik-xplgw INFO Storing stat for device 'Extérieure OW' (15) and sensor 'Temperature' (95) with value '4.3' after conversion.\n> 2016-03-21 07:52:18,128 domogik-xplgw INFO Storing stat for device 'Extérieure RF' (30) and sensor 'Temperature' (121) with value '3.7' after conversion.\n> 2016-03-21 07:52:18,751 domogik-xplgw INFO Storing stat for device 'Extérieure RF' (30) and sensor 'Battery' (122) with value '90' after conversion.\n> 2016-03-21 07:52:19,174 domogik-xplgw INFO Storing stat for device 'Raspberry-Pi voogd' (37) and sensor 'Script Info Temp' (129) with value '36.3' after conversion.\n> 2016-03-21 07:52:22,563 domogik-xplgw INFO Storing stat for device 'Pluie' (13) and sensor 'Counter diff' (93) with value '412' after conversion.\n> 2016-03-21 07:52:22,965 domogik-xplgw INFO Storing stat for device 'Pluie' (13) and sensor 'Counter' (92) with value '412' after conversion.\n> 2016-03-21 07:52:24,213 domogik-xplgw INFO Storing stat for device 'Buanderie' (28) and sensor 'Temperature' (117) with value '11.1' after conversion.\n> 2016-03-21 07:52:24,747 domogik-xplgw INFO Storing stat for device 'Buanderie' (28) and sensor 'Battery' (118) with value '90' after conversion.\n> 2016-03-21 07:52:28,566 domogik-xplgw INFO Storing stat for device 'Consommation Elec jour' (38) and sensor 'Script Info Number' (130) with value '2.083' after conversion.\n> 2016-03-21 07:52:29,652 domogik-xplgw INFO Storing stat for device 'Consommation Eau jour' (35) and sensor 'Script Info Number' (127) with value '9.5' after conversion.\n>\n> But value are still received:\n>\n> $ grep Adding core_xplgw.log\n> 2016-03-21 12:52:22,028 domogik-xplgw DEBUG Adding new message to the sensorQueue, current length = 2\n> 2016-03-21 12:52:22,324 domogik-xplgw DEBUG Adding new message to the sensorQueue, current length = 3\n> 2016-03-21 12:52:22,450 domogik-xplgw DEBUG Adding new message to the sensorStoreQueue, current length = 16618\n> 2016-03-21 12:52:22,906 domogik-xplgw DEBUG Adding new message to the sensorStoreQueue, current length = 16619\n> 2016-03-21 12:52:23,326 domogik-xplgw DEBUG Adding new message to the sensorQueue, current length = 2\n> 2016-03-21 12:52:23,406 domogik-xplgw DEBUG Adding new message to the sensorStoreQueue, current length = 16620\n> 2016-03-21 12:52:23,592 domogik-xplgw DEBUG Adding new message to the sensorQueue, current length = 2\n> 2016-03-21 12:52:23,625 domogik-xplgw DEBUG Adding new message to the sensorQueue, current length = 3\n> 2016-03-21 12:52:24,980 domogik-xplgw DEBUG Adding new message to the sensorStoreQueue, current length = 16621\n> 2016-03-21 12:52:25,464 domogik-xplgw DEBUG Adding new message to the sensorStoreQueue, current length = 16622\n>\n> I leave rpi2 now to use another hardware configuration with a PC ATOM D525\n> 4 core 2GB RAM.\n> Unfortunately I find the same problem of sensor data that is not written\n> in databases after a few hours.\n>\n> THE CPU load of the rpi2 or ATOM is not high for quad core cpu.\n>\n> RPI2\n>  dan@voogd: ~ $ uptime\n> 1:25:24 p.m. up 2 days, 1:06 p.m., 5 users, load average: 1.32, 1.34, 1.47\n>\n> ATOM\n>  dan@vesta: ~ $ uptime\n>  1:25:30 p.m. up 2 days, 3:44, 4 users, load average: 1.25, 1.63, 1.53\n>\n> I use the Domogik/Domogik-mq develop version with the last commits, and\n> it's works without problem on VM (Intel I5 hosting)\n> but impossible for me to have a stable Domogik on \"small\" config like rpi2\n> or ATOM D525.\n>\n> Can you tell me if you have tested on identical configurations ?\n> Have you an idea where to find for the cause of this problems?\n>\n> I do not know what to do now.\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/domogik/domogik/issues/275>\n>\n"}}