[OpenSIPS-Users] SIP messages delayed

Maciej Bylica mbsip at gazeta.pl
Fri Dec 2 14:56:54 CET 2011


Dear All,

I have installed Opensips latest rel1.7 on centos 5.7 32bit, HP
microserver 1.3kHz 2-cores, 2GB of RAM.
That server has got two interfaces configured X1.X1.X1.X1 and X2.X2.X2.X2
Configuration uses force_send_socket and rewritehost commands to
direct all calls coming from Y.Y.Y.Y on interface X1.X1.X1.X1 to ip
address Z.Z.Z.Z through interface X2.X2.X2.X2.
(Y.Y.Y.Y ------>Opensips(X1.X1.X1.X1)->Opensips(X2.X2.X2.X2)------>Z.Z.Z.Z)

The problem i have encountered is that quite frequently (30%-50% of
all messages) sip messages are buffered and delayed.
As a after-effect traffic origination server on ip Y.Y.Y.Y is
resending messages (INVITE for instance).
After 5-30secs Opensips is responding to aforementioned INVITEs to Y.Y.Y.Y.
The same situation is between Opensips(X2.X2.X2.X2)------>Z.Z.Z.Z

Example:
1 - originating server
2 - opensips
3 - termination server

1-> INVITE ->2
2-> INVITE ->3
3-> 100 Trying ->2
1-> INVITE ->2
1-> INVITE ->2
1-> INVITE ->2
3-> 183 Session Progress ->2
1-> INVITE ->2
1-> INVITE ->2
1-> INVITE ->2
3-> 200 OK ->2
3-> 200 OK ->2
3-> 200 OK ->2
3-> BYE ->2
3-> BYE ->2
2-> 100 Trying ->1
2-> 100 Trying ->1
2-> 100 Trying ->1
2-> 100 Trying ->1
2-> 183 Session Progress ->1
2-> 200 OK ->1
2-> 200 OK ->1
2-> 200 OK ->1
2-> 200 OK ->1

Do you know where the problem might be located?
Is it hw issue?
CPS in peak might be around 30CPS.

In config.h i have changed:
PKG_MEM_POOL_SIZE to 1024x1024x8
SHM_MEM_SIZE 768

Regards,
Maciej



More information about the Users mailing list