GFS: increase default max message to 64 MB
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 3 Sep 2012 13:11:30 +0000 (15:11 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 3 Sep 2012 13:11:30 +0000 (15:11 +0200)
doc/server.xml
src/statserv.c

index 52033bf..02557e2 100644 (file)
@@ -235,7 +235,7 @@ int statserv_main(int argc, char **argv,
      <varlistentry><term>
        <literal>int maxrecordsize;</literal></term>
       <listitem><para>Maximum permissible record (message) size. Default
      <varlistentry><term>
        <literal>int maxrecordsize;</literal></term>
       <listitem><para>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
        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
index 720ec08..6129304 100644 (file)
@@ -99,7 +99,7 @@ statserv_options_block control_block = {
     "tcp:@:9999",               /* default listener port */
     PROTO_Z3950,                /* default application protocol */
     900,                        /* idle timeout (seconds) */
     "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 */
     "default-config",           /* configuration name to pass to backend */
     "",                         /* set user id */
     0,                          /* bend_start handler */