Hi,<br>
<br>
I am encountering several problems when load testing opensips with sipp. <br>
<br>
Problem 1:<br>
<br>
First, everytime I restart opensips and then stop opensips ( with Ctrl
-C) , the free memory count decreases by around 200M. It seems like
then stopping opensips, the memory is not being released. Is this
something wrong with the way we start and stop opensips?<br>
As shown below, my 2G box has only 27M memory left after restarting opensips for 5 times.<br>
<br>
total used free shared buffers cached<br>
Mem: 1016020 988720 <span style="color: rgb(51, 51, 255);">27300</span> 0 10776 200824<br>
-/+ buffers/cache: 777120 238900<br>
Swap: 2031608 619524 1412084<br>
<br>
In my config.h, I have:<br>
#define PKG_MEM_POOL_SIZE 1024*1024*10 <br>
#define SHM_MEM_SIZE 1024 <br>
<br>
Problem 2:<br>
<br>
After around 7000 registration, opensips is giving the following error:<br>
<br>
Dec 5 16:34:26 [23230] INFO:auth:reserve_nonce_index: no more indexes available<br>
Dec 5 16:34:26 [23230] ERROR:auth:build_auth_hf: no more nonces can be generated<br>
Dec 5 16:34:26 [23230] ERROR:auth:challenge: failed to generate nonce<br>
<br>
<br>
How can this error be resolved?<br>
<br>
<br>
Problem 3:<br>
<br>
When I configure sipp to send 70 REGISTER requests per second, I am getting the following error:<br>
<br>
Dec 5 16:36:00 [23230] ERROR:tm:sip_msg_cloner: no more share memory<br>
Dec 5 16:36:00 [23230] ERROR:tm:new_t: out of mem<br>
Dec 5 16:36:00 [23230] ERROR:tm:t_newtran: new_t failed<br>
<br>
<br>
Does anyone know where I can set the config to maximum the load of opensips for this 2G Mem box?<br>
<br>
Thanks for all your help<br>
<br>
JB<br>
<br>
<br>