Hello
It seems that in a postgres 8.4+ setup there is a race condition that breaks the variables caching during bootstrap. It seems to be specific to one site but it is not dependent on web or postgres server setup (i tried troubleshooting that).
Also see http://drupal.org/node/794286 from another user.
The attached patch fixes this (tested with 6.20 and 6.HEAD). Essentially the cache patch asks that the db_lock is done during caching (weird that it wasn't before?). Determining whether this is a deeper problem with the database system (bug http://drupal.org/node/794286) would require someone more experienced that me.
Not fixing this cache bug results in the postgres reporting as http://drupal.org/node/794286 to the log file, quickly filling up the disk (gigabytes of data per day).
thanks
alexie
| Comment | File | Size | Author |
|---|---|---|---|
| cache.patch | 637 bytes | alpapan |
Comments
Comment #2
alpapan commentedcache.patch queued for re-testing.
Comment #4
drupdan3 commentedI see the same problem in 7.10 (also with PostgreSQL 8.4)
Comment #5
damien tournoud commentedThat's by design. In case of a race condition, the INSERT query can fail, that's why errors are suppressed. Disable logging of those kind of application errors on the PostgreSQL side.