From e418c3a09071c8ea587ce5e32b4f1dca18997dae Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 3 Sep 2012 15:11:30 +0200 Subject: [PATCH] GFS: increase default max message to 64 MB --- doc/server.xml | 2 +- src/statserv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/server.xml b/doc/server.xml index 52033bf..02557e2 100644 --- a/doc/server.xml +++ b/doc/server.xml @@ -235,7 +235,7 @@ int statserv_main(int argc, char **argv, int maxrecordsize; Maximum permissible record (message) size. Default - is 1Mb. This amount of memory will only be allocated if a + is 64 MB. This amount of memory will only be allocated if a client requests a very large amount of records in one operation (or a big record). Set it to a lower number if you are worried about resource diff --git a/src/statserv.c b/src/statserv.c index 720ec08..6129304 100644 --- a/src/statserv.c +++ b/src/statserv.c @@ -99,7 +99,7 @@ statserv_options_block control_block = { "tcp:@:9999", /* default listener port */ PROTO_Z3950, /* default application protocol */ 900, /* idle timeout (seconds) */ - 1024*1024, /* maximum PDU size (approx.) to allow */ + 64*1024*1024, /* maximum PDU size (approx.) to allow */ "default-config", /* configuration name to pass to backend */ "", /* set user id */ 0, /* bend_start handler */ -- 1.7.10.4