I have a working laravel environment using docker. my projects has multiple services in different container such as redis, mongodb, mysqldb and nodejs. I want to use supervisor on my project to interact with redis for the queues and php to run the job. I have done some testing and research but I really can’t make it work. so here
Tag: supervisord
Too many open files raised by supervisord?
I use wrk to test web API service managed by supervisor on ubuntu 16.04. have error “too many open files”, but i have set system config still have error “too many open files” I found supervisord is belongs to root and cat /proc/PID/limits so, add root limit settings to limits.conf like below after restart supervisord it’s effected (cat /proc/PID/limits, got
Queued Jobs are still processed even without Supervisor running
This seems weird. I killed all existing processes related to supervisord on my linux server (aws ec2) but the queued jobs are still being processed/worked on. I checked the processes through ps -fe and I don’t find any process of supervisord running. Anyone who can tell me what’s going on? Thanks in advance. Answer So to summarize this question up,
Starting supervisorctl gives ERROR (spawn error) on laravel queue worker process
So i have installed supervisor and it appears to be running. I have placed my config file for the queue worker in /etc/supervisor/conf.d/laravel-worker.conf And it looks like this And my supervisord.conf looks like this I am getting the error – ERROR (spawn error) when i attempt to start the processes. When i look at the log file it shows –
How to turn off printing result of python “sh” library
I’m working on services with Python, when I try to get status of a service with Python sh library, It will return results in a variable like so: It works fine, but when I try to get status of supervisor service it will print all the results in the terminal and destroys my command outputs. So how to turn off
Unable to start a Python app using Supervisord
I have a small app that I want to start using supervisord. I’ve tried the following Installed supervisord and controlled a small script Read Introduction, Running Supervisord and Configuration File sections from the documentation Setting up groups in supervisord My initial shell script could start and stop celery and Flask as daemons by saving the PID in a text file.