Open milekey opened 12 months ago
Verified to be true. Please change first line "off with it" to "off without it" ;-) And first section can better be formatted via 3-ticks+diff like:
diff --git a/net/uwsgi/files/emperor.ini b/net/uwsgi/files/emperor.ini
index 9c245af1d..c45177d0d 100644
--- a/net/uwsgi/files/emperor.ini
+++ b/net/uwsgi/files/emperor.ini
@@ -4,6 +4,6 @@ pidfile = /var/run/uwsgi.pid
emperor = /etc/uwsgi/vassals/*.ini
early-emperor = true
vacuum = true
-emperor-on-demand-directory = /var/run/
+emperor-on-demand-directory = /var/run
emperor-required-heartbeat = 99
vassal-set = die-on-idle=true
Ping @Ansuel , thanks.
Verified to be true. Please change first line "off with it" to "off without it" ;-) And first section can better be formatted via 3-ticks+diff like:
diff --git a/net/uwsgi/files/emperor.ini b/net/uwsgi/files/emperor.ini index 9c245af1d..c45177d0d 100644 --- a/net/uwsgi/files/emperor.ini +++ b/net/uwsgi/files/emperor.ini @@ -4,6 +4,6 @@ pidfile = /var/run/uwsgi.pid emperor = /etc/uwsgi/vassals/*.ini early-emperor = true vacuum = true -emperor-on-demand-directory = /var/run/ +emperor-on-demand-directory = /var/run emperor-required-heartbeat = 99 vassal-set = die-on-idle=true
Thank you, @brada4.
This seems like an issue that should be raise with upstream. I think most users would not expect a trailing slash to have any tangible effects like this.
Maintainer: Ansuel Smith ansuelsmth@gmail.com Environment: OpenWrt 23.05.2
Description:
The emperor.ini 's emperor-on-demand-directory value has tailing '/' (slash), I think it may be better off without it.
As you see below, some log messages have double slash path as "/var/run//luci-webui.socket":
By such behavior, multiple fds are created for the same socket from taking " /var/run/python-cgi.socket" and "/var/run//python-cgi.socket" are different files.
And sometimes it causes vacuum error: