<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
first, do not set memdbg and memlog lower than debug parameter value
because the logs become too big and a lot of useless messages. Those
two are useful when troubleshooting memory issues for Kamailio
pkg/shm.<br>
<br>
Back to the error, the issue is reflected by the error messages, the
first one is giving quite good description:<br>
<br>
<meta charset="utf-8">
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; white-space: pre-wrap;"> 9(2272) ERROR: db_mysql [km_my_con.c:124]: db_mysql_new_connection(): driver error: Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug
9(2272) ERROR: <core> [db.c:318]: db_do_init2(): could not add connection to the pool 9(2272) DEBUG: <core> [mem/f_malloc.c:575]: fm_free(): fm_free(0x7f71692ac010, 0x7f7169346d60), called from core: db_id.c: free_db_id(346)
9(2272) ERROR: usrloc [ul_mod.c:443]: child_init(): child(-1): failed to connect to database
9(2272) ERROR: <core> [sr_module.c:917]: init_mod_child(): Error while initializing module usrloc (/usr/local/lib64/kamailio/modules/usrloc.so)</pre>
<br>
As a hint to try further to narrow down, set children parameter in
kamailio.cfg to lower value and see if it starts. If yes, for larger
value for children, you need more system memory.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 19/02/16 17:57, Yuriy Gorlichenko
wrote:<br>
</div>
<blockquote
cite="mid:CABSP_VeJ=H7BrLyVsa_rZv7feJPjcN-kuQvkncUNuGv_CJUceg@mail.gmail.com"
type="cite">
<div dir="ltr">Checked config at another servers instanses. <br>
I tried to start 2 workable configs. <br>
All starts ends with 3 type of errors<br>
error.log<br>
error2.log<br>
error3.log <br>
Debug outputs of<br>
3 times started one config on one same server.<br>
<br>
I think error outside kamailio because 4.3 and 4.4 also compiled
successfully. But at this time I can not understand where is
trouble.<br>
<br>
In first file I see that kamailio can not connect to database
but user/pass is correct, and I also see that kamailio can not
make fork of process. 2 and 3 process have different troubles
but base is one - can not fork.<br>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, March 7-9, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>