Hi All,
please can some one tell me is there any memory leak with ser-0.9.6. It runs fine for few days and then starts some memory related problems in that case I've to restart my ser. I've 2GB of physical RAM in my machine with Quad Core cpu. but now I've only 70MB free out of 2 GB in max 1 day It will start to give me again error.
I've compiled my ser with 512MB Private Memory and running with 100MB shared memory.
please help soon.
thanks
arun
Not that I know of....I have used it for quite a loooong time without anything similar.
Are you using proprietary modules? Can you, please, post the config?
Samuel.
2007/6/21, Arun Kumar arunvoip@gmail.com:
Hi All,
please can some one tell me is there any memory leak with ser-0.9.6. It runs fine for few days and then starts some memory related problems in that case I've to restart my ser. I've 2GB of physical RAM in my machine with Quad Core cpu. but now I've only 70MB free out of 2 GB in max 1 day It will start to give me again error.
I've compiled my ser with 512MB Private Memory and running with 100MB shared memory.
please help soon.
thanks
arun
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
hi
thanks for reply. Im not using any prop. modules. Im using call forwarding .cfg from ser getting started file.
UsrLoc Stats Domain Registered Expired 'location' 330 2620 'aliases' 111810 0
thanks
On 6/21/07, samuel samu60@gmail.com wrote:
Not that I know of....I have used it for quite a loooong time without anything similar.
Are you using proprietary modules? Can you, please, post the config?
Samuel.
2007/6/21, Arun Kumar < arunvoip@gmail.com>:
Hi All,
please can some one tell me is there any memory leak with ser-0.9.6. It runs fine for few days and then starts some memory related problems in that case I've to restart my ser. I've 2GB of physical RAM in my machine with Quad Core cpu. but now I've only 70MB free out of 2 GB in max 1 day It will start to give me again error.
I've compiled my ser with 512MB Private Memory and running with 100MB shared memory.
please help soon.
thanks
arun
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
I see lots of aliases for the amount of users you have...are they the expected values? Are there any ohter services/processes runing on the same host?
regards,
Samuel
2007/6/21, Arun Kumar arunvoip@gmail.com:
hi
thanks for reply. Im not using any prop. modules. Im using call forwarding .cfg from ser getting started file.
UsrLoc Stats Domain Registered Expired 'location' 330 2620 'aliases' 111810 0
thanks
On 6/21/07, samuel samu60@gmail.com wrote:
Not that I know of....I have used it for quite a loooong time without anything similar.
Are you using proprietary modules? Can you, please, post the config?
Samuel.
2007/6/21, Arun Kumar < arunvoip@gmail.com>:
Hi All,
please can some one tell me is there any memory leak with ser-0.9.6. It runs fine for few days and then starts some memory related problems in that case I've to restart my ser. I've 2GB of physical RAM in my machine with Quad Core cpu. but now I've only 70MB free out of 2 GB in max 1 day It will start to give me again error.
I've compiled my ser with 512MB Private Memory and running with 100MB shared memory.
please help soon.
thanks
arun
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi!
Arun Kumar wrote:
Hi All,
quite an appropriate greeting for both serusers at Iptel and OpenSER.
please can some one tell me is there any memory leak with ser-0.9.6. It runs fine for few days and then starts some memory related problems in that case I've to restart my ser.
from one of your previous mails I got this: # free total used free shared buffers cached Mem: 2074376 1740724 333652 0 72328 1280192 -/+ buffers/cache: 388204 1686172 Swap: 2031608 0 2031608
If you take a close look at the numbers you'll see that (minus buffers/cache) you have 1.6GB of memory left.
I've 2GB of physical RAM in my machine with Quad Core cpu. but now I've only 70MB free out of 2 GB in max 1 day It will start to give me again error.
Which error? Please paste a few (reoccuring) messages from your SER logs.
Cheers, Hendrik
error: -------- sip ser[17671]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17671]: ERROR: new_t: out of mem: sip ser[17671]: ERROR: t_newtran: new_t failed sip ser[17671]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL) sip ser[17671]: Warning: sl_send_reply: I won't send a reply for ACK!! sip ser[17669]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17669]: ERROR: new_t: out of mem: sip ser[17669]: ERROR: t_newtran: new_t failed sip ser[17669]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL) sip ser[17669]: Warning: sl_send_reply: I won't send a reply for ACK!! sip ser[17669]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17669]: ERROR: new_t: out of mem: sip ser[17669]: ERROR: t_newtran: new_t failed sip ser[17669]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL)
this is my latest mem info: # free total used free shared buffers cached Mem: 2074376 2019056 55320 0 75972 1517308 -/+ buffers/cache:425776 1648600 Swap: 2031608 0 2031608
thanks
On 6/21/07, Hendrik Scholz hendrik.scholz@freenet-ag.de wrote:
Hi!
Arun Kumar wrote:
Hi All,
quite an appropriate greeting for both serusers at Iptel and OpenSER.
please can some one tell me is there any memory leak with ser-0.9.6. It runs fine for few days and then starts some memory related problems in that case I've to restart my ser.
from one of your previous mails I got this: # free total used free shared buffers cached Mem: 2074376 1740724 333652 0 72328 1280192 -/+ buffers/cache: 388204 1686172 Swap: 2031608 0 2031608
If you take a close look at the numbers you'll see that (minus buffers/cache) you have 1.6GB of memory left.
I've 2GB of physical RAM in my machine with Quad Core cpu. but now I've only 70MB free out of 2 GB in max 1 day It will start to give me again error.
Which error? Please paste a few (reoccuring) messages from your SER logs.
Cheers, Hendrik
-- Hendrik Scholz VoIP Systems Engineer
Telefon: + 49 (0) 431 90 20 552 Telefax: + 49 (0) 431 90 20 559 E-Mail: hendrik.scholz@freenet.ag Website: www.freenet.de; www.mobilcom.de
freenet Cityline GmbH Ein Unternehmen der freenet AG Hamburger Chaussee 2-4 24114 Kiel
Geschäftsführer: Eckhard Spoerr, Axel Krieger Amtsgericht Kiel, HRB 6202
Hi!
Arun Kumar wrote:
sip ser[17671]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17671]: ERROR: new_t: out of mem: sip ser[17671]: ERROR: t_newtran: new_t failed sip ser[17671]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL)
new_t() uses shm_malloc(). You should look into increasing SHM_MEM_SIZE or invoke ser with -m.
Do you graph the core.shmmem memory usage? Does increasing memory usage relate to a certain type of traffic/requests?
Cheers, Hendrik
I've started my user with -m 100 and its working fine from last 3 days but today I've only last 50MB free. I don't know how long it will last?
my ser is forwading request to my asterisk for pstn calls and to my presence server running on anohter machine. Do you graph the core.shmmem memory usage? I don't know about this can you pls brief me on this to get some more details
thanks arun
On 6/21/07, Hendrik Scholz hendrik.scholz@freenet-ag.de wrote:
Hi!
Arun Kumar wrote:
sip ser[17671]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17671]: ERROR: new_t: out of mem: sip ser[17671]: ERROR: t_newtran: new_t failed sip ser[17671]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL)
new_t() uses shm_malloc(). You should look into increasing SHM_MEM_SIZE or invoke ser with -m.
Do you graph the core.shmmem memory usage? Does increasing memory usage relate to a certain type of traffic/requests?
Cheers, Hendrik
-- Hendrik Scholz VoIP Systems Engineer
Telefon: + 49 (0) 431 90 20 552 Telefax: + 49 (0) 431 90 20 559 E-Mail: hendrik.scholz@freenet.ag Website: www.freenet.de; www.mobilcom.de
freenet Cityline GmbH Ein Unternehmen der freenet AG Hamburger Chaussee 2-4 24114 Kiel
Geschäftsführer: Eckhard Spoerr, Axel Krieger Amtsgericht Kiel, HRB 6202
Maybe you've so many aliases that you should increase your memory parameters...having 300 users and 120000 aliases doesn't look reasonable and maybe SER is trying to fork to too many destinations and it runs out of its memory in this case...
Sam.
2007/6/21, Arun Kumar arunvoip@gmail.com:
error:
sip ser[17671]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17671]: ERROR: new_t: out of mem: sip ser[17671]: ERROR: t_newtran: new_t failed sip ser[17671]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL) sip ser[17671]: Warning: sl_send_reply: I won't send a reply for ACK!! sip ser[17669]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17669]: ERROR: new_t: out of mem: sip ser[17669]: ERROR: t_newtran: new_t failed sip ser[17669]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL) sip ser[17669]: Warning: sl_send_reply: I won't send a reply for ACK!! sip ser[17669]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17669]: ERROR: new_t: out of mem: sip ser[17669]: ERROR: t_newtran: new_t failed sip ser[17669]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL)
this is my latest mem info: # free total used free shared buffers cached Mem: 2074376 2019056 55320 0 75972 1517308 -/+ buffers/cache:425776 1648600 Swap: 2031608 0 2031608
thanks
On 6/21/07, Hendrik Scholz <hendrik.scholz@freenet-ag.de > wrote:
Hi!
Arun Kumar wrote:
Hi All,
quite an appropriate greeting for both serusers at Iptel and OpenSER.
please can some one tell me is there any memory leak with ser-0.9.6.
It
runs fine for few days and then starts some memory related problems in
that case I've to restart my ser.
from one of your previous mails I got this: # free total used free shared buffers cached Mem: 2074376 1740724 333652 0 72328 1280192 -/+ buffers/cache: 388204 1686172 Swap: 2031608 0 2031608
If you take a close look at the numbers you'll see that (minus buffers/cache) you have 1.6GB of memory left.
I've 2GB of physical RAM in my machine with Quad Core cpu. but now I've only 70MB free out of 2 GB in max 1
day
It will start to give me again error.
Which error? Please paste a few (reoccuring) messages from your SER logs.
Cheers, Hendrik
-- Hendrik Scholz VoIP Systems Engineer
Telefon: + 49 (0) 431 90 20 552 Telefax: + 49 (0) 431 90 20 559 E-Mail: hendrik.scholz@freenet.ag Website: www.freenet.de; www.mobilcom.de
freenet Cityline GmbH Ein Unternehmen der freenet AG Hamburger Chaussee 2-4 24114 Kiel
Geschäftsführer: Eckhard Spoerr, Axel Krieger Amtsgericht Kiel, HRB 6202
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
hi
can you please expain in breif what should I do in this case. Where I increase my memory parameters. I've comiled ser with 512MB private memory and started with -m 100 ?
please advise.
thanks
On 6/21/07, samuel samu60@gmail.com wrote:
Maybe you've so many aliases that you should increase your memory parameters...having 300 users and 120000 aliases doesn't look reasonable and maybe SER is trying to fork to too many destinations and it runs out of its memory in this case...
Sam.
2007/6/21, Arun Kumar arunvoip@gmail.com:
error:
sip ser[17671]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17671]: ERROR: new_t: out of mem: sip ser[17671]: ERROR: t_newtran: new_t failed sip ser[17671]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL) sip ser[17671]: Warning: sl_send_reply: I won't send a reply for ACK!! sip ser[17669]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17669]: ERROR: new_t: out of mem: sip ser[17669]: ERROR: t_newtran: new_t failed sip ser[17669]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL) sip ser[17669]: Warning: sl_send_reply: I won't send a reply for ACK!! sip ser[17669]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17669]: ERROR: new_t: out of mem: sip ser[17669]: ERROR: t_newtran: new_t failed sip ser[17669]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL)
this is my latest mem info: # free total used free shared buffers cached Mem: 2074376 2019056 55320 0 75972 1517308 -/+ buffers/cache:425776 1648600 Swap: 2031608 0 2031608
thanks
On 6/21/07, Hendrik Scholz < hendrik.scholz@freenet-ag.de > wrote:
Hi!
Arun Kumar wrote:
Hi All,
quite an appropriate greeting for both serusers at Iptel and OpenSER.
please can some one tell me is there any memory leak with ser-0.9.6.
It
runs fine for few days and then starts some memory related problems
in
that case I've to restart my ser.
from one of your previous mails I got this: # free total used free shared buffers cached Mem: 2074376 1740724 333652 0 72328 1280192 -/+ buffers/cache: 388204 1686172 Swap: 2031608 0 2031608
If you take a close look at the numbers you'll see that (minus buffers/cache) you have 1.6GB of memory left.
I've 2GB of physical RAM in my machine with Quad Core cpu. but now I've only 70MB free out of 2 GB in max 1
day
It will start to give me again error.
Which error? Please paste a few (reoccuring) messages from your SER logs.
Cheers, Hendrik
-- Hendrik Scholz VoIP Systems Engineer
Telefon: + 49 (0) 431 90 20 552 Telefax: + 49 (0) 431 90 20 559 E-Mail: hendrik.scholz@freenet.ag Website: www.freenet.de; www.mobilcom.de
freenet Cityline GmbH Ein Unternehmen der freenet AG Hamburger Chaussee 2-4 24114 Kiel
Geschäftsführer: Eckhard Spoerr, Axel Krieger Amtsgericht Kiel, HRB 6202
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
From your own post at openser:
SHM_MEM_SIZE ?
/*used only if PKG_MALLOC is defined*/ #define PKG_MEM_POOL_SIZE 1024*1024
/*used if SH_MEM is defined*/ #define SHM_MEM_SIZE 32
- I've compiled my ser with
#define PKG_MEM_POOL_SIZE 1024*1024*512
You should increase SHM_MEM_SIZE. Do it at a value power of 2!!!!!
The memory "increase" you see in free it's because you've got "so big" PKG_MEM_POOL_SIZE that SER is trying to allocate memory as it is required and that's why it looks like you don't have memory in your system BUT, as Hendrik pointed, you DO have free memory in your system because this allocated memory will be reassignated to another process when SER frees it. I'm not an expert and this is not the right place to make a disertation on memory usage, sorry.
Hope it helps, Samuel.
2007/6/21, Arun Kumar arunvoip@gmail.com:
hi
can you please expain in breif what should I do in this case. Where I increase my memory parameters. I've comiled ser with 512MB private memory and started with -m 100 ?
please advise.
thanks
On 6/21/07, samuel samu60@gmail.com wrote:
Maybe you've so many aliases that you should increase your memory parameters...having 300 users and 120000 aliases doesn't look reasonable and maybe SER is trying to fork to too many destinations and it runs out of its memory in this case...
Sam.
2007/6/21, Arun Kumar <arunvoip@gmail.com >:
error:
sip ser[17671]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17671]: ERROR: new_t: out of mem: sip ser[17671]: ERROR: t_newtran: new_t failed sip ser[17671]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL) sip ser[17671]: Warning: sl_send_reply: I won't send a reply for ACK!! sip ser[17669]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17669]: ERROR: new_t: out of mem: sip ser[17669]: ERROR: t_newtran: new_t failed sip ser[17669]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL) sip ser[17669]: Warning: sl_send_reply: I won't send a reply for ACK!!
sip ser[17669]: ERROR: sip_msg_cloner: cannot allocate memory sip ser[17669]: ERROR: new_t: out of mem: sip ser[17669]: ERROR: t_newtran: new_t failed sip ser[17669]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL)
this is my latest mem info: # free total used free shared buffers cached Mem: 2074376 2019056 55320 0 75972 1517308 -/+ buffers/cache:425776 1648600 Swap: 2031608 0 2031608
thanks
On 6/21/07, Hendrik Scholz < hendrik.scholz@freenet-ag.de > wrote:
Hi!
Arun Kumar wrote:
Hi All,
quite an appropriate greeting for both serusers at Iptel and OpenSER.
please can some one tell me is there any memory leak with
ser-0.9.6. It
runs fine for few days and then starts some memory related
problems in
that case I've to restart my ser.
from one of your previous mails I got this: # free total used free shared buffers cached Mem: 2074376 1740724 333652 0 72328 1280192 -/+ buffers/cache: 388204 1686172 Swap: 2031608 0 2031608
If you take a close look at the numbers you'll see that (minus buffers/cache) you have 1.6GB of memory left.
I've 2GB of physical RAM in my machine with Quad Core cpu. but now I've only 70MB free out of 2 GB in max
1 day
It will start to give me again error.
Which error? Please paste a few (reoccuring) messages from your SER logs.
Cheers, Hendrik
-- Hendrik Scholz VoIP Systems Engineer
Telefon: + 49 (0) 431 90 20 552 Telefax: + 49 (0) 431 90 20 559 E-Mail: hendrik.scholz@freenet.ag Website: www.freenet.de; www.mobilcom.de
freenet Cityline GmbH Ein Unternehmen der freenet AG Hamburger Chaussee 2-4 24114 Kiel
Geschäftsführer: Eckhard Spoerr, Axel Krieger Amtsgericht Kiel, HRB 6202
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers