Closed xingyaoww closed 3 days ago
Added INFO level logging when the /server_info endpoint is called to improve observability of server status requests.
This allow us to better debug cases where runtime dies - so we can know better if it is caused by OOM or something else.
To run this PR locally, use the following command:
docker run -it --rm -p 3000:3000 -v /var/run/docker.sock:/var/run/docker.sock --add-host host.docker.internal:host-gateway -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:f8c994d-nikolaik --name openhands-app-f8c994d docker.all-hands.dev/all-hands-ai/openhands:f8c994d
Added INFO level logging when the /server_info endpoint is called to improve observability of server status requests.
This allow us to better debug cases where runtime dies - so we can know better if it is caused by OOM or something else.
To run this PR locally, use the following command: