Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<blockquote> <ul> <li><p>Some platforms may have broken sendfile support that the build system did not detect, especially if the binaries were built on another box and moved to such a machine with broken sendfile support.</p></li> <li><p>On Linux the use of sendfile triggers TCP-checksum offloading bugs on certain networking cards when using IPv6.</p></li> <li><p>With a network-mounted directories (e.g. NFS or SMB), the kernel may be unable to serve the network file through its own cache.</p></li> </ul> </blockquote> <p>Add <code>useSendfile="false"</code> to the Tomcat connector in <code>server.xml</code></p> <pre><code>&lt;Connector ... useSendfile="false" /&gt; </code></pre> <p>Other configurations to check</p> <ol> <li><p>Decent memory allocation and timeouts </p> <pre><code>JAVA_OPTS="-server -Xms256m -Xmx1024m -XX:MaxPermSize=128m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000" </code></pre></li> <li><p>Tomcat Connector options</p></li> </ol> <blockquote> <p><strong>maxPostSize</strong> (104857600 == 100 megabytes, default= 2 megabytes)</p> <p>The maximum size in bytes of the POST which will be handled by the container FORM URL parameter parsing. The feature can be disabled by setting this attribute to a value less than or equal to 0. If not specified, this attribute is set to 2097152 (2 megabytes). Two other configurations to check is the timeout limit and the maxFileSizeLimit</p> <p><strong>disableUploadTimeout</strong> (make sure its not set to false)</p> <p>This flag allows the servlet container to use a different, longer connection timeout while a servlet is being executed, which in the end allows either the servlet a longer amount of time to complete its execution, or a longer timeout during data upload. If not specified, this attribute is set to "true".</p> <p><strong>maxHttpHeaderSize</strong> (try to double it)</p> <p>The maximum size of the request and response HTTP header, specified in bytes. If not specified, this attribute is set to 4096 (4 KB)</p> </blockquote>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload