Understanding the status (CGroup section) of a running Flask app service

wmunsell

New Member
Joined
Jan 3, 2024
Messages
1
Reaction score
0
Credits
21
I have two Flask apps currently running on my Ubuntu 22.04 server with no issues. when i check the status of each, one has 4 items within the CGroup section and one has 2. what are these? should there only be one? just trying to understand what im looking at and see if i potentially did something wrong.

Flaskapp 1 -

CGroup: /system.slice/events.service
├─442042 /home/user/wrestling_events/eventsenv/bin/python3 /home/user/wrestling_events/eventsenv/bin/gunicorn --workers 3 --bind 127.0.0.1:5001 wsgi:app
├─442043 /home/user/wrestling_events/eventsenv/bin/python3 /home/user/wrestling_events/eventsenv/bin/gunicorn --workers 3 --bind 127.0.0.1:5001 wsgi:app
├─442044 /home/user/wrestling_events/eventsenv/bin/python3 /home/user/wrestling_events/eventsenv/bin/gunicorn --workers 3 --bind 127.0.0.1:5001 wsgi:app
└─442045 /home/user/wrestling_events/eventsenv/bin/python3 /home/user/wrestling_events/eventsenv/bin/gunicorn --workers 3 --bind 127.0.0.1:5001 wsgi:app

Flaskapp 2 -

CGroup: /system.slice/stats.service
├─357125 /home/user/statsapp/statsenv/bin/python3 /home/user/statsapp/statsenv/bin/gunicorn --bind 127.0.0.1:5000 wsgi:app
└─357126 /home/user/statsapp/statsenv/bin/python3 /home/user/statsapp/statsenv/bin/gunicorn --bind 127.0.0.1:5000 wsgi:app
 

Members online


Top