Hey Guys,<br><br> First off thanks for any help in advance!<br><br> I'm adding a single avp test i.e. $avp(s:some-avp-name) = 'foo!'; to a development configuration running Kamailio revision: 5487 (1.4.3). When I start kamailio I'm getting the following error:<br>
<br>CRITICAL:core:init_io_wait: could not alloc epoll array<br><br>As soon as I delete this AVP addition and start her back up, she starts.<br><br><br>Code Snippet (io_wait.c)<br><br>606 #ifdef HAVE_EPOLL<br>607 case POLL_EPOLL_LT:<br>
608 case POLL_EPOLL_ET:<br>609 h->ep_array=local_malloc(sizeof(*(h->ep_array))*h->max_fd_no);<br>610 if (h->ep_array==0){<br>611 LM_CRIT("could not alloc epoll array\n");<br>
612 goto error;<br>613 }<br>614 memset((void*)h->ep_array, 0, sizeof(*(h->ep_array))*h->max_fd_no);<br>615 if (init_epoll(h)<0){<br>616 LM_CRIT("epoll init failed\n");<br>
617 goto error;<br>618 }<br>619 break;<br>620 #endif<br><br>I do not know enough of Kamailio CORE but it looks like something to do with memory allocation / file descriptors? I've increased available memory to kamailio as well as open file limits / file descriptors etc -- to no avail, any help is much appreciated thanks guys!<br>