Hi,

If you use opensipsctl start/stop, you can add extra parameters to opensips via the STARTOPTIONS variable in opensipsctlrc file.

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 12/12/2012 02:04 PM, dpa wrote:

Hello Bogdan

 

As I understand I should start opensips using “opensips –w “path to core file””. Now I am using “opensipsctl” script for starting opensips. Can “-w” option be used with the script? And If cannot how can I stop opensips if early I started with “opensips –w “path to core file””? I tried to stop it using “opensipsctl stop” but got error “No PID file found”.

 

Thank you for any help.

 

From: Bogdan-Andrei Iancu [mailto:[email protected]]
Sent: Friday, December 07, 2012 4:15 PM
To: OpenSIPS users mailling list
Cc: dpa
Subject: Re: [OpenSIPS-Users] Timer process opensips1.6.4-2

 

See more on:
    http://www.opensips.org/Resources/DocsTsCrash

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/07/2012 12:24 PM, Bogdan-Andrei Iancu wrote:

Hi,

maybe you do not have permissions to generate core. Be sure you do "ulimits -c unlimited" before starting OpenSIPS - this will allow opensips to write a core file if crashing.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/07/2012 05:45 AM, dpa wrote:

Hello Bogdan

 

Sorry I was wrong at the beginning. In log during crash I see «INFO:core:handle_sigs: core was not generated»

 

From: Bogdan-Andrei Iancu [mailto:[email protected]]
Sent: Thursday, December 06, 2012 3:08 PM
To: dpa
Cc: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] Timer process opensips1.6.4-2

 

In your logs, when crashing, after the line with:
    “INFO:core:handle_sigs: child process 2405 exited by a signal 11”
Do you have any line with "
    "core was generated"
or similar. ?



Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/06/2012 12:57 PM, dpa wrote:

ls -la /core*” doesn’t show any file

 

 

From: Bogdan-Andrei Iancu [mailto:[email protected]]
Sent: Thursday, December 06, 2012 2:48 PM
To: dpa
Cc: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] Timer process opensips1.6.4-2

 

Hi, look into the root of you file system:
    "ls -la /core*"
Regards,



Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/06/2012 06:36 AM, dpa wrote:

Hello

 

Thank you for consultation, but I cannot find any core* file in opensips directory (/usr/local/opensips1.6.4-2/). Can you tell me how can I get it?

 

From: Bogdan-Andrei Iancu [mailto:[email protected]]
Sent: Tuesday, December 04, 2012 6:37 PM
To: dpa
Cc: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] Timer process opensips1.6.4-2

 

Hi,

First locate the "core" file - usually in the working directory of OpenSIPS (typically the / dir - try "ls -la /core*" ).

Second, start gdb :
    gdb /path/to/opensips  /path/to/core

Run the bt command in gdb:
    > bt
  and
    > bt full


Post the output here.

Regards,





Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/04/2012 03:12 PM, dpa wrote:

Hello

Sorry Bogdan but can you tell me how can I use gdb? I have not made it before.

I noticed crash while the radius server (which I use for call limit duration request) has been failed. I use “radius_send_auth()” to get call limit duration from Billing. When radius has been failing opensips didn’t receive any reply from it. Crashes have been stopped when I commented this function in opensips.cfg.

 

From: Bogdan-Andrei Iancu [mailto:[email protected]]
Sent: Tuesday, December 04, 2012 4:49 PM
To: OpenSIPS users mailling list
Cc: dpa
Subject: Re: [OpenSIPS-Users] Timer process opensips1.6.4-2

 

Hi,

In opensips there are multiple timer processes - different modules may ask for separate timer processes to avoid interferences with modules (in terms of load on the timer routines). Nothing unusual here.

Regarding the crash, do you have a core file resulted ? if so, please use gdb to extract a backtrace from it.


Thanks and Regards,





Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/03/2012 08:35 AM, dpa wrote:

Hello

 

When I use “/usr/local/opensips1.6.4-2/sbin/opensipsctl fifo ps” i see many processes.

There are two of them have TYPE=timer. What does it mean?

 

Today I have a twice problem with this process.

“INFO:core:handle_sigs: child process 2405 exited by a signal 11”

Where 2405 was a “timer” process.

 

Thank you for any help.

 

 

 

 

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

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

Reply via email to