Re: [SR-Users] Problem receiving large payloads from JSONRPC-S

2016-08-10 Thread Daniel-Constantin Mierla
On 10/08/16 09:04, Alex Balashov wrote: > Huh. You're right, it's not! :-) > > What value should I set it to for a 0.5 MB - 1 MB payload? Try larger than what you expect. You may need to adjust tcp_wq_max if you have many parallel large responses. Cheers, Daniel > > On August 10, 2016 3:03:

Re: [SR-Users] Problem receiving large payloads from JSONRPC-S

2016-08-10 Thread Alex Balashov
Huh. You're right, it's not! :-) What value should I set it to for a 0.5 MB - 1 MB payload? On August 10, 2016 3:03:32 AM EDT, Daniel-Constantin Mierla wrote: > > >On 10/08/16 09:01, Alex Balashov wrote: >> I have indeed - it was in my original post: >> >> tcp_wq_max=20971520 >But this is no

Re: [SR-Users] Problem receiving large payloads from JSONRPC-S

2016-08-10 Thread Daniel-Constantin Mierla
On 10/08/16 09:01, Alex Balashov wrote: > I have indeed - it was in my original post: > > tcp_wq_max=20971520 But this is not tcp_conn_wq_max Cheers, Daniel > > > On August 10, 2016 3:00:22 AM EDT, Daniel-Constantin Mierla > wrote: >> Have you set the parameter: >> >> https://www.kamailio.or

Re: [SR-Users] Problem receiving large payloads from JSONRPC-S

2016-08-10 Thread Alex Balashov
I have indeed - it was in my original post: tcp_wq_max=20971520 On August 10, 2016 3:00:22 AM EDT, Daniel-Constantin Mierla wrote: >Have you set the parameter: > >https://www.kamailio.org/wiki/cookbooks/devel/core#tcp_conn_wq_max > >Cheers, >Daniel > > >On 09/08/16 18:46, Alex Balashov wrote:

Re: [SR-Users] Problem receiving large payloads from JSONRPC-S

2016-08-10 Thread Daniel-Constantin Mierla
Have you set the parameter: https://www.kamailio.org/wiki/cookbooks/devel/core#tcp_conn_wq_max Cheers, Daniel On 09/08/16 18:46, Alex Balashov wrote: > FWIW, the total response size according to Content-Length is close to > 1 MB: > > -- > Header says content-length is: 737406 > Chunked: 5660 >

Re: [SR-Users] Problem receiving large payloads from JSONRPC-S

2016-08-09 Thread Alex Balashov
FWIW, the total response size according to Content-Length is close to 1 MB: -- Header says content-length is: 737406 Chunked: 5660 Chunked: 14348 Chunked: 17244 ABORT! Runtime RPC client error: JSON parse error - SyntaxError: Unexpected end of input -- The "ABORT!" comes from an event fired wh

[SR-Users] Problem receiving large payloads from JSONRPC-S

2016-08-09 Thread Alex Balashov
Hi, I'm requesting 'dlg.list' from JSONRPC-S via XHTTP on a rather busy server, i.e. event_route[xhttp:request] { xlog("L_INFO", 'action=ER-XHTTP-REQUEST | ret=LOG_HTTP_REQ | data={"method": "$rm", "path": "$hu", "source": "$si:$sp"}'); # Digest challenge omitted. i