Post your setenv.sh and server.xml


#1

Hey,

I’m facing problems with Razuna - somewhen tomcat starts raising the systems load, after a while (2-3 min) there is no more reaction, load equals the cpu cores (so e.g. load 8 in a 8 cpu machine) and no requests will be served.There is no error log, no possibility to find out what’s wrong…

I tried a lot to find the problem, but at the end nothing helped.
So, what’s your configuration? Here’s mine:

setenv.sh:

xss = 128-256m
xms = 384 - 512m
xmx = 8-16g

server.xml:

<Connector port=“8080” protocol=“HTTP/1.1”

           connectionTimeout="2000"
           redirectPort="8443"
           maxPostSize="0"
           enableLookups="false"
           disableUploadTimeout="true"
           maxKeepAliveRequests="4"
           keepAliveTimeout="10000"
           useBodyEncodingForURI="true"
           compression="off"
           server="razuna"
           URIEncoding="UTF-8"
           maxSwallowSize="0"
           maxThreads="40"
           minSpareThreads="3"
           acceptCount="100"
           maxHttpHeaderSize="32768"
    />