exception 'CDbException' with message 'CDbConnection failed to open the DB connection.'

Hi folks

Any kind hearted person here who can help me with this? I am seeing this error in application log with stack trace. I have checked the phpinfo on this domain and PDO libaries are installed and loaded.

from phpinfo,

Php configure command param shows this

“–enable-pdo=shared’ ‘–with-pdo-odbc=shared,unixODBC,/usr’ ‘–with-pdo-mysql=shared,/usr/lib64/mysql/mysql_config’ ‘–with-pdo-pgsql=shared,/usr’ ‘–with-pdo-sqlite=shared,/usr’”

Additional .ini files parsed shows this

/etc/php.d/pdo.ini, /etc/php.d/pdo_mysql.ini, /etc/php.d/pdo_sqlite.ini,

then later under PDO section it shows this

PDO support enabled

PDO drivers mysql, sqlit

PDO Driver for MySQL enabled

Client API version 5.1.73

PDO Driver for SQLite 3.x enabled

SQLite Library 3.6.20

################# application log stack trace below ######

2016/06/25 23:40:03 [error] [exception.CDbException] SQLSTATE[HY000] [1135] Can’t create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

2016/06/25 23:40:03 [error] [exception.CDbException] exception ‘CDbException’ with message ‘CDbConnection failed to open the DB connection.’ in /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/framework/db/CDbConnection.php:405

Stack trace:

#0 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/framework/db/CDbConnection.php(347): CDbConnection->open()

#1 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/framework/db/CDbConnection.php(325): CDbConnection->setActive(true)

#2 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/framework/base/CModule.php(394): CDbConnection->init()

#3 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/framework/base/CModule.php(103): CModule->getComponent(‘db’)

#4 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/components/managers/OptionsManager.php(164): CModule->__get(‘db’)

#5 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/components/managers/OptionsManager.php(73): OptionsManager->loadCategory(‘system.extensio…’)

#6 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/components/managers/ExtensionsManager.php(191): OptionsManager->get(‘system.extensio…’, ‘disabled’)

#7 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/components/managers/ExtensionsManager.php(118): ExtensionsManager->isExtensionEnabled(‘translate’)

#8 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/components/init/SystemInit.php(83): ExtensionsManager->loadAllExtensions()

#9 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/framework/base/CComponent.php(561): SystemInit->_runOnBeginRequest(Object(CEvent))

#10 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/framework/base/CApplication.php(212): CComponent->raiseEvent(‘onBeginRequest’, Object(CEvent))

#11 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/common/framework/base/CApplication.php(183): CApplication->onBeginRequest(Object(CEvent))

#12 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/init.php(224): CApplication->run()

#13 /var/www/vhosts/domain.tld/httpdocs/mailer/apps/console/console.php(28): require_once(’/var/www/vhosts…’)

#14 {main}

######################### end ##################

Any help will be much appreciated!

-N