On Mar 29, 2015 2:53 AM, "Paul, Subhro" <subhro.p...@pseg.com> wrote:
>
> Dear Team,
>
> I am an application developer from TCS and working for PSEG (
https://www.pseg.com).
>
> You might have seen my queries which I forwarded on 12 Feb, 2015 for
Tomcat server crashing issue. After that we have added some resources to
the servers. Now we have two Tomcat6 servers each one is having 16GB of RAM
and 8CUPS. All server are Linux 6.5 64 bit OS.
>
> As per application architecture we have two Apache Proxy servers and two
Tomcat servers. Also we have two loadbalancers, one for Proxy loadbalancing
and another for Tomcat loadbalancing. So, when request comes that comes to
proxy loadbalncer first then Apache Proxy server -> Tomcat loadbalancer ->
Tomcat server.
>
> Some days back on 19th and 23rd of March another incident occurs when
server faced some issues again. This time none of the servers where crashed
but for some highly used pages in the site, Apache proxy server started
complaining Timeout which is 60 seconds. After googling we thought we could
increase the Time out in Proxy but client don't accept that.
>
> So we need some tuning parameters on Tomcat server for better
performance. Below are some of the setting parameters from actual server.
Ports are masked.
>
>
> Initializing param:
>
> JAVA_OPTS="${JAVA_OPTS} -Xms1024M -Xmx1024M"
> CATALINA_OPTS="${CATALINA_OPTS} -Xms1024M -Xmx1024M"
>
>
>
> Connector Initialization param:
>
> <Connector port="XXXX" protocol="HTTP/1.1"
>         connectionTimeout="20000"
>         server=" "
>         secure="true"
>         redirectPort="YYYY"
>         maxThreads="512"/>
>
> All other parameters are kept as default.
>
>
> Also we did some load testing on the servers in Test environment and
found that if we restart the Tomcat server it works absolutely fine but
gradually performance decrease though the garbage collection happening and
very little memory captured by "PS Old Gen'.
>

You almost HIT the point. You have to allocate more heap space..Xmx..to
your Tomcat JVM, OR else if you can't afford that, then obviously analyse
your application and try reducing the memory footprint.
> Is there any other parameters we can add in the servers to increase
performance?
>
> Thanks & Regards,
> Subhro Paul
>
>
>
> -----------------------------------------
>
> The information contained in this e-mail, including any attachment(s), is
intended solely for use by the named addressee(s).  If you are not the
intended recipient, or a person designated as responsible for delivering
such messages to the intended recipient, you are not authorized to
disclose, copy, distribute or retain this message, in whole or in part,
without written authorization from PSEG.  This e-mail may contain
proprietary, confidential or privileged information. If you have received
this message in error, please notify the sender immediately. This notice is
included in all e-mail messages leaving PSEG.  Thank you for your
cooperation.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
Regards,
Ameer Mawia

Reply via email to