From: Adam Dickmeiss Date: Mon, 3 Sep 2012 13:11:30 +0000 (+0200) Subject: GFS: increase default max message to 64 MB X-Git-Tag: v4.2.37~4 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=e418c3a09071c8ea587ce5e32b4f1dca18997dae;p=yaz-moved-to-github.git GFS: increase default max message to 64 MB --- 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 */