Hi,
Can you try this patch and tell me if you see any difference?
Regards,
Ionut Ionita
OpenSIPS Developer
On 04/26/2016 11:29 PM, Tito Cumpen wrote:
Ionut,
I pulled the latest and I am seeing the same issue. It's definitely
caused when db isn't defined in the acc modparams.
Thanks,
Tito
On Tue, Apr 26, 2016 at 7:22 AM, Ionut Ionita
<[email protected] <mailto:[email protected]>> wrote:
Pushed this commit [0] yesterday which might have caused a
memleak. Can you try fetching it and tell me if the problem continues?
[0]
https://github.com/OpenSIPS/opensips/commit/41bcd2559b29a23e96636c6c2dfc5628f69ae5b7
Regards,
Ionut Ionita
OpenSIPS Developer
On 04/26/2016 11:12 AM, Tito Cumpen wrote:
Please advise if there is anything else required here.
On Apr 21, 2016 3:36 PM, "Tito Cumpen" <[email protected]
<mailto:[email protected]>> wrote:
Ionut,
Here it is with memlog = 1
On Thu, Apr 21, 2016 at 3:20 PM, Tito Cumpen <[email protected]
<mailto:[email protected]>> wrote:
Ionut,
Here is the console input after enabling DBG_QM_MALLOC .
I couldn't find the two compile flags specified for
opensips 2.2. In the documents
Thanks,
Tito
On Thu, Apr 21, 2016 at 6:09 AM, Ionut Ionita
<[email protected]
<mailto:[email protected]>> wrote:
Can you try troubleshooting the leak(if there is one)?[0]
[0]
http://www.opensips.org/Documentation/TroubleShooting-OutOfMem
Ionut Ionita
OpenSIPS Developer
On 04/21/2016 01:47 AM, Tito Cumpen wrote:
Ionut,
I get this error Apr 20 22:41:38 [5760]
ERROR:core:fm_malloc: not enough free pkg memory
(1502776 bytes left), please increase the "-M"
command line parameter!
when I comment :
#modparam("acc",
# "db_url", "http://localhost/mycdr.php)
opensips appears to work fine when I set this param.
Any idea why this is happening?
On Fri, Apr 8, 2016 at 7:20 AM, Ionut Ionita
<[email protected]
<mailto:[email protected]>> wrote:
Hi Tito,
What's the error you get?
Regards,
--
Ionut Ionita
OpenSIPS Developer
On 04/07/2016 03:33 AM, Tito Cumpen wrote:
Group,
I am having issues running the lastest opensips
2.2 from head if i chose to run acc with evi only.
If I don't define acc db like this :
modparam("acc",
"db_url",
"mysql://opensips:opensips@localhost/opensips")
opensips complains about:
do_accounting("evi", "missed");
Is it possible to run acc with only evi?
acc events are working as expected. Just want
to remove the necessity to store acc info in mysql.
Thanks,
Tito
_______________________________________________
Users mailing list
[email protected]
<mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
<mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
<mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
<mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
diff --git a/modules/httpd/httpd_proc.c b/modules/httpd/httpd_proc.c
index 7953394..de76f1a 100644
--- a/modules/httpd/httpd_proc.c
+++ b/modules/httpd/httpd_proc.c
@@ -666,12 +666,6 @@ void httpd_proc(int rank)
#endif
struct httpd_cb *cb = httpd_cb_list;
- /*child's initial settings*/
- if (init_mi_child()!=0) {
- LM_ERR("failed to init the mi child process\n");
- return;
- }
-
/* Allocating http response buffer */
buffer.s = (char*)pkg_malloc(sizeof(char)*buffer.len);
if (buffer.s==NULL) {
@@ -679,6 +673,12 @@ void httpd_proc(int rank)
return;
}
+ /*child's initial settings*/
+ if (init_mi_child()!=0) {
+ LM_ERR("failed to init the mi child process\n");
+ return;
+ }
+
while(cb) {
if (cb->init_proc_callback)
cb->init_proc_callback();
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users