[Serusers] flatstore problems??
Jan Janak
jan at iptel.org
Tue May 31 15:01:09 CEST 2005
Thanks for the report, it should be fixed now in CVS.
Jan.
On 31-05-2005 01:58, Bayan William Towfiq wrote:
> I'm running CVS Head. I'm now able to recreate the situation in
> approximately 5 minutes by running test calls through the system and
> moving + doing flat_rotate every few seconds.
>
> These are the first messages that come up:
>
> WARNING: no fork mode
> stateless - initializing
> acc - initializing
> 0(0) Maxfwd module- initializing
> textops - initializing
> 0(0) Default allow file (/etc/ser/permissions.allow) not found => empty
> rule set
> 0(0) Default deny file (/etc/ser/permissions.deny) not found => empty
> rule set
>
> 0(30644) ERROR: get_name: memory allocation failure
> 0(30644) flat_reopen_connection: Invalid parameter value
> 0(30644) BUG: flat_db_insert: Uninitialized connection
> 0(30644) ERROR: acc_request: Error while inserting to database
>
> I added some debugging statements as well and PATHMAX seems to be 4096
> so the input seems to be okay. I think this is a memory leak in
> flatstore where the previously allocated names are not freed.
>
> int flat_rotate_logs(void) calls flat_reopen_connection(ptr) in a loop,
> but flat_reopen_connection(ptr) just calls get_name without freeing the
> last buffer.
>
> William
>
>
> Jan Janak wrote:
>
> >That looks like a bug in flatstore module. Could you tell me what SER
> >version are you using ?
> >
> > Jan.
> >
> >On 23-05-2005 11:54, William Towfiq wrote:
> >
> >
> >>I couldn't get much debugging info from all of this because it happened
> >>somewhat randomly. I just want to see if anyone else has ever
> >>encountered similar problems with flatstore.
> >>
> >>Thanks,
> >>William
> >>
> >>0(12417) entering route[1]
> >>0(12417) ERROR: build_req_buf_from_sip_req: out of memory
> >>0(12417) ERROR: print_uac_request: no pkg_mem
> >>0(12417) ERROR: t_forward_nonack: failure to add branches
> >>0(12417) BUG: flat_db_insert: Uninitialized connection
> >>0(12417) ERROR: acc_request: Error while inserting to database
> >>0(12417) -------------------------------------------
> >>
> >>_______________________________________________
> >>Serusers mailing list
> >>serusers at lists.iptel.org
> >>http://lists.iptel.org/mailman/listinfo/serusers
> >>
> >>
>
More information about the sr-users
mailing list