Applicable to:
- SolusVM 2
Question
How to enhance the worker connections without restarting Solus stack?
Answer
- SSH into the SolusVM 2 Management node
Execute:
# docker ps --format '' -f name=solus_nginx
Access the shell of the container:
# docker exec -ti "container ID" /bin/bash
Modify the
/etc/nginx/nginx.confand increase the worker_connections in that file:Note: Use SED command or copy the file locally, edit it and then upload it to the container again
- Copy the
nginx.confout of the container# docker cp <container_id>:/etc/nginx/nginx.conf ./nginx.conf
- Edit it on your host machine (with nano, vim, etc.)
# nano nginx.conf
- Copy it back into the container
# docker cp ./nginx.conf <container_id>:/etc/nginx/nginx.conf
Reload the Nginx container:
# nginx -s reload
- Edit the
/usr/local/solus/config/config.yml- adjust the worker connections there for persistence upon reboot or restart of entire SolusVM 2.
Comments
Please sign in to leave a comment.