Ricardo,
I raised an issue on the JIRA [
http://tracker.iptel.org/browse/SER-374?page=all ].
Andrei Pelinescu - Onciul has already put the fix into the 0.9.7, 2.0 and 2.1 branches.
You can see the changes using the CVS viewer at
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/textops/te….
I'm guessing that the 0.9.7 development is the branch rel_0_9_0 - hence revision
1.40.2.1. To check this out using cvs you'd need to use the option '-r
rel_0_9_0' in your cvs command.
Stuart Woodsford
-----Original Message-----
From: Ricardo Martinez [mailto:rmartinez@redvoiss.net]
Sent: 23 April 2008 20:52
To: Woodsford,SG,Stuart,CXR4 R
Cc: serusers(a)iptel.org
Subject: RE: [Serusers] Memory Problems
Hi Stuart.
I was about to send another post to ask about this issue.
In fact, i was checking my ser configuration file and i found that i'm using
"subst_user" function.
subst_user('/^(.....)(.*)$/\1/');
I'm using the 0.9.7 version.
I will try the solution reported and i will let you know the results I really appreciate
you feedback.
One last question, i'm a little bit ignorant about the use of the CVS. How can i
download only the patch you submit?
Thanks again.
Best Regards,
Ricardo Martinez.-
-----Mensaje original-----
De: stuart.woodsford(a)bt.com [mailto:stuart.woodsford@bt.com] Enviado el: miércoles, 23 de
abril de 2008 13:31
Para: Ricardo Martinez
CC: serusers(a)iptel.org
Asunto: RE: [Serusers] Memory Problems
Ricardo,
Are you by any chance using the subst_user function in textops? I'm getting similar
symptoms on my servers and I think I've tracked the leak down to this module and
wondered if yours is the same problem. I'm using 0.9.6 on Solaris 10 but the source
for the textops module hasn't changed between the 2 versions.
Stuart Woodsford
-----Original Message-----
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf
Of Ricardo Martinez
Sent: 08 April 2008 14:42
To: Jiri Kuthan
Cc: serusers(a)iptel.org
Subject: Re: [Serusers] Memory Problems
Hi Jiri.
Thanks for your answer.
Let me ask one more question.
In the link that you gave me, it said "set adequate memory reporting level in ser
configuration file: memlog must be lower than debug (e.g., memlog=2, debug=3)" Is ok
with memlog=2 and debug=3? Or i need to add more log level? This is a production machine
with a high load.....
I will keep waiting for your comments.
Thanks!!
Ricardo Martinez.-
-----Mensaje original-----
De: Jiri Kuthan [mailto:jiri@iptel.org]
Enviado el: lunes, 07 de abril de 2008 19:12
Para: Ricardo Martinez
CC: serusers(a)iptel.org
Asunto: Re: [Serusers] Memory Problems
looks indeed like a memory leak somewhere.
see
http://www.iptel.org/ser/problem_reporting
for procedures to spot the problem. (takes recompiling :-(
-jiri
Ricardo Martinez wrote:
Hello.
I'm getting weird memory problems with my SER distribution. I'm using
a
ser 0.9.7 with a Fedora Core release 6. I'm also using the LCR module
to
do some routing logics.
Since a few months i'm getting Memory errors, like these : Apr 5
22:00:50 ser[21996]: ERROR: build_req_buf_from_sip_req: out of memory
Apr 5 22:00:50 ser[21996]: ERROR: forward_request: building failed Apr
5 22:00:58 ser[21996]: ERROR:
build_req_buf_from_sip_req: out of
memory Apr 5 22:00:58 ser[21996]: ERROR: print_uac_request: no pkg_mem
Apr 5 22:00:58 ser[21996]: ERROR: t_forward_nonack:
failure to add
branches Apr 5 22:01:00 ser[22000]: ERROR: do_action: memory
allocation failure Apr 5 22:01:00 ser[22000]: ERROR:avpops:pushto_avp:
SET_XXXX_T action failed Apr 5 22:01:00 ser[22000]:
ERROR: do_action:
memory allocation failure Apr 5 22:01:00 ser[22000]: next_gw(): ERROR:
do_action failed with return value <-2>
Apr 5 22:01:10 ser[21996]: ERROR: do_action: memory allocation failure
Apr 5 22:01:10 ser[21996]: next_gw(): ERROR: do_action failed with
return value <-2> Apr 5 22:02:04 ser[22000]: ERROR:
build_req_buf_from_sip_req: out of
memory
Apr 5 22:02:04 ser[22000]: ERROR: print_uac_request:
no pkg_mem Apr 5
22:02:04 ser[22000]: ERROR: t_forward_nonack: failure to add
branches
Apr 5 22:02:04 ser[22000]: ERROR: w_t_relay (failure
mode): forwarding
failed
Apr 5 22:07:23 ser[22000]: ERROR: build_res_buf_from_sip_res: out of
mem
Apr 5 22:07:23 ser[22000]: ERROR: relay_reply: no mem
for outbound
reply
buffer
Apr 5 22:07:23 ser[22000]: ERROR: build_res_buf_from_sip_req: out of
memory ; needs 1105
It start to fail with a few calls to finally drop all calls with a
total
colapse of resources.
I'm not sure where the problem could be located. Can someone help me
here ?
Among other things i do several AVP operations with
the RURI to make
some checks.
Thanks
Ricardo Martinez.-
----------------------------------------------------------------------
--
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers