Hey Juha,<br><br>you need to increase the size for your pvars. You will prob also need to increase the TCP read buffer size. For example,<br><br>pv_buffer_size=8192<br>tcp_rd_buf_size=8192<br><br>cheers<br>Jason<br><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Nov 12, 2012 at 2:11 AM, Juha Heinanen <span dir="ltr">&lt;<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
i got the these error messages when my xcap server tried to serve &#39;GET<br>
xcap-caps&#39; request:<br>
<br>
Nov 12 02:01:31 sip /usr/sbin/pres-serv[30613]: INFO: XCAP service GET &lt;xcap-caps&gt;<br>
Nov 12 02:01:31 sip /usr/sbin/pres-serv[30613]: ERROR: &lt;core&gt; [pvapi.c:1305]: no more space for spec value<br>
Nov 12 02:01:31 sip /usr/sbin/pres-serv[30613]: ERROR: &lt;core&gt; [pvapi.c:1314]: buffer overflow -- increase the buffer size...<br>
Nov 12 02:01:31 sip /usr/sbin/pres-serv[30613]: ERROR: &lt;core&gt; [sr_module.c:1665]: Could not convert the PV-formated string to str<br>
Nov 12 02:01:31 sip /usr/sbin/pres-serv[30613]: ERROR: xhttp [xhttp_mod.c:461]: unable to get body<br>
<br>
config code where this comes is this:<br>
<br>
            xlog(&quot;L_INFO&quot;, &quot;XCAP service $rm &lt;$xcapuri(u=&gt;auid)&gt;\n&quot;);<br>
            $var(xbody) =<br>
&quot;&lt;?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39;?&gt;<br>
&lt;xcap-caps xmlns=&#39;urn:ietf:params:xml:ns:xcap-caps&#39;&gt;<br>
  &lt;auids&gt;<br>
    &lt;auid&gt;rls-services&lt;/auid&gt;<br>
    &lt;auid&gt;pidf-manipulation&lt;/auid&gt;<br>
    &lt;auid&gt;xcap-caps&lt;/auid&gt;<br>
    &lt;auid&gt;resource-lists&lt;/auid&gt;<br>
    &lt;auid&gt;pres-rules&lt;/auid&gt;<br>
    &lt;auid&gt;org.openmobilealliance.pres-rules&lt;/auid&gt;<br>
    &lt;auid&gt;org.openmobilealliance.user-profile&lt;/auid&gt;<br>
    &lt;auid&gt;org.openmobilealliance.pres-content&lt;/auid&gt;<br>
    &lt;auid&gt;org.openmobilealliance.search&lt;/auid&gt;<br>
    &lt;auid&gt;org.openmobilealliance.xcap-directory&lt;/auid&gt;<br>
  &lt;/auids&gt;<br>
  &lt;extensions&gt;<br>
  &lt;/extensions&gt;<br>
  &lt;namespaces&gt;<br>
    &lt;namespace&gt;urn:ietf:params:xml:ns:rls-services&lt;/namespace&gt;<br>
    &lt;namespace&gt;urn:ietf:params:xml:ns:pidf&lt;/namespace&gt;<br>
    &lt;namespace&gt;urn:ietf:params:xml:ns:xcap-caps&lt;/namespace&gt;<br>
    &lt;namespace&gt;urn:ietf:params:xml:ns:resource-lists&lt;/namespace&gt;<br>
    &lt;namespace&gt;urn:ietf:params:xml:ns:pres-rules&lt;/namespace&gt;<br>
    &lt;namespace&gt;urn:oma:xml:xdm:user-profile&lt;/namespace&gt;<br>
    &lt;namespace&gt;urn:oma:xml:prs:pres-content&lt;/namespace&gt;<br>
    &lt;namespace&gt;urn:oma:xml:xdm:search&lt;/namespace&gt;<br>
    &lt;namespace&gt;urn:oma:xml:xdm:xcap-directory&lt;/namespace&gt;<br>
  &lt;/namespaces&gt;<br>
&lt;/xcap-caps&gt;&quot;;<br>
            xhttp_reply(&quot;200&quot;, &quot;OK&quot;, &quot;application/xcap-caps+xml&quot;,<br>
                &quot;$var(xbody)&quot;);<br>
<br>
i have not checked yet, which buffer should be increased, but would it<br>
be a good idea to make the default bigger?<br>
<br>
-- juha<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Jason Penton<br>Senior Manager: Applications and Services<br>Smile Communications<br>Johannesburg, South Africa<br>Phone: <a value="+27834427179">+27 83 283 7000<br></a><br>

</div>

<pre>This email is subject to the disclaimer of Smile Communications (PTY) Ltd. at http://www.smilecoms.com/disclaimer