Don't create core dump file

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Don't create core dump file

Тарасенко Елена
Can you help me to solve the problem, please
We have a crash our server with this error:

Jul  8 12:27:56 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:core:handle_sigs: child process 13510 exited by a signal 11
Jul  8 12:27:56 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:core:handle_sigs: core was generated
Jul  8 12:27:56 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:core:handle_sigs: terminating due to SIGCHLD
Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:core:cleanup: cleanup
Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: NOTICE:event_route:destroy: destroy module ...
Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:pike:pike_exit: destroying...
Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:db_mysql:switch_state_to_disconnected: disconnect event for 0x7f45e68e3d78
Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:db_mysql:reset_all_statements: reseting all statements on connection: (0x7f45e68e4588) 0x7f45e68e3d78
Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:db_mysql:connect_with_retry: re-connected successful for 0x7f45e68e3d78
Jul  8 12:28:07 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: CRITICAL:core:qm_free: freeing already freed pointer, first free: acc_logic.c: dlg_free_acc_mask(211) - aborting

In  this case it's indicates that "core was generated" but the directory
with  dump  is  emty and there aren't errors.  We   pass  the  '-w  [FOLDER]' parameter to our
OpenSIPS  and  set ''ulimit -c unlimited' '. Could you suggest why the file was not created?



--


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Don't create core dump file

Johan De Clercq
I always use -w /tmp and that seems to work.  
Maybe the user of opensips can't write in the directory that you give in the -w parameter ?

-----Original Message-----
From: Users <[hidden email]> On Behalf Of ????????? ?????
Sent: Friday, July 12, 2019 1:18 PM
To: [hidden email]
Subject: [OpenSIPS-Users] Don't create core dump file

Can you help me to solve the problem, please We have a crash our server with this error:

Jul  8 12:27:56 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:core:handle_sigs: child process 13510 exited by a signal 11 Jul  8 12:27:56 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:core:handle_sigs: core was generated Jul  8 12:27:56 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:core:handle_sigs: terminating due to SIGCHLD Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:core:cleanup: cleanup Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: NOTICE:event_route:destroy: destroy module ...
Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:pike:pike_exit: destroying...
Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:db_mysql:switch_state_to_disconnected: disconnect event for 0x7f45e68e3d78 Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:db_mysql:reset_all_statements: reseting all statements on connection: (0x7f45e68e4588) 0x7f45e68e3d78 Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:db_mysql:connect_with_retry: re-connected successful for 0x7f45e68e3d78 Jul  8 12:28:07 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: CRITICAL:core:qm_free: freeing already freed pointer, first free: acc_logic.c: dlg_free_acc_mask(211) - aborting

In  this case it's indicates that "core was generated" but the directory
with  dump  is  emty and there aren't errors.  We   pass  the  '-w  [FOLDER]' parameter to our
OpenSIPS  and  set ''ulimit -c unlimited' '. Could you suggest why the file was not created?



--


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Don't create core dump file

Răzvan Crainea-2
In reply to this post by Тарасенко Елена
Hello!

It seems you are using an old version of OpenSIPS 2.2. You're best
chance is to update to the latest 2.2 version and see if the crash
replicates there as well. If it does, unfortunately there's not that
much to do now (since 2.2 is unsupported) but to upgrade to 2.4 to
something newer, where most likely this issue has been fixed already.

Best regards,
Răzvan

On 7/12/19 2:18 PM, Тарасенко Елена wrote:

> Can you help me to solve the problem, please
> We have a crash our server with this error:
>
> Jul  8 12:27:56 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:core:handle_sigs: child process 13510 exited by a signal 11
> Jul  8 12:27:56 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:core:handle_sigs: core was generated
> Jul  8 12:27:56 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:core:handle_sigs: terminating due to SIGCHLD
> Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:core:cleanup: cleanup
> Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: NOTICE:event_route:destroy: destroy module ...
> Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:pike:pike_exit: destroying...
> Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:db_mysql:switch_state_to_disconnected: disconnect event for 0x7f45e68e3d78
> Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:db_mysql:reset_all_statements: reseting all statements on connection: (0x7f45e68e4588) 0x7f45e68e3d78
> Jul  8 12:27:57 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: INFO:db_mysql:connect_with_retry: re-connected successful for 0x7f45e68e3d78
> Jul  8 12:28:07 opensips-main /usr/local/opensips2.2/sbin/opensips[13487]: CRITICAL:core:qm_free: freeing already freed pointer, first free: acc_logic.c: dlg_free_acc_mask(211) - aborting
>
> In  this case it's indicates that "core was generated" but the directory
> with  dump  is  emty and there aren't errors.  We   pass  the  '-w  [FOLDER]' parameter to our
> OpenSIPS  and  set ''ulimit -c unlimited' '. Could you suggest why the file was not created?
>
>
>
> --
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

--
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users