openedx-vlead / college-cloud

1 stars 2 forks source link

Identify the services which are not used and can be stopped in Open edX in College Cloud #61

Open ashay-maheshwari opened 7 years ago

ashay-maheshwari commented 7 years ago

We might not be using all the services of Open edX in College Clout Edition. Identifying which services can stop without affecting the normal functioning of edX, consumption of RAM can be reduced to a great extent.

Below are the services on Open edX -

ubuntu@ip-172-31-7-203:~$ /edx/bin/supervisorctl status all 
analytics_api                    RUNNING   pid 20047, uptime 5 days, 18:32:41
certs                            RUNNING   pid 6680, uptime 0:00:12
edx_notes_api                    RUNNING   pid 20055, uptime 5 days, 18:32:41
edxapp:cms                       RUNNING   pid 20065, uptime 5 days, 18:32:41
edxapp:lms                       RUNNING   pid 20063, uptime 5 days, 18:32:41
edxapp_worker:cms_default_1      RUNNING   pid 20082, uptime 5 days, 18:32:41
edxapp_worker:cms_high_1         RUNNING   pid 20074, uptime 5 days, 18:32:41
edxapp_worker:cms_low_1          RUNNING   pid 20066, uptime 5 days, 18:32:41
edxapp_worker:lms_default_1      RUNNING   pid 20077, uptime 5 days, 18:32:41
edxapp_worker:lms_high_1         RUNNING   pid 20091, uptime 5 days, 18:32:41
edxapp_worker:lms_high_mem_1     RUNNING   pid 20069, uptime 5 days, 18:32:41
edxapp_worker:lms_low_1          RUNNING   pid 20087, uptime 5 days, 18:32:41
forum                            RUNNING   pid 20040, uptime 5 days, 18:32:41
insights                         RUNNING   pid 20092, uptime 5 days, 18:32:41
notifier-celery-workers          RUNNING   pid 20043, uptime 5 days, 18:32:41
notifier-scheduler               RUNNING   pid 20058, uptime 5 days, 18:32:41
xqueue                           RUNNING   pid 20062, uptime 5 days, 18:32:41
xqueue_consumer                  RUNNING   pid 20039, uptime 5 days, 18:32:41
ashay-maheshwari commented 7 years ago

Likely, we might not be using the following services from above list -

  1. analytics_api
  2. certs
  3. edx_note_api
  4. edxapp:cms
  5. forum
  6. insights

All these service can be stopped and functioning of edX can be checked. Also check the free RAM before stopping these services and then after stopping each service one by one.