Hello,


On 24.11.17 15:26, Marco Capetta wrote:
Hello everyone,

On Kamailio version 4.4.6 I have an issue dumping an huge htable through xmlrpc.

We are using htables to store the subscriber registration attempts to prevent bruteforcing password attacks.
Usually there aren't any issues to dump information using
xmlrpc.
On the contrary, if the number of records in the htable become huge (in the order of 10.000),
xmlrpc output is truncated, therefore it is not possible to parse it.

I have the same results either using a Perl library or the "xmlrpc_test.py" script included in package.
I tried to increase the module parameters "binrpc_max_body_size" and "binrpc_struct_max_body_size" without success.



Do you have any other suggestion?
parameters for ctl module matter only when you use kamcmd.

In your case, check to see if xmlrpc module has any related parameter, if not, then it uses the tcp write buffer from core, so you have to adjust them.

Cheers,
Daniel



Thank you
Regards
Marco



--
Marco Capetta
Operations Engineer

Sipwise GmbH , Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Phone:  +43(0)1 301 2044
Email:  mcapetta@sipwise.com
Website:  www.sipwise.com

Particulars according Austrian Companies Code paragraph 14
"Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge
FN:305595f, Commercial Court Vienna, ATU64002206



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com