nginx makes mysqld die all the time

Steve Wilson lists-nginx at
Tue Aug 18 12:36:18 UTC 2015


When I migrated from apache+mod_php to nginx+php-fpm I found I had a few 
websites using persistent mysql connections which never closed. I had to 
disable this in the php.ini so all the sites fell back to using 
non-persistent connections.
I don't know if this will help as it was mysql not maria or other. I 
imagine there'll probably be something logged somewhere which needs a 
bit of time to find.

On 18/08/2015 14:23, M. Fioretti wrote:
> Greetings,
> I just migrated to nginx + php-fpm from apache a few websites, on a
> centos 6.6 virtual server. The sites are up but... now mysqld
> (MariaDB, actually) dies every 10/20 **minutes** with status:
> mysqld dead but subsys locked
> or
> mysqld dead but pid file exists
> for reasons not really relevant here I cannot post nginx conf
> right away. I **will** do that in a few hours, when I'm back
> at my desk. Since the crashes are so frequent, however, any
> help to save time is very welcome. Even if it's just request
> of other specific info, besides the nginx conf files.
> TIA,
> Marco
> _______________________________________________
> nginx mailing list
> nginx at

More information about the nginx mailing list