Hallo zusammen,
ich habe in letzter Zeit vermehrt Probleme mit folgenden Fehlern im Logfile. Homegear ist dann praktisch auch nicht mehr nutzbar. Der Fehler führt auch dazu, dass dann beispielsweise auch die SPI-Konfiguration versagt.
10/06/16 12:56:36.565 RPC Server (Port 2001): Error: There are too many clients connected to me. Closing incoming connection. You can increase the number of allowed connections in main.conf.
10/06/16 12:56:37.567 RPC Server (Port 2001): Error: There are too many clients connected to me. Closing incoming connection. You can increase the number of allowed connections in main.conf.
10/06/16 12:56:38.569 RPC Server (Port 2001): Error: There are too many clients connected to me. Closing incoming connection. You can increase the number of allowed connections in main.conf.
10/06/16 12:56:39.570 RPC Server (Port 2001): Error: There are too many clients connected to me. Closing incoming connection. You can increase the number of allowed connections in main.conf.
10/06/16 12:56:40.572 RPC Server (Port 2001): Error: There are too many clients connected to me. Closing incoming connection. You can increase the number of allowed connections in main.conf.
10/06/16 12:56:41.574 RPC Server (Port 2001): Error: There are too many clients connected to me. Closing incoming connection. You can increase the number of allowed connections in main.conf.
10/06/16 12:56:42.575 RPC Server (Port 2001): Error: There are too many clients connected to me. Closing incoming connection. You can increase the number of allowed connections in main.conf.
10/06/16 12:56:43.577 RPC Server (Port 2001): Error: There are too many clients connected to me. Closing incoming connection. You can increase the number of allowed connections in main.conf.
10/06/16 12:56:44.578 RPC Server (Port 2001): Error: There are too many clients connected to me. Closing incoming connection. You can increase the number of allowed connections in main.conf.
10/06/16 12:56:45.580 RPC Server (Port 2001): Error: There are too many clients connected to me. Closing incoming connection. You can increase the number of allowed connections in main.conf.
Die Verbindungen sehen wie folgt aus:
root@alarmsystem:~# netstat -anp | grep 2001
tcp 0 0 0.0.0.0:2001 0.0.0.0:* LISTEN 9605/homegear
tcp 1 0 192.168.0.199:2001 192.168.0.199:49817 CLOSE_WAIT 9605/homegear
tcp 1 0 192.168.0.199:2001 192.168.0.199:49828 CLOSE_WAIT 9605/homegear
tcp 1 0 192.168.0.199:2001 192.168.0.199:49800 CLOSE_WAIT 9605/homegear
tcp 1 0 192.168.0.199:2001 192.168.0.199:49805 CLOSE_WAIT 9605/homegear
…
Hat das schon einmal jemand gesehen? Ich verbinde mich per RPC von Java aus, aber dort kann ich kein Problem erkennen. Dort nutze ich auch vielfach eingesetzte Komponenten von Apache.
Ich würde sagen, es hat etwas mit den “Pushes” zu tun, also den RCP-Calls von Homegear zu meiner Applikation!?!
root@alarmsystem:~# lsof -i TCP
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
homegear 9605 homegear 15u IPv4 1129289 0t0 TCP alarmsystem.lan:2001->alarmsystem.lan:49791 (CLOSE_WAIT)
homegear 9605 homegear 16u IPv4 1129968 0t0 TCP alarmsystem.lan:2001->alarmsystem.lan:49792 (CLOSE_WAIT)
homegear 9605 homegear 17u IPv4 1129969 0t0 TCP alarmsystem.lan:2001->alarmsystem.lan:49793 (CLOSE_WAIT)
homegear 9605 homegear 18u IPv4 1129970 0t0 TCP alarmsystem.lan:2001->alarmsystem.lan:49794 (CLOSE_WAIT)