What is causing the following log message in server logs every second: background worker \"azure_mise_service_worker\" (PID 1638153) exited with exit code 1

Darryl Schmidt 41 Reputation points
2025-09-26T15:09:10.85+00:00

I'm seeing the following message in the azure flexible server for postgres server log every second. Wondering what is causing this and how to resolve:

2025-09-26 14:00:13.057 UTC [7-1856349] @ app= LOG: background worker "azure_mise_service_worker" (PID 1638148) exited with exit code 1

2025-09-26 14:00:14.101 UTC [7-1856351] @ app= LOG: background worker "azure_mise_service_worker" (PID 1638149) exited with exit code 1

Azure Database for PostgreSQL
{count} votes

Answer accepted by question author
  1. Mahesh Kurva 9,650 Reputation points Microsoft External Staff Moderator
    2025-10-20T15:44:33.2166667+00:00

    Hi Darryl Schmidt,

    Greetings!!

    Initially the issue was log message in server logs every second: background worker "azure_mise_service_worker" (PID 1638153) exited with exit code.

    After checking with the internal team, issue was resloved.

    Thank you!

    Hope this helps. Do let us know if you any further queries.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Sina Salam 25,926 Reputation points Volunteer Moderator
    2025-09-27T17:19:52.94+00:00

    Hello Darryl Schmidt,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you found background worker "azure_mise_service_worker" (PID 1638153) exited with exit code 1.

    This is a platform-level component failure requiring systematic diagnostics before any restart actions, with immediate Azure Support via your Azure Portal escalation being the primary resolution path for persistent occurrences.

    Though, I will escalate from here, however before restarting:

    -- Check for blocking issues before any restart
    SELECT pid, usename, datname, query, state, wait_event_type, wait_event 
    FROM pg_stat_activity 
    WHERE state = 'active' AND query != '<IDLE>'
    ORDER BY query_start DESC;
    

    Implement log analysis:

    • Azure Portal > PostgreSQL Server > Server Logs
    • Filter timeframe 15 minutes BEFORE first occurrence
    • Search patterns: "mise", "worker", "OOM", "connection refused"

    Check Azure metrics correlation:

    • CPU utilization spikes ≥95%
    • Memory pressure indicators
    • Storage IOPs/throughput limits

    https://free.blessedness.top/en-us/azure/postgresql/flexible-server/howto-configure-and-access-logs

    Validate the resources:

    -- Critical resource checks
    SELECT 
        schemaname,
        relname,
        n_dead_tup as dead_tuples,
        n_live_tup as live_tuples,
        last_autovacuum
    FROM pg_stat_user_tables 
    WHERE n_dead_tup > 1000000
    ORDER BY n_dead_tup DESC;
    

    https://free.blessedness.top/en-us/azure/postgresql/flexible-server/how-to-maintenance

    Then, you can perform safe restart procedure:

    • Ensure recent backup exists
    • Check Azure Service Health for regional issues
    • Schedule during maintenance window
       # 1. Drain connections gracefully
       # 2. Azure Portal → Overview → Restart (Forced = No)
       # 3. Monitor restart progress via Azure Activity Log
    

    https://free.blessedness.top/en-us/azure/postgresql/flexible-server/how-to-restart-server

    I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.