-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defunct java processes after upgrading to 23.10.1 #2567
Comments
Assigning to @getsentry/support for routing ⏲️ |
Thanks for bringing this up. We seem to be seeing this as well, but will need to take time to investigate. Going to backlog this. |
I've seen this on 23.11.2 also. |
$ ps aux | grep 'Z'
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 89379 1.0 0.0 0 0 ? Z 20:35 0:03 [java] <defunct>
root 100867 1.1 0.0 0 0 ? Z 20:35 0:03 [java] <defunct>
root 101220 1.2 0.0 0 0 ? Z 20:35 0:03 [java] <defunct> same issue after update to 23.11.2. Restart or reboot not help with it |
Same issue here. Seems that zombie processes are related to ps axf output:
|
yes, this week sentry stop accept errors and transactions. On server I see
So this is very bad issue. Sentry is latest - 24.2.0 |
same here Sentry 24.2.0 |
ok, looks like I found where this issue came from. You need replace in docker-compose.yml:
to old one:
after this start of docker compose stop generating defunct java processes Change introduced by 69f973a |
Super good find @le0pard, if that's the case we should revert the change that was introduced above. |
@chris-laack @mkhon @linsomniac Could you try changing your docker compose healthcheck for kafka to
|
@hubertdeng123 |
works for us. |
I've put up a PR to address this |
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Steps to Reproduce
Expected Result
No defunct java processes.
Actual Result
We have two self-hosted Sentry using docker compose, and with our upgrade to 23.10.1 our monitoring on the host started reporting defunct processes. It looks like these are Kafka related processes.
One system:
The other system:
I have a 30MB log file from /var/log/kafka in the kafka container but don't see anything particularly interesting in it. Here's a snippet:
Everything seems to be working fine, there are just a few defunct processes. It has been running 2 weeks since the update with no problems and no additional defunct processes.
Product Area
Other
Link
No response
DSN
No response
Version
23.10.1
The text was updated successfully, but these errors were encountered: