- 
                Notifications
    
You must be signed in to change notification settings  - Fork 812
 
Open
Labels
c/computeComponent: compute, excluding postgres itselfComponent: compute, excluding postgres itselfmigrated_to_jirat/bugIssue Type: BugIssue Type: Bug
Description
This is a follow-up to INC-395
Steps to reproduce
Either:
- Trigger an OOM-kill and get lucky that postmaster was a target; or
 kill -9the postmaster process (the only one named/usr/local/bin/postgres ..., instead ofpostgres: ...)
Expected result
Remaining postgres backends exit, and postgres is restarted.
Actual result
Some backends are left running, and postgres is never restarted.
For example, when I ran this on staging, I saw these two left around:
$ ps aux | grep postgres
...
postgres  1523  0.0  0.5 357964  5428 ?        Ssl  18:48   0:00 postgres: rag_jina_reranker_v1_tiny_en reranking background worker 
postgres  1524  0.0  0.5 357964  5428 ?        Ssl  18:48   0:00 postgres: rag_bge_small_en_v15 embeddings background worker
...
But in the first occurrence of the issue we saw, there were many idle backends also left running.
Logs, links
Metadata
Metadata
Assignees
Labels
c/computeComponent: compute, excluding postgres itselfComponent: compute, excluding postgres itselfmigrated_to_jirat/bugIssue Type: BugIssue Type: Bug