Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-25 Thread John Khvatov
Hi Ryan, On 16.11.2010, at 18:17, thrillerbee wrote: > John, > > I appreciate the suggestion, but, unfortunately, I don't use t_newtran(). > What led you to remove that? Hm, sorry… I was removing some functions from my opensips.cfg, then running various stress tests (REGISTER, INVITE etc.)

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-19 Thread thrillerbee
Bogdan, Are these memlogs useful? Please let me know if I can provide any other info. Thanks again. On Sat, Nov 13, 2010 at 4:20 PM, thrillerbee wrote: > Bogdan, > > Since I made those changes, it doesn't core dump anymore - it just runs out > of memory and stops processing packets. It happe

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-16 Thread thrillerbee
John, I appreciate the suggestion, but, unfortunately, I don't use t_newtran(). What led you to remove that? Thanks, Ryan On Tue, Nov 16, 2010 at 9:08 AM, John Khvatov wrote: > Hello. > > On 10.11.2010, at 19:19, thrillerbee wrote: > > Well, I spoke too soon - it's not just an issue with the

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-16 Thread John Khvatov
Hello. On 10.11.2010, at 19:19, thrillerbee wrote: > Well, I spoke too soon - it's not just an issue with the opensipsctl fifo > calls - looks more like a memory leak. It crashed again today, but I did get > some errors in the syslog this time right before the crash: > Nov 10 15:42:32 core1 /us

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-16 Thread Bogdan-Andrei Iancu
Hi, opensipsctl takes care that each command takes a separate fifo reply, so here it should be no problem. But the problem may be when comes with sending multiple commands (via FIFO) in the same time - this translates into parallel writes to the same file and depends on the atomicity of the w

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-13 Thread thrillerbee
Bogdan, Since I made those changes, it doesn't core dump anymore - it just runs out of memory and stops processing packets. It happened on both of my proxies - the mem dump can be downloaded here: http://www.starviewconnect.com/tmp/core1_mem_dump_20101112.gz http://www.starviewconnect.com/tmp/cor

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-11 Thread thrillerbee
Bogdan, I had already increased the PKG_MEM_POOL_SIZE by *10. I'm making the changes suggested in the link you provided to try to narrow down the memory issue. I'll send over as soon as I have another crash with mem info. Thanks. On Thu, Nov 11, 2010 at 5:10 AM, Bogdan-Andrei Iancu wrote: >

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-11 Thread Bogdan-Andrei Iancu
This last crash had the same bt as the one from previous email ? the prev fix I made reports this: ERROR:db_flatstore:flat_db_insert: uninitialized connection and does not crash, so this time the crash may be in a different place. Now, it seams after all that the root of your problem is

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-10 Thread thrillerbee
My other proxy crashed as well with these ERRORs in the syslog: Nov 10 22:01:02 core2 /usr/local/sbin/opensips[22959]: ERROR:db_flatstore:get_name: pkg memory allocation failure Nov 10 22:01:02 core2 /usr/local/sbin/opensips[22959]: ERROR:db_flatstore:flat_reopen_connection: failed to get_name Nov

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-10 Thread thrillerbee
Bogdan, Well, I spoke too soon - it's not just an issue with the opensipsctl fifo calls - looks more like a memory leak. It crashed again today, but I did get some errors in the syslog this time right before the crash: Nov 10 15:42:32 core1 /usr/local/sbin/opensips[27044]: ERROR:db_flatstore:new_

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-09 Thread thrillerbee
Bogdan, It seems the issue is with 'opensipsctl fifo' - it's very sensitive to simultaneous calls. Basically, I've combined all my scripts to prevent 'opensipsctl fifo' from being called too frequently and that seems (so far) to have mitigated the issue. Is there anything one should know about h

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-08 Thread Bogdan-Andrei Iancu
Hi, strange if you do not have any errors :( I just made a fix on both trunk and 1.6 to extend some checks in flatstore and prevent crashing (even if the DB op will not be executed). Could you update from SVN and see if stops crashing ? Regards, Bogdan thrillerbee wrote: > Bogdan, > > I

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-04 Thread thrillerbee
Bogdan, I am not seeing any other errors in the logs. Is there anything else I can look at? Both proxies are crashing everyday. Thanks. On Wed, Nov 3, 2010 at 4:21 AM, Bogdan-Andrei Iancu wrote: > I got some clue about what is happening - as you are using flatstore for > acc, the acc module d

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-03 Thread Bogdan-Andrei Iancu
I got some clue about what is happening - as you are using flatstore for acc, the acc module does not check the success of the "use_table" DB operation - in 90% of the cases (for mysql, postgres, etc) this function cannot fail, but it seams that for flatstore can. And if it fails, the h->tail i

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-02 Thread thrillerbee
Bogdan, One more detail that may help - I added another OpenSIPS proxy in parallel with this one (& load balancing between the two) and now both OpenSIPS proxies crash at the same time (within a couple seconds). I can provide more core dumps if it will help. Thanks. On Tue, Nov 2, 2010 at 9:02

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-02 Thread thrillerbee
Bogdan, Below is the info requested: (gdb) frame 0 #0 0x7f51999f221f in flat_db_insert (h=0x7f0978, k=0x7f5198732a60, v=0x7f5198732d20, n=19) at flatstore.c:165 165 f = CON_FILE(h); (gdb) print h $1 = (const db_con_t *) 0x7f0978 (gdb) print h->tail $2 = 0 (gdb) print ((struct flat

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-02 Thread Bogdan-Andrei Iancu
Hi, in frame 0, could you print: h h->tail ((struct flat_con*)(h->tail))->file Also, before crash, do you see in the logs any errors from the db_flatstore module ? Regards, Bogdan thrillerbee wrote: > Bogdan, > > It crashed again tonight. I've attached the backtrace. > > Thanks. >

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-01 Thread thrillerbee
Bogdan, It crashed again tonight. I've attached the backtrace. Thanks. On Mon, Nov 1, 2010 at 9:32 AM, thrillerbee wrote: > Bogdan, > > Yes, I've attached 2 to my response - one was a crash from 10/29. The > other occurred a few minutes ago. > > Thanks. > > On Fri, Oct 22, 2010 at 11:41 AM,

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-11-01 Thread thrillerbee
Bogdan, Yes, I've attached 2 to my response - one was a crash from 10/29. The other occurred a few minutes ago. Thanks. On Fri, Oct 22, 2010 at 11:41 AM, Bogdan-Andrei Iancu < bog...@voice-system.ro> wrote: > Any chance with the backtraces ? > > Regards, > Bogdan > > Anca Vamanu wrote: > > Hi

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-10-22 Thread Bogdan-Andrei Iancu
Any chance with the backtraces ? Regards, Bogdan Anca Vamanu wrote: > Hi, > > You need to inspect them with gdb, run: gdb > path_to_opensips_executable path_to_corefile, and then run 'bt full' > and send the output. > > Regards, > -- > Anca Vamanu > www.voice-system.ro > > > On 10/14/2010 10:1

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-10-15 Thread Anca Vamanu
Hi, You need to inspect them with gdb, run: gdb path_to_opensips_executable path_to_corefile, and then run 'bt full' and send the output. Regards, -- Anca Vamanu www.voice-system.ro On 10/14/2010 10:12 PM, thrillerbee wrote: I have this info from dmesg: [1985853.285221] opensips[30865]:

Re: [OpenSIPS-Users] OpenSIPS core dumps

2010-10-14 Thread thrillerbee
I have this info from dmesg: [1985853.285221] opensips[30865]: segfault at 10 ip 7f43899ce21f sp 7fff8de1cf40 error 4 in db_flatstore.so[7f43899cb000+5000] [1985856.379671] opensips[30858]: segfault at 10 ip 7f43899ce21f sp 7fff8de1cf40 error 4 in db_flatstore.so[7f43899cb000+5000] [1985896.961279

[OpenSIPS-Users] OpenSIPS core dumps

2010-10-14 Thread thrillerbee
When OpenSIPS crashes, three corefiles are generated that are 2.1GB in size. How do I use these files to understand what's causing the crash? Thanks. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/user