send-campaigns command causing resource exhaustion and DB crash

CFS DEVS

New Member
Hello,

I'm facing a critical issue with the `send-campaigns` command. When I run it (either via cron or manually), it spawns endless PHP processes and hits system resource limits (ulimit -u 80).

This causes the server to crash, and MySQL fails with `SQLSTATE[HY000]: General error: 2006 MySQL server has gone away`.

Even with 12 CPUs and 16GB RAM, the system gets overwhelmed.

What is the proper way to safely limit MailWizz batch processing concurrency or fork behavior? Is there a way to restrict how many processes are spawned?

PHP 8.2.28

It has never happened before, but it started happening today
Using SiteGround Cloud Hosting

Also I have set autodisbalegmail server on limit exceed by google which is running every 5 sec and not having any problem

Thanks.
 
Last edited:
Back
Top