Comments (3)
Laut Web-Recherche erscheint der Fehler "sockets disabled, connection limit reached", wenn der Wert server.max-connections aus der lighttpd-Konfiguration überschritten wird.
Man könnte also versuchen in der Datei /etc/debmatic/lighttpd/lighttpd.conf die beiden Werte server.max-connections=1024 und server.max-fds=2048 zu verdoppeln, verdreifechen, etc.
Ich habe aber den Eindruck, dass sich die offenen Verbindungen aus irgendeinem Grund kummulieren und nach ca. einer Woche den zulässigen Wert überschreiten. Mit einer Erhöhung der Werte würde man das Problem nur hinauszögern. Dann steigt die Debmatic eben nach zwei, drei Wochen aus, was nicht weithilft.
Als Workaround habe ich nun unter /etc/cron.d ein cron-Script angelegt, welches den lighttpd.service einmal pro Tag neu startet.
/etc/crond.d/restart-lighttpd
SHELL=/bin/sh
# You can also override PATH, but by default, newer versions inherit it from the environment
#PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
0 12 * * * root /usr/bin/systemctl -q restart lighttpd.service
#
Damit läuft die Debmatic seit etlichen Wochen stabil, ohne auszusteigen.
from debmatic.
Latest lighttpd release is lighttpd 1.4.76. If your distro (Xubuntu) is still shipping an older version, then please make some noise to try to get the distro to provide an updated lighttpd package. (Debian and Ubuntu typically ship out-of-date software.)
It is possible that you are hitting a bug fixed in lighttpd 1.4.76: https://redmine.lighttpd.net/issues/3249
If you think this might be a different issue, please help me to reproduce the issue. I am a lighttpd developer, but do not use Debmatic, so you might open an issue on https://redmine.lighttpd.net/ if you're willing to work with me to collect more data, e.g. to establish if connections are not being closed.
from debmatic.
dpkg -l lighttpd says...
||/ Name Version Architektur Beschreibung
+++-==============-=================-============-============================================
ii lighttpd 1.4.63-1ubuntu3.1 amd64 fast webserver with minimal memory footprint
The lighttpd issue #3249 states that it occures only in Version 1.4.74 and 1.4.75 of lighttpd.
So, it is probably a different issue.
from debmatic.
Related Issues (20)
- apt.debmatic.de not reachable
- debmatic WebUI nicht erreichbar / www.debmatic.de down? HOT 1
- XML API HOT 1
- debMatic WebUI HOT 16
- HB-RF-USB-TK wird nach dem Neustart de Raspberry nicht erkannt HOT 3
- debmatic backup/restore armv7l/x86_64 HOT 2
- Installation auf LXD debian bookworm VM: Create kernel modules ... FAILED HOT 5
- Update aus Rasperry matic erzeugt fehler HOT 4
- Installation auf RPi 5B unter Bookworm schlägt fehl HOT 3
- [DOC] Geänderter Pfad in neuem Raspberry Pi OS HOT 1
- Pinbelegung anpassen HOT 2
- Installation auf Debian 12 in Proxmox (VM) inkl. HB-RF-USB-2 + RPI-RF-MOD HOT 4
- debmatic multimacd legt Raspberry 3 lahm
- RPI-RF_MOD wird nicht mehr erkannt HOT 1
- HmIP-AP LAN Gateway HOT 1
- Debmatic no more updatable Ubuntu18.4 HOT 2
- debmatic, debain 12.5, Mac mini m1 HOT 2
- debmatic.de nicht erreichbar HOT 1
- Homematic CCU nicht erreichbar nach Update? HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from debmatic.