Juha,

Try the buf_size modparam for xcap_server.

Peter

On Tue, 2011-10-04 at 18:50 +0300, Juha Heinanen wrote:
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 <oma_status-icon> for <sip:jh@test.fi>
Oct  4 18:36:07 sip /usr/sbin/pres-serv[18110]: ERROR: <core> [pvapi.c:1250]: no more space for spec value
Oct  4 18:36:07 sip /usr/sbin/pres-serv[18110]: ERROR: <core> [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
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd