Hey Guys,
First off thanks for any help in advance!
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:
CRITICAL:core:init_io_wait: could not alloc epoll array
As soon as I delete this AVP addition and start her back up, she starts.
Code Snippet (io_wait.c)
606 #ifdef HAVE_EPOLL 607 case POLL_EPOLL_LT: 608 case POLL_EPOLL_ET: 609 h->ep_array=local_malloc(sizeof(*(h->ep_array))*h->max_fd_no); 610 if (h->ep_array==0){ 611 LM_CRIT("could not alloc epoll array\n"); 612 goto error; 613 } 614 memset((void*)h->ep_array, 0, sizeof(*(h->ep_array))*h->max_fd_no); 615 if (init_epoll(h)<0){ 616 LM_CRIT("epoll init failed\n"); 617 goto error; 618 } 619 break; 620 #endif
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!