PDO FAIL : SQLSTATE[HY000] [1040] Too many connections

En cours : 
PDOException Object
(
    [message:protected] => SQLSTATE[HY000] [1040] Too many connections
    [string:Exception:private] => 
    [code:protected] => 1040
    [file:protected] => /var/www/vhosts/complexedepages.fr/httpdocs/core/sqlDB.class.php
    [line:protected] => 136
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/vhosts/complexedepages.fr/httpdocs/core/sqlDB.class.php
                    [line] => 136
                    [function] => __construct
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => mysql:dbname=complexe;host=localhost
                            [1] => complexe
                            [2] => D4ef@8g3!5Qpmx50
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/vhosts/complexedepages.fr/httpdocs/core/modulo.class.php
                    [line] => 289
                    [function] => __construct
                    [class] => sqlDB
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /var/www/vhosts/complexedepages.fr/httpdocs/includes/headers.php
                    [line] => 9
                    [function] => __construct
                    [class] => Modulo
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /var/www/vhosts/complexedepages.fr/httpdocs/index.php
                    [line] => 3
                    [args] => Array
                        (
                            [0] => /var/www/vhosts/complexedepages.fr/httpdocs/includes/headers.php
                        )

                    [function] => include
                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => HY000
            [1] => 1040
            [2] => Too many connections
        )

)

 Contexte : 
sqlDB Object
(
    [_config:sqlDB:private] => Array
        (
            [user] => complexe
            [pwd] => D4ef@8g3!5Qpmx50
            [db_name] => complexe
            [server] => localhost
            [type_db] => mysql
        )

    [_pdo:sqlDB:private] => 1
    [_handler:sqlDB:private] => 
    [_res:sqlDB:private] => 
    [_req] => 
    [_fetched:sqlDB:private] => 
    [_curr_line:sqlDB:private] => 0
    [_error:sqlDB:private] => errorClass Object
        (
            [_fichier:errorClass:private] => /var/www/vhosts/complexedepages.fr/httpdocs/core/sqlDB.class.php
            [_ligne:errorClass:private] => 141
            [_objContext:errorClass:private] => sqlDB Object
 *RECURSION*
            [_message:errorClass:private] => 
        )

)

 Dans : /var/www/vhosts/complexedepages.fr/httpdocs/core/sqlDB.class.php:141
Erreur de connexion à la BDD

PDO FAIL : SQLSTATE[HY000] [1040] Too many connections

