THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#257 - kamailio can't accept new connections(tls)
User who did this - Shaobin.Feng (saxon_leo)
----------
yeah,you are right.
Well I have added physical memory to try to fix this problem, but it still remains.
It really confuse me that CPU & Memory are quite enough,but where the bottleneck is?
In my opinion,lots of connections acception and release cause many memory fragments.
I add a option "mem_join=1" to config,but it not work.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=257#comment756
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Hi,
the mediaproxy-module in 3.3 branch establishes a single shared
connection to the mediaproxy dispatcher socket before sip-router is
forking sub-processes. This leads to race-conditions when multiple
calls to use_mediaproxy() are made in parallel. The fix is simple, it
seems it was just forgotten to restrict the opening of the dispatcher
connection to subprocess initialization. Patch attached.
Regards,
Emil Kroymann
--
Emil Kroymann
VoIP Services Engineer
Email: emil.kroymann(a)isaco.de
Tel: +49-30-203899885
Mobile: +49-176-38389303
ISACO GmbH
Kurfürstenstraße 79
10787 Berlin
Germany
Amtsgericht Charlottenburg, HRB 112464B
Geschäftsführer: Daniel Frommherz
Module: sip-router
Branch: misi/dns_srv
Commit: 7ce7d6413b45e7e9df190167e7faba8c10f96492
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7ce7d64…
Author: Mihály Mészáros <misi(a)niif.hu>
Committer: Mihály Mészáros <misi(a)niif.hu>
Date: Sun Dec 16 13:03:18 2012 +0100
core/dns: fix an issue when using it without dns cache
- fixing an issue what caused that without dns cache we have to use a different function for srv resolution.
---
resolve.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/resolve.c b/resolve.c
index eddb073..cac0d86 100644
--- a/resolve.c
+++ b/resolve.c
@@ -1576,7 +1576,12 @@ struct hostent* no_naptr_srv_sip_resolvehost(str* name, unsigned short* port, ch
}
srv_name.s=tmp_srv;
srv_name.len=len;
- if ((he=dns_srv_get_he(&srv_name, port, dns_flags))!=0) {
+ #ifdef USE_DNS_CACHE
+ he=dns_srv_get_he(&srv_name, port, dns_flags);
+ #else
+ he=srv_sip_resolvehost(&srv_name, 0, port, proto, 1, 0);
+ #endif
+ if (he!=0) {
return he;
}
}