[OpenSIPS-Users] Opensips 3.1Debian constantly crashing
Mario San Vicente
mrsanvicente at gmail.com
Fri Oct 15 16:49:27 EST 2021
Hello Everyone,
Still struggling enabling core. I did enable the option, but i not
sure where to configure the folder to drop the cores.
The install is from debian sources and then apt -y install opensips
opensips-cli.
-------------------
more /etc/default/opensips
#
# OpenSIPS startup options
#
# Set to yes to enable opensips, once configured properly.
RUN_OPENSIPS=no
# User to run as
USER=opensips
# Group to run as
GROUP=opensips
# Amount of shared memory to allocate for the running OpenSIPS server (in
Mb)
S_MEMORY=2048
# Amount of pkg memory to allocate for the running OpenSIPS server (in Mb)
P_MEMORY=512
# Enable the server to leave a core file when it crashes.
# Set this to 'yes' to enable OpenSIPS to leave a core file when it crashes
# or 'no' to disable this feature. This option is case sensitive and only
# accepts 'yes' and 'no' and only in lowercase letters.
# On some systems (e.g. Ubuntu 6.10, Debian 4.0) it is necessary to specify
# a directory for the core files to get a dump. Look into the opensips
# init file for an example configuration.
DUMP_CORE=yes
# Any additional OpenSIPS options
OPTIONS=""
--------------------------------------
Any hint would be appreciated to track this issue (:core:handle_sigs:
child process 11907 exited by a signal 11).
Thanks you
Mario San Vicente
On Tue, Oct 12, 2021 at 5:27 PM Mario San Vicente <mrsanvicente at gmail.com>
wrote:
> Thanks Ovidiu, Will work on it.
>
> regards
>
> On Tue, Oct 12, 2021 at 5:07 PM Ovidiu Sas <osas at voipembedded.com> wrote:
>
>> Take a look here and follow the guide:
>> https://www.opensips.org/Documentation/TroubleShooting-Crash
>>
>> Regards,
>> Ovidiu Sas
>>
>> On Tue, Oct 12, 2021 at 17:03 Mario San Vicente <mrsanvicente at gmail.com>
>> wrote:
>>
>>> Hello Everyone,
>>>
>>> Thanks for reading. Currently i am testing an opensips running on
>>> debian 10.10, installed from deb https://apt.opensips.org
>>> $(lsb_release -sc) 3.0-releases
>>>
>>> version: opensips 3.1.5 (x86_64/linux)
>>> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, 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.
>>> main.c compiled on with gcc 8
>>>
>>>
>>> I am sending some calls for transcoding which is working good,
>>> until opensips crashes ( which is constantly):
>>>
>>>
>>>
>>> CRITICAL:core:sig_usr: segfault in process pid: 11907, id: 4
>>> INFO:core:handle_sigs: child process 11907 exited by a signal 11
>>> INFO:core:handle_sigs: core was not generated
>>> INFO:core:handle_sigs: terminating due to SIGCHLD
>>> INFO:core:sig_usr: signal 15 received
>>> INFO:core:sig_usr: signal 15 received
>>> INFO:core:sig_usr: signal 15 received
>>> INFO:core:shutdown_opensips: process 2(11905) [time_keeper] terminated,
>>> still waiting for 6 more
>>> INFO:core:shutdown_opensips: process 3(11906) [timer] terminated, still
>>> waiting for 5 more
>>> INFO:core:shutdown_opensips: process 6(11909) [SIP receiver
>>> udp:x.x.x.x:5060] terminated, still waiting for 4 more
>>> INFO:core:shutdown_opensips: process 1(11904) [MI FIFO] terminated,
>>> still waiting for 3 more
>>> INFO:core:shutdown_opensips: process 5(11908) [SIP receiver udp:
>>> 173.230.132.122:5060] terminated, still waiting for 2 more
>>> INFO:core:shutdown_opensips: process 7(11910) [SIP receiver udp:
>>> 173.230.132.122:5060] terminated, still waiting for 1 more
>>> INFO:core:shutdown_opensips: process 8(11911) [Timer handler]
>>> terminated, still waiting for 0 more
>>> INFO:core:cleanup: cleanup
>>> INFO:core:fix_poll_method: using epoll as the IO watch method (auto
>>> detected)
>>> NOTICE:core:main: version: opensips 3.1.5 (x86_64/linux)
>>> NOTICE:core:main: using 2048 MB of shared memory, allocator: F_MALLOC
>>> NOTICE:core:main: using 2048 MB of private process memory, allocator:
>>> F_MALLOC
>>> INFO:core:init_reactor_size: reactor size 262144 (using up to 10.00Mb of
>>> memory per process)
>>> INFO:core:evi_publish_event: Registered event <E_CORE_THRESHOLD(0)>
>>> INFO:core:evi_publish_event: Registered event <E_CORE_SHM_THRESHOLD(1)>
>>> INFO:core:evi_publish_event: Registered event <E_CORE_PKG_THRESHOLD(2)>
>>> INFO:core:evi_publish_event: Registered event <E_CORE_PROC_AUTO_SCALE(3)>
>>> INFO:tm:mod_init: TM - initializing...
>>> INFO:sl:mod_init: Initializing StateLess engine
>>> NOTICE:signaling:mod_init: initializing module ...
>>> INFO:core:evi_publish_event: Registered event <E_MYSQL_CONNECTION(4)>
>>> INFO:dialog:mod_init: Dialog module - initializing
>>> INFO:core:evi_publish_event: Registered event <E_DLG_STATE_CHANGED(5)>
>>> INFO:rr:mod_init: rr - initializing
>>> INFO:maxfwd:mod_init: initializing...
>>> INFO:sipmsgops:mod_init: initializing...
>>> .........
>>>
>>> Also enabled debugging level 4, but not much information. How do you
>>> recommend to debug?
>>>
>>>
>>>
>>> Thank you
>>> --
>>> Mario San Vicente
>>> Cheers!
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>> --
>> VoIP Embedded, Inc.
>> http://www.voipembedded.com
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
> --
> Mario San Vicente
> Cheers!
>
--
Mario San Vicente
Cheers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211015/70343ab6/attachment.html>
More information about the Users
mailing list