tall-autumn-57974
03/03/2026, 3:28 PMprocess exited with non-zero exit code -10
What's code "-10" ?tall-airline-16756
03/03/2026, 3:28 PMtall-airline-16756
03/03/2026, 3:28 PMdmesg or journalctl -u <service> on Linux) for OOM killer or other kernel signals around the same timestamp.
• Check the process supervisor logs (systemd, Docker container logs, k8s pod events) for termination reason.
• If you can reproduce, run the process under a debugger or wrap it to capture core dumps (ulimit -c unlimited) and inspect with gdb if a core appears.
• Look for application-level logs that might show an explicit call to exit with -10.
If you share the process name, environment, and a few surrounding log lines/timestamps, I’ll interpret the evidence and suggest targeted next steps (e.g., check for SIGUSR1 handling, OOM, or a known internal error code), and provide commands/examples to gather diagnostic data.tall-autumn-57974
03/03/2026, 3:35 PMsending SIGUSR1 signal to process
logstall-airline-16756
03/03/2026, 3:35 PMkill -USR1, pkill -USR1, docker kill --signal=SIGUSR1, etc.).
◦ Check orchestration events: in Kubernetes, run kubectl describe pod <pod> and kubectl get events for any termination or restart events near the timestamps.
1. Correlate timestamps and surrounding logs
◦ Share a few lines of logs before and after both the “sending SIGUSR1” line and the “exited -10” line. The surrounding messages often show who issued the signal or why.
◦ Check system logs: journalctl -u <service> or journalctl --since "<time>" and dmesg for kernel messages (OOM killer, cgroup actions).
1. Check process behavior on SIGUSR1
◦ Does the binary have special handling for SIGUSR1? If you control the code, search for signal handlers that trap SIGUSR1 and call exit or cleanup. If it’s an upstream binary, consult its docs or search the code for SIGUSR1 handlers.
◦ If unknown, run the process in a controlled environment and send SIGUSR1 manually (kill -USR1 <pid>) to see what it does while watching logs.
1. Supervisor / container runtime checks
◦ If managed by systemd: run systemctl status <service> and check the unit file for any ExecStop/ExecReload handlers that use SIGUSR1.
◦ If Docker: docker ps, then docker logs <container> and docker inspect <container> to see restart policies or health-check-related behavior.
◦ If Kubernetes: check pod spec for liveness/readiness probes, preStop hooks, or lifecycle hooks that may use signals.
1. If you suspect automated restarts or rotation
◦ Look for log-rotation tools (logrotate with postrotate scripts), or custom deploy hooks that may use SIGUSR1.
◦ Check any monitoring/observability agents that can restart or signal processes when they detect issues.
If you can share any of the following, I can give concrete next steps:
• The process/binary name that’s receiving SIGUSR1 (e.g., LiveKit server, worker, a custom app).
• A few lines of logs (timestamps) before and after both the “sending SIGUSR1” and the “exited -10” messages.
• Where this is running (Linux distro, Docker, Kubernetes, systemd).
• Whether the process has a restart supervisor and whether it restarts automatically.
I can then help you:
• Identify the sender of SIGUSR1,
• Determine whether SIGUSR1 is being used to trigger a restart or diagnostics,
• Suggest fixes (adjusting supervisors, altering signal handling, or preventing unwanted signals).
If you prefer, paste the surrounding log snippet and the process name and I’ll analyze it and provide exact commands to run.tall-autumn-57974
03/03/2026, 3:35 PMtall-airline-16756
03/03/2026, 3:36 PMtall-autumn-57974
03/03/2026, 3:36 PM