En cours : 
PDOException Object
(
    [message:protected] => SQLSTATE[HY000] [1040] Too many connections
    [string:Exception:private] => 
    [code:protected] => 1040
    [file:protected] => /var/www/vhosts/complexedepages.fr/httpdocs/core/sqlDB.class.php
    [line:protected] => 136
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/vhosts/complexedepages.fr/httpdocs/core/sqlDB.class.php
                    [line] => 136
                    [function] => __construct
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => mysql:dbname=complexe;host=localhost
                            [1] => complexe
                            [2] => D4ef@8g3!5Qpmx50
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/vhosts/complexedepages.fr/httpdocs/core/module.class.php
                    [line] => 261
                    [function] => __construct
                    [class] => sqlDB
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /var/www/vhosts/complexedepages.fr/httpdocs/core/module.class.php(1979) : eval()'d code
                    [line] => 12
                    [function] => __construct
                    [class] => Module
                    [type] => ->
                    [args] => Array
                        (
                            [0] => modules/Main/
                            [1] => Modulo Object
                                (
                                    [_dbConnexion] => sqlDB Object
                                        (
                                            [_config:sqlDB:private] => Array
                                                (
                                                    [user] => complexe
                                                    [pwd] => D4ef@8g3!5Qpmx50
                                                    [db_name] => complexe
                                                    [server] => localhost
                                                    [type_db] => mysql
                                                )

                                            [_pdo:sqlDB:private] => 1
                                            [_handler:sqlDB:private] => 
                                            [_res:sqlDB:private] => 
                                            [_req] => 
                                            [_fetched:sqlDB:private] => 
                                            [_curr_line:sqlDB:private] => 0
                                            [_error:sqlDB:private] => errorClass Object
                                                (
                                                    [_fichier:errorClass:private] => /var/www/vhosts/complexedepages.fr/httpdocs/core/sqlDB.class.php
                                                    [_ligne:errorClass:private] => 141
                                                    [_objContext:errorClass:private] => sqlDB Object
 *RECURSION*
                                                    [_message:errorClass:private] => Erreur de connexion à la BDD
                                                )

                                        )

                                    [_mustache] => Mustache_Engine Object
                                        (
                                            [templates:Mustache_Engine:private] => Array
                                                (
                                                )

                                            [templateClassPrefix:Mustache_Engine:private] => __Mustache_
                                            [cache:Mustache_Engine:private] => Mustache_Cache_FilesystemCache Object
                                                (
                                                    [baseDir:Mustache_Cache_FilesystemCache:private] => files/cache/mustacheCache
                                                    [fileMode:Mustache_Cache_FilesystemCache:private] => 
                                                    [logger:Mustache_Cache_AbstractCache:private] => 
                                                )

                                            [lambdaCache:Mustache_Engine:private] => 
                                            [cacheLambdaTemplates:Mustache_Engine:private] => 
                                            [loader:Mustache_Engine:private] => 
                                            [partialsLoader:Mustache_Engine:private] => 
                                            [helpers:Mustache_Engine:private] => Mustache_HelperCollection Object
                                                (
                                                    [helpers:Mustache_HelperCollection:private] => Array
                                                        (
                                                            [parser] => moduloRenderer Object
                                                                (
                                                                    [modulo:moduloRenderer:private] => Modulo Object
 *RECURSION*
                                                                    [cache_actif] => 
                                                                    [debug_runs] => 
                                                                    [params:moduloRenderer:private] => Array
                                                                        (
                                                                        )

                                                                )

                                                        )

                                                )

                                            [escape:Mustache_Engine:private] => 
                                            [entityFlags:Mustache_Engine:private] => 2
                                            [charset:Mustache_Engine:private] => UTF-8
                                            [logger:Mustache_Engine:private] => 
                                            [strictCallables:Mustache_Engine:private] => 
                                            [pragmas:Mustache_Engine:private] => Array
                                                (
                                                )

                                            [delimiters:Mustache_Engine:private] => 
                                            [tokenizer:Mustache_Engine:private] => 
                                            [parser:Mustache_Engine:private] => 
                                            [compiler:Mustache_Engine:private] => 
                                        )

                                    [_modules] => Modules
                                    [_modules_charges] => Array
                                        (
                                        )

                                    [_modules_root] => modules/
                                    [_chaines] => chaines Object
                                        (
                                        )

                                    [_horloge] => horloge Object
                                        (
                                            [_format] => d/m/Y H:i:s
                                            [_tab] => Array
                                                (
                                                    [seconds] => 48
                                                    [minutes] => 44
                                                    [hours] => 11
                                                    [mday] => 4
                                                    [wday] => 1
                                                    [mon] => 7
                                                    [year] => 2022
                                                    [yday] => 184
                                                    [weekday] => Monday
                                                    [month] => July
                                                    [0] => 1656935088
                                                )

                                            [_datetime] => 
                                        )

                                    [_lien] => Lien Object
                                        (
                                            [params] => Array
                                                (
                                                    [module] => 
                                                    [objet] => 
                                                    [type] => 
                                                    [option] => 
                                                    [action] => 
                                                    [id] => 
                                                    [numpage] => 
                                                    [langue] => 
                                                )

                                            [_admin] => 
                                        )

                                )

                            [2] => Main
                        )

                )

            [3] => Array
                (
                    [file] => /var/www/vhosts/complexedepages.fr/httpdocs/core/modulo.class.php
                    [line] => 437
                    [function] => __construct
                    [class] => Main
                    [type] => ->
                    [args] => Array
                        (
                            [0] => modules/Main/
                            [1] => Modulo Object
                                (
                                    [_dbConnexion] => sqlDB Object
                                        (
                                            [_config:sqlDB:private] => Array
                                                (
                                                    [user] => complexe
                                                    [pwd] => D4ef@8g3!5Qpmx50
                                                    [db_name] => complexe
                                                    [server] => localhost
                                                    [type_db] => mysql
                                                )

                                            [_pdo:sqlDB:private] => 1
                                            [_handler:sqlDB:private] => 
                                            [_res:sqlDB:private] => 
                                            [_req] => 
                                            [_fetched:sqlDB:private] => 
                                            [_curr_line:sqlDB:private] => 0
                                            [_error:sqlDB:private] => errorClass Object
                                                (
                                                    [_fichier:errorClass:private] => /var/www/vhosts/complexedepages.fr/httpdocs/core/sqlDB.class.php
                                                    [_ligne:errorClass:private] => 141
                                                    [_objContext:errorClass:private] => sqlDB Object
 *RECURSION*
                                                    [_message:errorClass:private] => Erreur de connexion à la BDD
                                                )

                                        )

                                    [_mustache] => Mustache_Engine Object
                                        (
                                            [templates:Mustache_Engine:private] => Array
                                                (
                                                )

                                            [templateClassPrefix:Mustache_Engine:private] => __Mustache_
                                            [cache:Mustache_Engine:private] => Mustache_Cache_FilesystemCache Object
                                                (
                                                    [baseDir:Mustache_Cache_FilesystemCache:private] => files/cache/mustacheCache
                                                    [fileMode:Mustache_Cache_FilesystemCache:private] => 
                                                    [logger:Mustache_Cache_AbstractCache:private] => 
                                                )

                                            [lambdaCache:Mustache_Engine:private] => 
                                            [cacheLambdaTemplates:Mustache_Engine:private] => 
                                            [loader:Mustache_Engine:private] => 
                                            [partialsLoader:Mustache_Engine:private] => 
                                            [helpers:Mustache_Engine:private] => Mustache_HelperCollection Object
                                                (
                                                    [helpers:Mustache_HelperCollection:private] => Array
                                                        (
                                                            [parser] => moduloRenderer Object
                                                                (
                                                                    [modulo:moduloRenderer:private] => Modulo Object
 *RECURSION*
                                                                    [cache_actif] => 
                                                                    [debug_runs] => 
                                                                    [params:moduloRenderer:private] => Array
                                                                        (
                                                                        )

                                                                )

                                                        )

                                                )

                                            [escape:Mustache_Engine:private] => 
                                            [entityFlags:Mustache_Engine:private] => 2
                                            [charset:Mustache_Engine:private] => UTF-8
                                            [logger:Mustache_Engine:private] => 
                                            [strictCallables:Mustache_Engine:private] => 
                                            [pragmas:Mustache_Engine:private] => Array
                                                (
                                                )

                                            [delimiters:Mustache_Engine:private] => 
                                            [tokenizer:Mustache_Engine:private] => 
                                            [parser:Mustache_Engine:private] => 
                                            [compiler:Mustache_Engine:private] => 
                                        )

                                    [_modules] => Modules
                                    [_modules_charges] => Array
                                        (
                                        )

                                    [_modules_root] => modules/
                                    [_chaines] => chaines Object
                                        (
                                        )

                                    [_horloge] => horloge Object
                                        (
                                            [_format] => d/m/Y H:i:s
                                            [_tab] => Array
                                                (
                                                    [seconds] => 48
                                                    [minutes] => 44
                                                    [hours] => 11
                                                    [mday] => 4
                                                    [wday] => 1
                                                    [mon] => 7
                                                    [year] => 2022
                                                    [yday] => 184
                                                    [weekday] => Monday
                                                    [month] => July
                                                    [0] => 1656935088
                                                )

                                            [_datetime] => 
                                        )

                                    [_lien] => Lien Object
                                        (
                                            [params] => Array
                                                (
                                                    [module] => 
                                                    [objet] => 
                                                    [type] => 
                                                    [option] => 
                                                    [action] => 
                                                    [id] => 
                                                    [numpage] => 
                                                    [langue] => 
                                                )

                                            [_admin] => 
                                        )

                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/vhosts/complexedepages.fr/httpdocs/core/modulo.class.php
                    [line] => 310
                    [function] => load_module
                    [class] => Modulo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [5] => Array
                (
                    [file] => /var/www/vhosts/complexedepages.fr/httpdocs/includes/headers.php
                    [line] => 9
                    [function] => __construct
                    [class] => Modulo
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [6] => Array
                (
                    [file] => /var/www/vhosts/complexedepages.fr/httpdocs/index.php
                    [line] => 3
                    [args] => Array
                        (
                            [0] => /var/www/vhosts/complexedepages.fr/httpdocs/includes/headers.php
                        )

                    [function] => include
                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => HY000
            [1] => 1040
            [2] => Too many connections
        )

)

 Contexte : 
sqlDB Object
(
    [_config:sqlDB:private] => Array
        (
            [user] => complexe
            [pwd] => D4ef@8g3!5Qpmx50
            [db_name] => complexe
            [server] => localhost
            [type_db] => mysql
        )

    [_pdo:sqlDB:private] => 1
    [_handler:sqlDB:private] => 
    [_res:sqlDB:private] => 
    [_req] => 
    [_fetched:sqlDB:private] => 
    [_curr_line:sqlDB:private] => 0
    [_error:sqlDB:private] => errorClass Object
        (
            [_fichier:errorClass:private] => /var/www/vhosts/complexedepages.fr/httpdocs/core/sqlDB.class.php
            [_ligne:errorClass:private] => 141
            [_objContext:errorClass:private] => sqlDB Object
 *RECURSION*
            [_message:errorClass:private] => 
        )

)

 Dans : /var/www/vhosts/complexedepages.fr/httpdocs/core/sqlDB.class.php:141
Erreur de connexion à la BDD
Erreur discrète : [2] « Unknown: write failed: No space left on device (28) » à la ligne 0 dans Unknown
Erreur discrète : [2] « Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (session) » à la ligne 0 dans Unknown