"PQsocket() can't get socket" error

hey :wave:

Every since I deployed a Rails app with good_job, I keep getting this error:

PQsocket() can't get socket descriptor

it does a weird thing where the processes list on good_job is empty, but the actual process is up and running, picking up and processing jobs:

image
image

this is not a new situation and other people reported this behavior on different instances like here. The suggestion of stop using the fly-proxy address and connect directly to the database using top2.nearest.of worked, but only for a couple of days. This morning I got the error again, and it keeps happening exactly every hour which is weird, I wonder if this points to something… I do have a cron task that runs every 30min but I don’t think it’s related

I discussed this in brief with Ben, good_job’s creator and there’s an issue open right now to follow up on this.

Has anyone seen this or fixed it somehow?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.