[OpenSIPS-Users] OpenSIPS stops responding - timer lag + recv-queue buildup

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Nov 11 10:43:46 UTC 2025


Hi,

Have you checked the internal load of opensips, by running the `ps` and 
`get_statistics load:` MI cmds ?

I suspect some blocking I/O operation is blocking the OpenSIPS timer 
processes, resulting in the reported warning logs.

Also, if possible (not sure in docker) you should run `opensips-cli -x 
trap` to get an instant x-ray of what the opensips processes are doing, 
maybe this will help spotting the problem.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 04.11.2025 16:10, inderjeet sharma wrote:
> version:
> opensips 3.1.11
> (x86 64/linux)
> ٧-
> flags: STATS: On,
> DISABLE_NAGLE, USE MCAST,
> PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK 
> ADAPTIVE_WAIT
> ADAPTIVE WAIT LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
> MAX_URI_SIZE 1024,
> BUF_SIZE 65535
> poll method support: poll, epoll, sigio_rt, select. git revision: 
> c51486e3a
> main.c compiled on 09:20:17 Nov 20 2024 with gcc 11
>
> OpenSSL 3.0.2
>
> PRETTY_NAME="Ubuntu 22.04.5 LTS"
> NAME="Ubuntu"
> VERSION_ID="22.04"
> VERSION="22.04.5 LTS (Jammy Jellyfish)™
> VERSION CODENAME=] ammy
>
>
>
> On Tue, 4 Nov 2025 at 1:50 pm, inderjeet sharma 
> <inder.itpro at gmail.com> wrote:
>
>     Hi all,
>
>     I've been running OpenSIPS (v3.x) in a Docker container for the
>     past 1-2 years as a WebSocket (WSS) registrar handling SIP
>     registrations.
>     It has been stable until recently — for the past few weeks, I'm
>     seeing severe performance stalls.
>
>     • OpenSIPS suddenly stops responding to SIP REGISTER requests.
>     • ss -unap shows high Recv-Q values on the listening ports (UDP +
>     WSS).
>     • The log is flooded with warnings like:
>     08:55:31 opensips-3-1 /usr/local/sbin/opensips[79638]:
>     WARNING: core: utimer_ticker: utimer task <tm-utimer> already
>     117150 ms ago (now
>     336619940 ms), delaying execution
>     Nov 3 08:55:31 opensips-3-1/usr/local/sbin/opensips[79638]:
>     WARNING: core: utimer_ticker: timer task ‹tm-utimer> already
>     scheduled 117280 ms ago (now
>     336620070 ms), delaying execution
>     Nov
>     308:55:32 opensips-3-1/us/local/sbin/opensips[79638]: WARNING:
>     core: utimer_ticker: utimer task <tm-utimer> already
>     scheduled 117350 ms ago (now
>     336620140 ms), delaying execution
>     NOT
>     3 08:55:32 opensips-3-1/usr/local/sbin/opensips[79638]: WARNING:
>     core: timer_ ticker: timer task <1b-pinger> already scheduled ms
>     ago (now 336620140 ms), delaying execution
>     08:55:32 opensips-3-1/us/local/sbin/opensips[79638]: WARNING:
>     core: timer_ticker: timer task ‹nh-timer> already scheduled ms ago
>     (now 336620140 ms), delaying execution
>     308:55:32 opensips-3-1/us/local/sbin/opensips[79638]: WARNING:
>     core:timer_ticker: timer task <pg-chk-timer> already
>     scheduled 54750 ms ago (now 336620140 ms), delaying execution
>     NOV
>     308:55:32 opensips-3-1/usr/local/sbin/opensips[79638]: WARNING:
>     core: timer_ticker: timer task ‹ul-timer> already scheduled
>     79650 ms ago (now 336620140 ms), delaying execution
>     Nov
>     308:55:32 opensips-3-1/us/local/sbin/opensips [79638]: WARNING:
>     core: timer_ticker: timer task <d1g-reinvite-pinger> already
>     scheduled 54750 ms ago (now 336620140 ms), delaying execution
>     Nov 308:55:32 opensips-3-1/us/local/sbin/opensips[79638]: WARNING:
>     core:timer_ticker: timer task ‹dig-options-pinger> already
>     308:55:32 opensips-3-1/us/local/sbin/opensips[79638]: WARNING:
>     core: timer_ticker: timer task ‹dlg-timer> already scheduled
>     115460 ms ago (now 336620140 ms), delaying execution
>     Nov 308:55:32 opensips-3-1/usr/local/sbin/opensips[79638]:
>     WARNING: core: timer_ticker: timer task <EBR timeout> already
>     scheduled 54750 ms ago (now 336620140 ms), skipping execution
>     308:55:32 opensips-3-1/usr/local/sbin/opensips[79638]: WARNING:
>     core: timer_ticker: timer task ‹tm-timer> already
>
>     • Killing the process or restarting the container sometimes does
>     not help immediately.
>     • CPU and memory usage inside Docker appear normal.
>
>     Thanks
>     Inderjeet
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20251111/8a700c15/attachment.html>


More information about the Users mailing list