Anyone aware on this issue and the solution in this regards? Couldn’t find it anywhere…
After this error occurs, OH 1.8.3 does not work anymore and it needs re-start.
2016-07-23 13:22:10.763 [WARN ] [efaultUpnpServiceConfiguration] - Thread terminated (ReceivingNotification) abruptly with exception: java.lang.OutOfMemoryError: unable to create new native thread
2016-07-23 13:22:10.760 [WARN ] [efaultUpnpServiceConfiguration] - Thread terminated org.teleal.cling.registry.RemoteItems$3@1b8de6c abruptly with exception: java.lang.OutOfMemoryError: unable to create new native thread
2016-07-23 13:22:10.760 [WARN ] [efaultUpnpServiceConfiguration] - Root cause: java.lang.OutOfMemoryError: unable to create new native thread
2016-07-23 13:22:10.765 [WARN ] [efaultUpnpServiceConfiguration] - Thread terminated org.teleal.cling.registry.RemoteItems$3@14741c6 abruptly with exception: java.lang.OutOfMemoryError: unable to create new native thread
2016-07-23 13:22:10.759 [WARN ] [efaultUpnpServiceConfiguration] - Thread terminated org.teleal.cling.registry.RemoteItems$3@191f41f abruptly with exception: java.lang.OutOfMemoryError: unable to create new native thread
2016-07-23 13:22:10.758 [WARN ] [efaultUpnpServiceConfiguration] - Thread terminated org.teleal.cling.registry.RemoteItems$3@139d5a5 abruptly with exception: java.lang.OutOfMemoryError: unable to create new native thread
2016-07-23 13:22:10.768 [WARN ] [efaultUpnpServiceConfiguration] - Root cause: java.lang.OutOfMemoryError: unable to create new native thread
sihui
(SiHui)
July 24, 2016, 2:29pm
2
Are you running the sonos binding?
Then you may find some information here:
This seems similar to (reported by @Bernd_Pfrommer ) :
However, at this point I have no reason to believe it’s related to Insteon or JSR223. I’m starting a new topic in case others are having this problem.
For some reason, in the last 48 hours my openHAB server has crashed several times after running out of memory. I have not seen this issue previously and cannot correlate it to any recent server changes. The memory consumption is shown in the following chart that covers the last week. The th…
Are you running debian on an RPi?
Then you may find some information here:
Hi guys -
I’m trying to get going with openhab, but it randomly crashes on me. I finally was able to capture some log outputs:
2016-02-05 17:17:48.512 [WARN ] [e.jetty.servlet.ServletHandler] - /services/habmin/status org.atmosphere.cpr.DefaultBroadcasterFactory$BroadcasterCreationException: org.atmosphere.cpr.DefaultBroadcasterFactory$BroadcasterCreationException: java.lang.OutOfMemoryError: unable to create new native thread at org.atmosphere.cpr.DefaultBroadcasterFactory.createBroadcaster…
Yes, I run Sonos - this, so far, was stable. I have the aboved issue only since a couple of days and it pops up randomly.
I am running Raspian, which as far i know is a Debian derivation.
Seems not that someone has a solution. Has anyone a great cron job which checks if OH still is running and if not restarts OH?
sihui
(SiHui)
July 24, 2016, 4:14pm
4
Your post has been online since only a day … not everyone is reading the forum every day.
If that is really the last solution, you could try to use monit:
I am running openhab on a virtual machine. Occasionally my z-wave stick gets disconnected from the virtual machine (once a month, I cannot pin-point the reason) and upon such event openHAB freezes.
So I decided to use monit to monitor if the openhab log file still grows. If it stops being updated, I monit sends an alert and a three minutes later reboots the virtual machine, which so far was the only cure for lost USB connection.
Monit config that does it:
check file openHAB.log with path /opt…
steve1
(steve1)
July 24, 2016, 8:29pm
5
In my opinion, the best solution is to not use the Sonos binding in 1.8.x. Just curious, do you have multiple Sonos devices or have you changed your network configuration recently (new router, wifi access point, etc.)? The binding works for some people. The binding worked for me until I bought a few more Sonos devices. Then it started crashing my server at least once a day.
steve1:
In my opinion, the best solution is to not use the Sonos binding in 1.8.x. Just curious, do you have multiple Sonos devices or have you changed your network configuration recently (new router, wifi access point, etc.)? The binding works for some people. The binding worked for me until I bought a few more Sonos devices. Then it started crashing my server at least once a day.
Sonos worked in my openhab 1.8.3 very stable. I indeed did buy 2 new sonos devices, quite some time ago and I never added them to OH. The openhab.log tells this frequently (new devices found …). This never was a problem. I think independent of this my OH 1.8.3 started to get these issues. By the way, it seems there are issues with the Sonos binding. Do you know if this gets further developed / redeveloped?
sihui:
I am running openhab on a virtual machine. Occasionally my z-wave stick gets disconnected from the virtual machine (once a month, I cannot pin-point the reason) and upon such event openHAB freezes.
So I decided to use monit to monitor if the openhab log file still grows. If it stops being updated, I monit sends an alert and a three minutes later reboots the virtual machine, which so far was the only cure for lost USB connection.
Monit config that does it: check file openHAB.log with path /op…
This is a fantastic idea. I installed monit and it is amazing. I did not know it before, but it looks like i can do really amazing things to even automate my Rapi. Since i run Rapi in the required minimum, i obviously do not have a GUI. To solve that one: w3m is a very nice solution! check it out here: w3m