You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This implies that erlang:cancel_timer is hanging for some reason.
I see in erlang:cancel_timer that there is an option to do an async cancel. Without knowing what the issue is (presumably not erlang/otp#5359 although it does sound like what we're seeing) is it possible/sensible to change misc:cancel_timer or at least the version used by mod_ping so that the cancellation happens async and even if one or two cancels hang for a long time for some reason it doesn't break the main mod_ping process?
The text was updated successfully, but these errors were encountered:
Environment
Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 14.1
FROM erlang:26.1.1.0
)Configuration (only if needed): grep -Ev '^$|^\s*#' ejabberd.yml
Errors from error.log/crash.log
No errors
Bug description
We periodically see
mod_ping
hanging on our servers:After a couple of days the queue len gets too long and the process is restarted.
Digging into this a bit more I see:
This implies that
erlang:cancel_timer
is hanging for some reason.I see in
erlang:cancel_timer
that there is an option to do an async cancel. Without knowing what the issue is (presumably not erlang/otp#5359 although it does sound like what we're seeing) is it possible/sensible to changemisc:cancel_timer
or at least the version used bymod_ping
so that the cancellation happens async and even if one or two cancels hang for a long time for some reason it doesn't break the main mod_ping process?The text was updated successfully, but these errors were encountered: