<h3>Description</h3>
<p>Kamailio won't start after pulling from master</p>
<p>Commit triggering the problem</p>
<pre><code>git show ec15b23f25ba2502a661157ae69b4dc1db923f66
Author: Daniel-Constantin Mierla <miconda@gmail.com>
Date:   Fri Sep 1 12:00:06 2017 +0200

    core: main - don't count wtimer secondary process separately
    
    - it is registered via sr_wtimer_init()
    - fixes the extra empty entry in process table reported by Juha Heinanen
</code></pre>
<h4>Reproduction</h4>
<p>Always with specific configuration (I can diagnose further is needed)</p>
<h4>Log Messages</h4>
<p>When trying to start Kamailio</p>
<pre><code> 0(26583) CRITICAL: <core> [core/pt.c:285]: fork_process(): Process limit of 13 exceeded. Will simulate fork fail.
 0(26583) CRITICAL: <core> [main.c:1720]: main_loop(): cannot fork tcp main process: Invalid argument
</code></pre>
<h3>Possible Solutions</h3>
<p>Not sure is the config I am using is not supported or if Kamailio code should be fixed.<br>
rolling back the commit is fixing the issue<br>
<code>git revert ec15b23f25ba2502a661157ae69b4dc1db923f66</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1237">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36Zd8pWf4Rs8mPX2A3X1Y8el2_V2Dvks5sisgGgaJpZM4PZYHc">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zaqn-2qCBoikpmZRvvsQUWNYhahTks5sisgGgaJpZM4PZYHc.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1237"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Problem with process limit of count wtimer secondary process (#1237)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1237"}}}</script>