4 ms·
OT: I've seen an error page when opening it for the first time: PDOException: SQLSTATE[HY000] [1040] Too many connections in lock_may_be_available() (line 16
by blauditore 10y ago
OT: I've seen an error page when opening it for the first time:
PDOException: SQLSTATE[HY000] [1040] Too many connections in lock_may_be_available() (line 167 of /var/app/current/hearphones/includes/lock.inc).
Reloading once made it work.
Out of curiosity, is this an amost-hug of death or something else broken? (I know nothing about Drupal.)
- mike-cardwell 10y agoIt's a Drupal website. 10 concurrent users probably gives it a hug of death.
- SparkyMcUnicorn 10y agoIt usually means that Drupal can't establish a lock on the database. The reason why has lots of answers, but in this case it looks like the database isn't scaling.
- Tade0 10y agoSomebody's been coding on production I think: Warning: date_timezone_set() expects parameter 1 to be DateTime, boolean given in format_date() (line 2062 of /var/app/current/hearphones/includes/common.inc). Warning: date_format() expects parameter 1 to be DateTimeInterface, boolean given in format_date() (line 2072 of /var/app/current/hearphones/includes/common.inc).