lordpengwin / muzak

Amazon Echo Skill for Logitech/Squeezebox Media Server
MIT License
35 stars 16 forks source link

oo many tcp connections crashing LMS #16

Open glacket opened 6 years ago

glacket commented 6 years ago

Hi, Lately lms has started becoming unresponsive after a day or two and I have to restart the service or entire server in order to connect to it again. The log file displays the error “too many files open”. Upon further research I have found that this error is caused by having to many tcp connections open on the port used by lms. It appears most of the open connections are to my echo’s. I am not sure how to close them. When I run netstat –b it shows me most of the connections are initiated by lms. It appears the skill may not be terminating its connection properly but I am not sure. Has anyone else had this problem?

GeoffAtHome commented 6 years ago

What log file are your referring to?

I see a number of connections used by lms but not what I would consider an excesses amount. I.e. other services that I am running had more connections open.