Drupal 7 ubercat error has exceeded the 'max_questions'

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
joseft40's picture

Saludos.
Estoy trabajando con drupal 7 para un commerce que trabaja con ubercat.
Se me ha estado presentando el error:
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1226 User 'mysqluser' has exceeded the 'max_questions' resource (current value: 75000) in lock_may_be_available()

Antes ese error no me aparecía pero recientemente se me esta generando al agregar aproximadamente 60 artículos al carrito se me presenta.
Mi valor de la variable de mysql max user connections es de 10.

Como podría optimizar esto sin hacer algo como:

$dbusers =array (
0 => array(
'username' => 'user1',
'password' => 'user1'
),
1 => array(
'username' => 'user2',
'password' => 'user2'
)
);
$dbindex =array_rand($dbusers);

$databases['default']['default'] = array (
'database' => 'mydb',
'username' => $dbusers[$dbindex]['username'],
'password' => $dbusers[$dbindex]['password'],
'prefix' => '',
'host' => 'localhost',
'port' => '3306',
'namespace' => 'Drupal\Core\Database\Driver\mysql',
'driver' => 'mysql',
);

Por otro lado el hosting no es muy flexible para visualizar el log y ver donde se esta generando la mayor cantidad de consultas y buscar hacer una depuración.
Agradecido de antemano.

Latin America

Group categories

Latin America

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week