Just to clarify: the number of LMS workers defined by OPENEDX_LMS_UWSGI_WORKERS is actually the number of processes launched by uwsgi for the web server: uWSGI Options — uWSGI 2.0 documentation
You can check how many processes are running for each uwsgi server by running:
$ ps aux | grep processes
On my machine, with the default configuration, I get --processes=2:
Please next time you open a topic do mention the version of Tutor that you are running if your are not using the latest one.
I see that your uwsgi workers are running since January 13th, which means that they were not restarted after I posted my last answer. Make a hard reboot:
tutor config save \
--set OPENEDX_LMS_UWSGI_WORKERS=8 \
--set OPENEDX_CMS_UWSGI_WORKERS=4
tutor local stop
tutor local start -d
I think it may be related to a permission error
because when I type it using
sudo tutor config save
–set OPENEDX_LMS_UWSGI_WORKERS=8
–set OPENEDX_CMS_UWSGI_WORKERS=4
it does not show up any error
but when I type it without sudo
I get this
Are you seriously running Tutor with sudo despite the warnings that are printed to stdout?
You are running Tutor as root. This is strongly not recommended. If you are doing this in order to access the Docker daemon, you should instead add your user to the ‘docker’ group. (see Linux post-installation steps for Docker Engine | Docker Docs)
Running some tutor commands with sudo and others without will yield VERY different results. That’s because the project root will be different in both cases. On my computer, I have:
The number of processes are now changed to 8
is it done now?
if so
Could you please tell me How many concurrent users are per 1worker?
and how much memory does each worker need?
(Assuming most of the users are using mobile app and do basic stuffs like watching videos that are stored on another s3 like cloud …)