Articles in this section

How to enhance the worker connections without restarting Solus stack?

Applicable to:

  • SolusVM 2

Question

How to enhance the worker connections without restarting Solus stack?

Answer

  1. SSH into the SolusVM 2 Management node
  2. Execute:

    # docker ps --format '' -f name=solus_nginx

  3. Access the shell of the container:

    # docker exec -ti "container ID" /bin/bash

  4. Modify the /etc/nginx/nginx.conf and 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.conf out 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

  5. Reload the Nginx container:

    # nginx -s reload

  6. Edit the /usr/local/solus/config/config.yml - adjust the worker connections there for persistence upon reboot or restart of entire SolusVM 2.
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.