<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Lucida Console'; font-size:9pt; font-weight:400; font-style:normal;">On Dienstag, 16. Juni 2009, Brandon Armstead wrote:<br>
> I'm adding a single avp test i.e. $avp(s:some-avp-name) = 'foo!'; to a<br>
> development configuration running Kamailio revision: 5487 (1.4.3). When I<br>
> start kamailio I'm getting the following error:<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Hi Brandon,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>> CRITICAL:core:init_io_wait: could not alloc epoll array<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I'd guess this is related to the EPOLL support that is used to efficiently get notified when something on the file descriptor arrives, so basically its necessary for TCP support.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>> 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>
> [..]<br>
> 620 #endif<br>
><br>
> I do not know enough of Kamailio CORE but it looks like something to do<br>
> with memory allocation / file descriptors? I've increased available memory<br>
> to kamailio as well as open file limits / file descriptors etc -- to no<br>
> avail, any help is much appreciated thanks guys!<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>This is really strange, i really could not imagine how an AVP operation like this could be related to the TCP core infrastructure. Do you notice some other (earlier) errors in the logs? Perhaps its just something that its generated because its stop from an earlier error?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Henning</p></body></html>