<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.0.1">
</HEAD>
<BODY>
Juha,<BR>
<BR>
Try the buf_size modparam for xcap_server.<BR>
<BR>
Peter<BR>
<BR>
On Tue, 2011-10-04 at 18:50 +0300, Juha Heinanen wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
peter,

after setting

sql_buffer_size=131071
tcp_rd_buf_size=131071

tcp errors are gone.  next i got this when tried to put icon to xcap
server:

# Oct  4 18:36:07 sip /usr/sbin/pres-serv[18110]: INFO: XCAP service PUT &lt;oma_status-icon&gt; for &lt;<A HREF="sip:jh@test.fi">sip:jh@test.fi</A>&gt;
Oct  4 18:36:07 sip /usr/sbin/pres-serv[18110]: ERROR: &lt;core&gt; [pvapi.c:1250]: no more space for spec value
Oct  4 18:36:07 sip /usr/sbin/pres-serv[18110]: ERROR: &lt;core&gt; [pvapi.c:1259]: buffer overflow -- increase the buffer size...
Oct  4 18:36:07 sip /usr/sbin/pres-serv[18110]: ERROR: xcap_server [xcap_server.c:480]: unable to get body

i then went and increased PV_DEFAULT_PRINT_BUFFER_SIZE in pvapi.c:

#define PV_DEFAULT_PRINT_BUFFER_SIZE 131071

but that didn't help.  any other ideas?

-- juha

_______________________________________________
sr-dev mailing list
<A HREF="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>