<p>I thought that since <code>kamcmd ps</code> was matching the amount of Kamailio running processes  we could be able to find why the count was not matching, in this</p>
<p>For the last test I lowered the amount of childs</p>
<pre><code> 0(21919) CRITICAL: <core> [core/pt.c:285]: fork_process(): Process limit of 13 exceeded. Will simulate fork fail.
</code></pre>
<p>As seen above there is 14 processes when the server is starting properly, I concluded that is must be one of the following :</p>
<pre><code>/ # kamcmd ps
7       main process - attendant
24      udp receiver child=0 sock=117.75.69.33:5060
25      udp receiver child=0 sock=117.75.69.33:5160
26      slow timer
27      timer
28      secondary timer
29      JSONRPC-S FIFO
30      JSONRPC-S DATAGRAM
31      ctl handler
32      RTIMER EXEC child=0 timer=tmetrics
33      HTable Timer
34      Dialog Clean Timer
35      tcp receiver (generic) child=0
36      tcp main process
</code></pre>

<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#issuecomment-333173631">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZdCIBC2N7Xcj83muzYUYG1rpmo6Uks5snRqAgaJpZM4PZYHc">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zecy6w1MbjfmTp5j1D4jsMchJXpIks5snRqAgaJpZM4PZYHc.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#issuecomment-333173631"></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":"PERSON","message":"@jchavanton in #1237: I thought that since `kamcmd ps` was matching the amount of Kamailio running processes  we could be able to find why the count was not matching, in this\r\n\r\nFor the last test I lowered the amount of childs \r\n\r\n```\r\n 0(21919) CRITICAL: \u003ccore\u003e [core/pt.c:285]: fork_process(): Process limit of 13 exceeded. Will simulate fork fail.\r\n```\r\nAs seen above there is 14 processes when the server is starting properly, I concluded that is must be one of the following :\r\n\r\n```\r\n/ # kamcmd ps\r\n7\tmain process - attendant\r\n24\tudp receiver child=0 sock=117.75.69.33:5060\r\n25\tudp receiver child=0 sock=117.75.69.33:5160\r\n26\tslow timer\r\n27\ttimer\r\n28\tsecondary timer\r\n29\tJSONRPC-S FIFO\r\n30\tJSONRPC-S DATAGRAM\r\n31\tctl handler\r\n32\tRTIMER EXEC child=0 timer=tmetrics\r\n33\tHTable Timer\r\n34\tDialog Clean Timer\r\n35\ttcp receiver (generic) child=0\r\n36\ttcp main process\r\n```"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1237#issuecomment-333173631"}}}</script>