SmartAxiom / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

too many open files #113

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I installed openhab 1.0.0 on my D2Plug computer running PlugPBX linux, which is 
actually a Debian Linux. I use java 6 
(ejre-1_6_0_30-fcs-b12-linux-arm-sflt-eabi-headless-10_nov_2011.tar.gz)
Since upgrade to 1.0.0 and defining the chart statistics I got too many open 
files error after some time. I checked the files which are open by openhab and 
see that ..openhab/runtime/logs/temperatures.log is opened almost thousands 
times by openhab process:
PlugPBX:~# lsof -p 11507 |grep temperatures.log  | wc -l
876

Could you check that log file is closed properly.
What steps will reproduce the problem?
1.Start openhab and define RRD chart
2. Let run openhab for one-two days
3. You will get Too Many Open files error and you can't access webpages of 
openhab.

I did not had such a problem on the openhab 0.9

Original issue reported on code.google.com by ramazany...@gmail.com on 30 Aug 2012 at 10:53

GoogleCodeExporter commented 8 years ago
thanks for reporting this!

Fix is checked in 
http://code.google.com/p/openhab/source/detail?r=efdfbfa8a62d30a59d81a27d3def14d
30889b8b4 and should be available in tomorrows snapshot.

Original comment by teichsta on 30 Aug 2012 at 11:22