MYSQL connections max out and slow down fog server


  • Senior Developer

    I’d recommend, if you’re using 1.2.0, sets your database configuration to persistent:

    In /var/www/fog/lib/fog/Config.class.php edit the DATABASE_HOST line from:

    [php]define(‘DATABASE_HOST’,‘localhost’);[/php] to [php]define(‘DATABASE_HOST’,‘p:127.0.0.1’); [/php]and all should normalize a little better.


 

450
Online

41.6k
Users

12.1k
Topics

114.4k
Posts