Laravel Forge — How to fix too many open files error in a queue?

Farid Movsumov
Mar 21, 2024

I had this weird error where my jobs in the queue were getting an error message about too many open files. The Laravel Forge support team helped me solve the problem.

If this happens only in a queue, you should set the configuration in the /etc/supervisor/supervisord.conf

[supervisors]
minfds=1000000

See what the full configuration should look like.

--

--