Hi,
I am trying to install indico on a hosting service without sudo privileges. The installation seems to have gone well since the indico pace is up and running. The problem is that I continue to get a red prompt saying: **The Celery task scheduler does not seem to be running. This means that email sending and periodic tasks such as event reminders do not work. **.
I’ve tried to search for a solution, anyhow after several hours I did not find anything related to my problem. I’ve found hot that when executing:
indico celery worker -l DEBUG
I get the following output:
-------------- celery@ --- v5.3.1 (emerald-rush)
--- ***** -----
-- ******* ---- Linux-4.18.0-553.30.1.lve.el8.x86_64-x86_64-with-glibc2.28 2025-03-12 23:00:52
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app: indico:0x7fedec691590
- ** ---------- .> transport: redis://127.0.0.1:6379/0
- ** ---------- .> results: redis://127.0.0.1:6379/0
- *** --- * --- .> concurrency: 12 (prefork)
-- ******* ---- .> task events: ON
--- ***** -----
-------------- [queues]
.> celery exchange=celery(direct) key=celery
[tasks]
. category_cleanup
. category_suggestions
. celery.accumulate
. celery.backend_cleanup
. celery.chain
. celery.chord
. celery.chord_unlock
. celery.chunks
. celery.group
. celery.map
. celery.starmap
. delete_unclaimed_files
. event_reminders
. heartbeat
. indico.modules.attachments.tasks.generate_materials_package
. indico.modules.events.static.tasks.build_static_site
. registration_fields_retention_period
. registration_retention_period
. roombooking_end_notifications
. roombooking_occurrences
. send_email
. static_sites_cleanup
. survey_start_notifications
. temp_cleanup
. update_gravatars
. update_system_notices
Killed
I am starting to think that this should not get killed… Does anyone have an idea on how to solve this issue ?
thank you in advance
Out of memory maybe? This type of shared hosting service sounds like the kind of server that severely limits your resource usage as well.
maybe yes ? Actually it should have enough free memory:
I tried to look with top
but it consumed only 0.3% of the available memory before getting killed.
1 GB RAM is almost certainly too low to run Indico uWSGI w/ multiple processes and Indico Celery, likely also w/ multiple processes…
oh ! I’ll try to upgrade. Thank you!
Hi, any idea about this topic ? I have to upgrade my hosting plan, but I don’t know by hoe much. 2Gb is enough to manage a small non profit community ?
You could also try tweaking your uwsgi config by setting processes = 1
and enable-threads = true
.
The celery worker also has an option to limit concurrent processes: indico uwsgi worker -c 1
That said, I recommend using tools like top
or htop
to check the memory usage of your processes.
Thanks again,
with indico celery worker -c 1
it actually lasts longer but it gets killed anyway. It gets killed as soon as I reload the webpage. From top I don’t see the memory getting occupied, what I can see is that the CPU load increases.
I have no idea how to tweak the uwsgi config. Is it the file etc/indico.conf
?
Ah !
yeah, i had to skip that part of the installation procedure. I don’t have access to /etc
. I suppose it is taken care of when the python App is started through the Cpanel.
This is the interface with what the user can manage:
I have installed pip install supervisor
, anyhow I didn’t manage to make it work.
In that case I have no idea how you tweak it, or what it even uses to run your indico application…
FWIW, this is not really a supported way to deploy Indico (and neither of us use cpanel), so I’m afraid there is not much we can do for you…
I fully agree and understand, it is a total mess with cpanel and no privileges. I really didn’t think it could actually even display the interface. I had to connect the indico app to an aws postgre db through the MySQL port to make it work.
Anyhow, I would like to have a working indico app in the next months. As a non profit organization (isnct.net) we also might have enough budget to buy and maintain a small server. What would be the minimum requirements to make indico work well ? Considering that at peak usage we could have about 200/300 active users (I expect 10 daily users).
I am running one of my servers at home (using yunohost) and I am the maintainer of the indico package for yunohost (so you will find it in the catalog). If you have any machine with at least 4G of ram and a good internet connectivity, you can try it. Using yunohost you will get oneclick install, upgrade, backup, restore and remove. Let me know if you need other guidance. Good luck