Hello, I'm using Supervisord for separate process manager/consumer with RabbitMQ and Symfony but it's not working properly, it disconnects after a couple of hours.. and for a workaround, I'm using a restart job on Jenkins (as in the linked issue in GitHub) but tbh I would like to have a clean stack.. if anyone knows a better alternative than supervisord it will be awesome..
Many thanks!
I've had good experiences moving from Supervisord to using systemd for managing processes, especially for setups involving RabbitMQ and Symfony. Systemd not only integrates well with the system, offering better control and management, but it also simplifies logging through journalctl and handles automatic restarts seamlessly.
Here's what I did to make the switch: - Craft a Service File: I wrote a .service file in /etc/systemd/system/ to describe my service. It includes details on how to start and stop the process, among other things. - Set Up Service Behavior: Inside this file, I specified commands like ExecStart for launching my process, Restart to ensure it always restarts after failure, and set the User to define which user runs the process. - Enable and Launch the Service: With systemctl enable my-service.service, I made sure my service would start on boot, and systemctl start my-service.service got it running right away. - Manage and Log: Whenever I needed to check on things, journalctl was there for logs, and systemctl helped me manage the service (like checking its status or restarting it). - Switching to systemd resolved the disconnection issues I faced without needing any workarounds like restartingI've had good experiences moving from Supervisord to using systemd for managing processes, especially for setups involving RabbitMQ and Symfony. Systemd not only integrates well with the system, offering better control and management, but it also simplifies logging through journalctl and handles automatic restarts seamlessly.
Here's what I did to make the switch: - Craft a Service File: I wrote a .service file in /etc/systemd/system/ to describe my service. It includes details on how to start and stop the process, among other things. - Set Up Service Behavior: Inside this file, I specified commands like ExecStart for launching my process, Restart to ensure it always restarts after failure, and set the User to define which user runs the process. - Enable and Launch the Service: With systemctl enable my-service.service, I made sure my service would start on boot, and systemctl start my-service.service got it running right away. - Manage and Log: Whenever I needed to check on things, journalctl was there for logs, and systemctl helped me manage the service (like checking its status or restarting it). - Switching to systemd resolved the disconnection issues I faced without needing any workarounds like restart jobs. It felt like a cleaner, more reliable approach.
Many thanks for the recommendation! I will give it a try, thanks : )
Messenger provides a message bus with the ability to send messages and then handle them immediately in your application or to be handled later.
Sunwin Club là một trong những cổng game cá cược trực tuyến hàng đầu tại Việt Nam, uy tín hơn 10 năm về nạp rút tiền với tốc độ nhanh. Được cộng đồng game bài đánh giá là cổng game đổi thưởng số 1 đáng chơi nhất. Với sự cạnh tranh hiện nay nhiều game bài online ra đời như go88, hit club, B52, rikvip, 789club… Cổng game bài đã thay đổi về sự uy tín đầu tư tập trung vào cổng giao dịch nạp rút nhanh và miễn phí giao dịch cho người chơi. Tải game sunwin uy tín tại: https:// taisunwin.group
Thông tin liên hệ:
Địa chỉ: 102 Trương Công Định, Phường 14, Tân Bình, Thành phố Hồ Chí Minh, Việt Nam
Hotline: 0712546214
Email: support@taisunwin.group
Website: https://taisunwin.group/
<a href="https://thepackagesinfo.com/jazz-free-facebook-package/
">check</a>
cool
FANSCLUB99.COM SITUS GACOR ONLIE ABAD INI DI INONDONESIA
link daftar : https://bit.ly/3S5bToi