fix gunicorn warning
This commit is contained in:
parent
8cab76712f
commit
27d36a7f0e
|
@ -0,0 +1,2 @@
|
||||||
|
accesslog="-"
|
||||||
|
errorlog="-"
|
|
@ -10,7 +10,7 @@ Group=server
|
||||||
WorkingDirectory=/srv/server/local-llm-server
|
WorkingDirectory=/srv/server/local-llm-server
|
||||||
# Need a lot of workers since we have long-running requests
|
# Need a lot of workers since we have long-running requests
|
||||||
# Takes about 3.5G memory
|
# Takes about 3.5G memory
|
||||||
ExecStart=/srv/server/local-llm-server/venv/bin/gunicorn --workers 20 --bind 0.0.0.0:5000 server:app --timeout 60 --worker-class gevent -c /srv/server/local-llm-server/other/server.conf
|
ExecStart=/srv/server/local-llm-server/venv/bin/gunicorn --workers 20 --bind 0.0.0.0:5000 server:app --timeout 60 --worker-class gevent -c /srv/server/local-llm-server/other/gconfig.py
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=2
|
RestartSec=2
|
||||||
SyslogIdentifier=local-llm-server
|
SyslogIdentifier=local-llm-server
|
||||||
|
|
Reference in New Issue