Closed rojenzaman closed 1 year ago
The AMW_WORKERS environment variable affects only the number of process set by script/init-fcgi.pl
(called by init-all.sh
). If started from systemd, you need to override the service file, which has the number of processes on the command line:
ExecStart=/usr/bin/plackup -s FCGI --listen /var/lib/amusewiki/amusewiki.socket --nproc 5 -E deployment /usr/share/perl5/AmuseWikiFarm/psgi/amusewiki.psgi
Thanks for explaining.
In either installation (package or git), setting AMW_WORKERS as an environment variable does not affect the process count.
outputs:
How can I solve this?