Questions tagged [supervisord]
Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.
1,594
questions
0
votes
0
answers
8
views
Celery worker with docker compose | new deployment without dataloss
I have a docker compose that contains the following stack:
django application, rabbitmq, celery beat (master) and celery workers (agents).
When I want to deploy a new deployment of the docker compose ...
0
votes
0
answers
6
views
No package metadata was found for supervisor 4.2.2 on Debian11
I'm trying to install and use supervisor with Debian 11.
I run Python3.11 but have tested with Python3.10 as well without success. (Python is built from source)
Setting up supervisor (4.2.2-2) is ...
0
votes
0
answers
14
views
What's the problem with exposing supervisord's `inet_http_server` to the internet if it's protected by username and password with HTTPS? [closed]
Supervisord documentation strongly advises against exposing inet_http_server web interface to the internet at large: http://supervisord.org/configuration.html#inet-http-server-section-settings
Where's ...
0
votes
1
answer
14
views
Set TTL for Supervisor jobs
I've been using Supervisor for over a year now to run 40 jobs on a project.
Today, without any changes to the code or the server, two jobs got stuck, which caused some problems to the services I ...
0
votes
3
answers
27
views
Laravel mailable. Why my queued messages are not sent?
I have two mailable clasess: Notification and UserRegister
On develop environment both work fine
On production environment only Notification works properly.
In this case, UserRegister works if it'...
0
votes
0
answers
23
views
Illuminate\Queue\MaxAttemptsExceededException in Laravel 10 despite setting timeout to be lower than retry_after
I'm using Laravel 10 and PHP 8.1. I have a website monitoring platform which customers can add their websites and they're checked at an interval to see if the sites are up or down. My cron runs every ...
0
votes
0
answers
7
views
Laravel_Command job_Not write log to CloudWatch if the command job is triggered by Queue job (subpervisor)
I'm setting up logging on CloudWatch for my command job on laravel.
The log working fine (log can be written to CloudWatch correctly) when I run the command job in my local and when I run that command ...
0
votes
0
answers
17
views
Which Laravel user account to set up and configure Supervisor
I have a Laravel app installed on a Digital Ocean Ubuntu server. I installed supervisor as root user and the permission for the conf file are as follows:
-rw-r--r-- 1 root root 334 Mar 2 10:34 my-...
0
votes
0
answers
21
views
Supervisor sometimes stop run on docker
I run supervisor on docker container. It starts correctly but after an amount of time it stops schedule jobs and supervisorctl status show process are still running.
If I run supervisorctl status I ...
0
votes
0
answers
35
views
restart workers messenger with symfony and supervisord
I'm actually mounting a Docker for my company, I'm using a phpfpm container and I put inside supervisord. Supervisor start my phpfpm service and my symfony's workers to consume when I send messages ...
0
votes
1
answer
29
views
Laravel Supervisor - SMTP issue stopping the code even email is sending through queue
I have supervisor installed to run the code using Laravel queue in background
I am using this things to send an email usually and using SMTP to send an email
But whenever there is any issue with SMTP ...
0
votes
1
answer
45
views
nginx+uwsgi stops responding after auto reload
I have a docker container based off Alpine 3.16
It runs nginx/uwsgi with supervisord for a django based app.
This Dockerfile has been pretty much the same for several years now. Auto reload worked ...
0
votes
0
answers
14
views
How to temporarily transfer voicemail tasks another agent?
Consider a situation where an agent on a dedicated line is receiving many voicemail messages and they are in a training for next few hours. Now supervisor sees this and want to distribute the load ...
0
votes
0
answers
19
views
Celery Module Tasks are Cached so edits in dev environment do not apply
I have a problem which makes local development with Celery very difficult.
If I edit my local files and restart docker containers none of the CODE changes are applied. Not talking about task result ...
0
votes
0
answers
46
views
Mercure 0.14 configuration behind Nginx reverse proxy with supervisor - server not responding
I need help configuring Mercure 0.14 to run on port 3000 on a production server, which nginx will proxy to behind the path /mercure/.
To install Mercure, I did the following:
Grabbed Mercure 0.14 ...
0
votes
0
answers
13
views
Daemonizing celery with supervisor issues (Django Rest Framework)
I cannot seem to get celery working in production using supervisor. I am normally using it in local development running the command. However, when I make a supervisor setup, it is not working. Reading ...
0
votes
0
answers
55
views
Autorestart not working for supervisord programs
I am working with supervisord and I am facing issues in automatic restart of supervisord programs.
supervisord.conf
[supervisord]
logfile=/dev/null
pidfile=/tmp/supervisord.pid
nodaemon=true
[...
0
votes
1
answer
50
views
Supervisorctl : Issuing in running supervistorctl status
I am not able to run any supervisorctl command inside docker container like stop, start, status, restart, etc.
My Supervisord configuration looks like below
abc@abc-adhocworker-c89d9667b-9lqbd:/app$ ...
0
votes
0
answers
85
views
Supervisord services healthcheck with eventlisteners
I am using redash where supervisord is used for process management of redash workers.
It is using supervisord eventlistener for healthchecks.
Source : https://github.com/getredash/redash/blob/...
0
votes
0
answers
111
views
Can't install supervisor in docker container
I have a Dockerfile
FROM python:3.10.4
RUN apt-get update
RUN apt-get install -y supervisor
WORKDIR /app
COPY requirements.txt .
COPY ./docker/api/conf.d/supervisor.conf /etc/supervisor/conf.d/...
0
votes
0
answers
37
views
what is the best way for heavy periodic tasks (django)
i have a django app that has more than 500 tables each table is for a device (each device sends 500 data every day and i store them in database).
i should get 10 minutes,hourly,daily,weekly, monthly ...
4
votes
1
answer
162
views
Laravel Horizon Restrictions and Optimization
Is there any rule of thumb or any logical relation between maxProcesses, number of supervisors and the total number of queues in laravel horizon?
What if I have 15 supervisors and 40 queues (each ...
0
votes
0
answers
87
views
Supervisor "spawn error" : I'm stuck... how can I know the reason for the error?
I have a Django REST API running on an UBUNTU 20.04 server, with a sqlite database.
Everything has been working for weeks with no issue.
Today, after pulling small changes to my code (changes in my ...
0
votes
0
answers
56
views
How to kill supervisord if child process exited with non-zero status
I have 3 child proccesses in supervisord, one of them is java.
[program:sgw]
command=java -jar test.jar
process_name=%(program_name)s ; process_name expr (default %(program_name)s)
autostart=true ...
0
votes
1
answer
44
views
Supervisorctl worker.log error : Could not open input file: /Users/../ artisan
Laravel worker cant execute the command artisan queue:work but the status show the worker is running,i know something is wrong about the command in the supervisord command but cant figure it out .
...
0
votes
0
answers
28
views
Can't get NGINX to read socket created by GUNICORN via SUPERVISORD (permission error)
I'm trying to run Django on AWS/Ubuntu using NGINX/Gunicorn (via supervisord)
My Nginx logs keeps throwing a permission error when trying to access app.sock.
"app.sock" is created by ...
0
votes
0
answers
29
views
Why django codes not updating automatically using supervisorctl and Gunicorn?
Using Supervisor, I deployed Django. Django codes are not updated, instead I must restart Nginx or Supervisor. If you could help me with this issue, that would be great.
Supervisor configuration
[...
0
votes
1
answer
117
views
Could not open input file: /path/artisan using supervisor
Ciao,
I am trying to use a supervisor to run the Laravel job in the background but it seems like, I won't go far without your assistance, when the supervisor starts, in my worker.log i found that it ...
0
votes
0
answers
335
views
Running httpd and php-fpm under supervisord process in docker does not work
I have this set up where I'm trying to run httpd and php-fpm in a docker container via a supervisord process.
My supervisord.conf is like so:
[supervisord]
nodaemon=true
[program:httpd]
command=httpd ...
1
vote
1
answer
231
views
Nuxt 3 server does not stop when restarting supervisor job
I have set up a production environment for a nuxt app where the nuxt server gets run through a supervisor job. When the port is not in use this works well. However, if I issue the supervisorctl reload ...
1
vote
1
answer
149
views
Daphne + Supervisor inside Docker Container can't access my application
I'm trying to scale my Django app that uses Daphne server inside Docker container with Supervisor because Daphne has no workers. I read on the internet that it should be done that way but I didn't ...
0
votes
0
answers
15
views
Managing externalized properties files for multiple enviroments
I have a Java Spring Boot application, which is running for different clients. All of the clients use the same .jar file, which is uploaded to the Ubuntu machine.
The .jar file has bundled application....
0
votes
0
answers
20
views
sometimes supervisor stops gunicorn
I have a Django project on ubuntu server 22.04. I use django-channels with supervisor deployment but sometimes it kills the gunicorn worker for approx 10 secs after that it starts working. I do not ...
0
votes
0
answers
117
views
Laravel Scheduler Skipping certain Jobs but Dispatching another on Server but Works perfectly fine on Localhost
I have created 2 jobs, namely "DailySalesSummaryAmazon" and "AmazonAccountHealthSummary". I am trying to dispatch these jobs everyday at 9:30 AM. Somehow, the first job is not ...
0
votes
0
answers
18
views
supervisor kill jobs sometimes laravel
In the supervisord.conf file I have added the below code -
[program:laravel-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /home/webtest01/public_html/artisan queue:work --timeout=...
0
votes
0
answers
51
views
Let supervisor access all host environment variables
There is a host environment variable "DISPLAY" which I want in my supervisor environment.
Also, I do not want to meddle with my .bashrc file.
0
votes
0
answers
87
views
Job not inserting in job table - lumen queue
there is 2 projects - project1, project2 (both project connected with same database)
in project1, implemented queue which is inserting data into jobs table
in project2, implemented queue which is not ...
0
votes
0
answers
24
views
Supervisor group multiple programs
I've created a group with multiple programs in my conf file, but having a single line with all programs is difficult to read and perform changes.
[group:my-group]
programs=program-a,program-b,program-...
0
votes
1
answer
13
views
How to guarantee Supervisor-launched script gets killed when daemon stopped?
How do you ensure that running sudo supervisorctl stop myservice actually stops my service?
I have a Supervisor config like:
[program:myprogram]
command=/usr/local/bin/run_script.sh
directory=/usr/...
0
votes
1
answer
52
views
Http errors 502 Bad Gateway during scale up on Heroku
After I solvied H13 errors during scale down events I realized I am getting also buch of 502 Bad Gateway HTTP errors during scale up events.
I am running container with Docker image on Heroku ...
0
votes
0
answers
91
views
Raspberry Nginx/Supervisor - Internal Server Error
I created a SPA (React) with a Asp.Net Backend (Net6.0). I can access the Site but every backend call just returns a HTTP 500
Supervisor.conf:
[program:Service]
command=/home/pi/.dotnet/dotnet /var/...
0
votes
2
answers
69
views
'socket' object has no attribute 'sendfile' while sending a file in flask + gunicorn + nginx + supervisor setup
Using flask, I'm trying to send a file to the user on clicking a button in UI using send_from_directory function. It used to work fine. I wanted to change the repo and since changing it, I'm no more ...
0
votes
0
answers
82
views
Supervisord not releasing log file during rotation
I've got a pair of CentOS 7 servers that are running SupervisorD with one program. Supervisord is not set to handle any log rotations.. supervisord.conf's lines related to size and backups both = 0.
...
1
vote
1
answer
62
views
H13 (Connection closed without response) errors on Heroku scale down
I am running Django app in Docker image with uWSGI, supervisor and nginx on Heroku.
I am often getting H13 (Connection closed without response) errors when the app is scaling down:
This problem ...
5
votes
0
answers
178
views
Gunicorn + Nginx - Resource temporarily unavailable while connecting to upstream
We are using gunicorn + supervisor + nginx to run django app using docker environment on beanstalk
Issue is supervisor shows that gunicorn is up but all requests fails with 502 response code from ...
0
votes
0
answers
15
views
How does Supervisord get process and system information?
I'am learning about Supervisord, when I look at the source code, I can't figure out how it can get information about processes, such as the process's uptime, how the process works. How does it start ...
0
votes
1
answer
559
views
run cron using supervisord on docker alpine image
I have a docker image part of a service and I am testing the possibility to add a cron job
I have setup the Dockerfile using with a crontab that should run a script (that for now should just output ...
0
votes
0
answers
87
views
Could not create FastCGI socket while running the Django application by supervisord
I got these messages in the log file:
supervisord[1380896]: INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
supervisord[1380896]: INFO Creating socket tcp://...
0
votes
0
answers
144
views
Docker laravel container service exits with Supervisord
I have a laravel 9 application that I want to deploy to AWS ECS. The application uses redis for queue and I have installed horizon. I also installed Supervisor in the docker container but once I ...
1
vote
0
answers
744
views
How to set up Supervisor and Laravel Horizon on Docker
I have successfully deployed a laravel application with horizon installed to AWS ECS. However horizon has remained Inactive and I am stuck trying to get it to work as my emails are getting queued and ...