Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction: DELETE FROM {semaphore} WHERE (name = :db_condition_placeholder_0) AND (value = :db_condition_placeholder_1) AND (expire <= :db_condition_placeholder_2) ; Array ( [:db_condition_placeholder_0] => rules_get_cacheevent_init [:db_condition_placeholder_1] => 5619061025977b1525fab35.64666728 [:db_condition_placeholder_2] => 1501016475.2093 ) in lock_may_be_available() (line 181 of /var/www/sites/sandiego.librarymarket.com/docroot/includes/lock.inc).

Additional

PDOException: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction: DELETE FROM {semaphore} WHERE (name = :db_condition_placeholder_0) AND (value = :db_condition_placeholder_1) AND (expire <= :db_condition_placeholder_2) ; Array ( [:db_condition_placeholder_0] => rules_get_cacheevent_watchdog [:db_condition_placeholder_1] => 2342122965977a50babfe83.12903795 [:db_condition_placeholder_2] => 1501013320.4721 ) in lock_may_be_available() (line 181 of /var/www/sites/sandiego.librarymarket.com/docroot/includes/lock.inc).