<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">This is way beyond my understanding of Asterisk but it appears that an IE is an information element (username etc) and of course IAX is Inter-Asterisk eXchange, the Asterisk and Allstar linking protocol. <div><br></div><div>Outside of the obvious reboot I don’t know how one would clear what appears to be the iax_ie buffer. I remember we found a bug where when a large number of nodes (say 100 or more) were connected app_rpt would crash. Jim fixed it by making some buffer larger. Perhaps that’s what your diff shows. </div><div><br></div><div>I’ve been complaining to Jim about short uptimes so he build a compile for me with a command “memory show summary”. I set up a cron to log that every hour. Just before the last crash iax2-parser exploded in size. So I’m sure there is still a bug to be squashed. We’re exploring the squashing options at this time. <br><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Verdana; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--<br>Tim<br>:wq</div></span></span>
</div>
<br><div><div>On Dec 15, 2013, at 12:47 PM, Geoff <<a href="mailto:ars.w5omr@gmail.com">ars.w5omr@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<div bgcolor="#FFFFFF" text="#000000">
Really? This is odd...<br>
<br>
I got a message, that flashed in my face that said something like
'...is full. need room for 51, have 6' or something...<br>
<br>
<br>
Sure enough, I went to looking through the drive to see what was
taking up so freakin' much room (80gig drive) so when I looked at
how much room was left on the drive, I got more confused...<br>
<br>
[root@W5OMR /var/log/asterisk]# df -h<br>
Filesystem Size Used Avail Use% Mounted on<br>
/dev/hdb1 72G 1.7G 66G 3% /<br>
tmpfs 759M 0 759M 0% /dev/shm<br>
<br>
<br>
I looked.. and looked again. Yeah... that's 3% *currently being
used*.<br>
<br>
But, still, the warning message was still there.<br>
<br>
<br>
WARNING[9667] chan_iax2.c: Out of space for ie 'Unknown IE' (54),
need 51 have 6<br>
<br>
<br>
Sooo... I went to Goggling.<br>
<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Index: iax2-parser.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/iax2-parser.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- iax2-parser.c 25 May 2004 15:16:45 -0000 1.21
+++ iax2-parser.c 13 Jun 2004 21:25:10 -0000 1.22</pre>
~~~<br>
/\/\/\/\<br>
~~~<br>
<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">int iax_ie_append_raw(struct iax_ie_data *ied, unsigned char ie, void *data, int datalen)
{
char tmp[256];
- if (datalen > (sizeof(ied->buf) - ied->pos)) {
- snprintf(tmp, sizeof(tmp), "Out of space for ie '%s' (%d), need %d have %d\n", iax_ie2str(ie), ie, datalen, sizeof(ied->buf) - ied->pos);
+ if (datalen > ((int)sizeof(ied->buf) - ied->pos)) {
+ snprintf(tmp, (int)sizeof(tmp), "Out of space for ie '%s' (%d), need %d have %d\n", iax_ie2str(ie), ie, datalen, (int)sizeof(ied->buf) - ied->pos);
errorf(tmp);
return -1;
}
@@ -325,21 +325,21 @@
int iax_ie_append_addr(struct iax_ie_data *ied, unsigned char ie, struct sockaddr_in *sin)
{
- return iax_ie_append_raw(ied, ie, sin, sizeof(struct sockaddr_in));
+ return iax_ie_append_raw(ied, ie, sin, (int)sizeof(struct sockaddr_in));
}</pre>
<br>
WHAT Buffer is full?<br>
<br>
How can it be emptied?<br>
Is it hurting my system?<br>
<br>
Ok, ok... probably a little paranoid sounding on the last... but it
-is- a [WARNING]...<br>
<br>
Whassup?<br>
<br>
</div>
_______________________________________________<br>App_rpt-users mailing list<br><a href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a><br>http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users<br></blockquote></div><br></div></body></html>