init: php5-fpm main process (3586) terminated with status 78

Hi all,

I just allowed my droplet to update to “the latest version of our cloud” and now I am having issues with Nginx/PHP5-FPM

I get the following error multiple times when I try to start FPM

 init: php5-fpm main process (3586) terminated with status 78

Followed by

 init: php5-fpm respawning too fast, stopped

I’ve not changed anything config wise, and it was working fine after a restart before the droplet upgrade.

Any tips?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


In my case, we changed de rlimit_files to

rlimit_files = unlimited

and php fails to start. If we change the directive to

;rlimit_files = unlimited

php5-fpm runs ok.

What method are you using to start/restart php5-fpm? If you are using the /etc/init.d/php5-fpm script directly this is likely the cause of the issue since php5-fpm utilizes upstart. I’ve found a couple places with additional information and solutions for this issue which can be found below:

Can’t start or stop php-fpm on Ubuntu Mysterious error with php5-fpm

In the future when starting/stopping/restarting php5-fpm you can use the commands:

service php5-fpm start       #Start the service
service php5-fpm stop       #Stop the service
service php5-fpm restart   # Restart the service