Memory/Database locked problem with cron job

Created on 13 January 2015, over 10 years ago
Updated 19 August 2025, 27 days ago

Hi,

I have set the cron job as stated here β†’ to run every 60 seconds.

drush -r /path/to/your/drupal/install -l http://yoursiteurl.com advancedqueue-process-queue commerce_license_synchronization

The database then eats up memory until the site does not respond any more and produces errors like:

PDOException: SQLSTATE[08004] [1040] Too many connections in lock_may_be_available() (line 167 of /.../www/content/includes/lock.inc).

Increasing the number of connections etc. just prolongs the running into database problems. When the cron job does not run there is no problem at all.

Can someone please help me where to look for possible resource leaking?

Thanks.

πŸ› Bug report
Status

Closed: outdated

Version

1.3

Component

Miscellaneous

Created by

πŸ‡¦πŸ‡ΉAustria maxilein

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024