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.


 

548
Online

41.9k
Users

12.5k
Topics

117.5k
Posts