[Answered ]-Not able to run celeryd as normal user but runs with root


You are not giving r/w access for the user that runs celery to the shared memory (/dev/shm), that it’s accessed by multiprocessing.

You should add this to your /etc/fstab:

none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0

And restart your linux.


You can try adding permissions manually to /dev/shm:

sudo chmod u+rw /dev/shm

Leave a comment