RabbitMQ instances are loosing connection with worker server after particular time period though the service instances are up and running on worker. Is there any time limit for RabbitMQ server connections hosted on AmazonMQ? #711
I have worker server which is taking messages from rabbitMQ and process those. I am facing time limit issue with the services instances connected with rabbitMQ. as I mentioned though the service instances are up and running the connection is loosing with rabbitMq.
Your environment
PHP 8.2
rabbitMQ 3.11
amqp 0.9.1
This is my service file
[Unit]
Description="Pdf_Worker instance #%i" worker@.service units
PartOf=pdf_workers.target
Subject of the issue
I have worker server which is taking messages from rabbitMQ and process those. I am facing time limit issue with the services instances connected with rabbitMQ. as I mentioned though the service instances are up and running the connection is loosing with rabbitMq.
Your environment
This is my service file
[Unit] Description="Pdf_Worker instance #%i" worker@.service units PartOf=pdf_workers.target
[Service] Type=simple ExecStart=/usr/bin/php /var/worker/pdf-worker/src/pdf_worker.php %i Restart=always
This My target file.
[Unit] Description=Pdf_Workers Wants=pdf_worker@1.service pdf_worker@2.service pdf_worker@3.service
[Install] WantedBy=multi-user.target