Check again, there are not thousands processes but the processes you are 
killing are just "restarted". This is not a problem at all...

There is a parameter in Opensips which adjusts the number of child processes, 
change the parameter, restart opensips and count the number of processes again.

openSIPS | Documentation / Core Parameters - 
3. Core parameters. Global parameters that can be set in configuration file. 
Accepted values are, depending on the actual parameters strings, numbers and 
yes/ no.

But anyways it's very obvious that the issue is something specific to TURN and 
not Opensips:

Coturn/turnserver : error 437: Mismatched allocation 
I have this structure : Web server : Apache. it's in a LAN. It is on a pc 
(windows 7) which has public static ip. PC is in a network. Signal server: In a 
VM ...

It probably has something to do with the combination of 
client/server/configuration, but not the SIP Server.


Von: Users <> im Auftrag von Nabeel 
Gesendet: Donnerstag, 10. August 2017 14:20
An: OpenSIPS users mailling list
Betreff: Re: [OpenSIPS-Users] Error in TURN Servers

The screenshot doesn't show all the processes but I know it is hundreds because 
it's necessary to run 'killall' or similar command several times to get rid of 
all the processes and I can see the PIDs change each time.

I think it absolutely can be OpenSIPS server causing the TURN error because 
OpenSIPS is in charge of creating the sessions in the first place, and if there 
are hundreds of OpenSIPS processes running then there will be hundreds of 
sessions created for each call.

On 10 August 2017 at 13:12, Max Mühlbronner 
<<>> wrote:


I don't see hundreds or even thousands on the screenshot?

Also the Opensips server should not have any connection/relation to your TURN 
Server, so i don't think Opensips could be the issue.

A quick google search for "TURN 437 Allocation Mismatch" suggests that it's a 
TURN CLIENT <--> TURN Server problem. It could be related to the TURN client 


Max M.
Von: Users 
<<>> im 
Auftrag von Nabeel <<>>
Gesendet: Donnerstag, 10. August 2017 13:55
An: OpenSIPS users mailling list
Betreff: Re: [OpenSIPS-Users] Error in TURN Servers

Anyone? I am using OpenSIPS version 2.2.

On 10 Aug 2017 8:02 am, "Nabeel" 
<<>> wrote:
I found the cause of this. My OpenSIPS server has gone ballistic and is running 
hundreds of processes/instances concurrently; please see this screenshot:

Even after I kill all the processes, hundreds of processes start again whenever 
I start OpenSIPS in any way.

Below is my opensips.service file but the same occurs if starting OpenSIPS 
using 'opensipsctl start':

Description=OpenSIPS is a very fast and flexible SIP (RFC3261) server mariadb.service

ExecStart=/usr/local/sbin/opensips -P /var/run/ -f 
/usr/local/etc/opensips/opensips.cfg $OPTIONS
ExecStartPre=/usr/local/sbin/opensips -c -f /usr/local/etc/opensips/opensips.cfg


Please advise how to fix this urgently.


Users mailing list<>

Users mailing list

Reply via email to