Michael Akinde <michael.akinde@met.no> writes:
> We have been running into a strange problem on our production servers of
> a system we are about to roll out with the loading of large objects.
Hmm, can you attach to the stuck backend and the vacuum worker process
with gdb and get stack traces from them? The pg_locks view does not
indicate any locking problem, but I'm wondering if there could be a
deadlock at the LWLock level.
regards, tom lane