<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>where do you use that avp, because for the avp value itself, that
buffer is not used -- avp values are stored in shared memory.</p>
<p>Do you use that avp in xlog() or other functions parameters?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 13.02.19 09:10, Enrico Bandiera
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGqwm+cdWnZytzgf2_gahZ=z6iC+OzgPbbAG3GAYa78p_ZmNPw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi, I'm having some strange issues with a
somewhat big $avp value, when it reaches a size of about 4K
I get this error:</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">
<div dir="ltr">29(47) ERROR: <core>
[core/pvapi.c:1452]: pv_printf(): no more space for spec
value</div>
<div dir="ltr">29(47) ERROR: <core>
[core/pvapi.c:1461]: pv_printf(): buffer overflow –
increase the buffer size...</div>
<div dir="ltr"><br>
</div>
<div>In the docs I read that the default pv_buffer_size is
8K, I still tried to enforce it to something bigger and
checked the logs to be sure it was set:</div>
<div><br>
</div>
<div>0(384) DEBUG: <core> [core/pvapi.c:2062]:
pv_init_buffer(): PV print buffer initialized to
[40][16384]<br>
</div>
<div><br>
</div>
<div>But still when reaching the 4K size inside the $avp
that error comes out, is there any limit I'm not aware of?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Enrico.</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
</body>
</html>