Re: Optimize CPU Hogging Tomcat 6

2011-02-02 Thread jan gestre
a line similar to (assuming 'tomcat' is the user running tomcat): tomcat hard nofile 4096 tomcat soft nofile 4096 Adjust the number (4096) as necessary. -- Olaf 2011/2/2 jan gestre ipcopper...@gmail.com: On Wed, Feb 2, 2011 at 6:26 AM, Caldarale, Charles R chuck.caldar...@unisys.com

Re: apache question

2011-02-02 Thread jan gestre
On Wed, Feb 2, 2011 at 9:40 PM, Ognjen Blagojevic ognjen.d.blagoje...@gmail.com wrote: Hi Lava, On 1.2.2011 19:35, Lava Saleem wrote: yeah I have read what you quote before but my question is that I need to set apache httpd  as a proxy and I'm not sure if it buildin within the apache

Optimize CPU Hogging Tomcat 6

2011-02-01 Thread jan gestre
Hi Everyone, We have an Apache Tomcat 6 server (HA cluster using DRBD) that is hogging the CPU, this happens when there are simultaneous users accessing at the same time, which should be considered normal because they're only 30. How will I optimize Tomcat? Here's my server.xml file:

Re: Optimize CPU Hogging Tomcat 6

2011-02-01 Thread jan gestre
On Tue, Feb 1, 2011 at 10:33 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: jan gestre [mailto:ipcopper...@gmail.com] Subject: Optimize CPU Hogging Tomcat 6 We have an Apache Tomcat 6 server (HA cluster using DRBD) that is hogging the CPU, this happens when

Re: Optimize CPU Hogging Tomcat 6

2011-02-01 Thread jan gestre
On Wed, Feb 2, 2011 at 6:26 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: jan gestre [mailto:ipcopper...@gmail.com] Subject: Re: Optimize CPU Hogging Tomcat 6 Here's a snippet of the thread dump using jstack: Nothing there of any interest; all the ones you showed weren't

Re: Best practice for running Tomcat on port 80

2010-09-09 Thread jan gestre
There's examples of shell scripts called Tomcat.sh, Tomcat5.sh in the unix directory subtree, which may help.  Use Tomcat5.sh as a template. It demonstrates how to use configure the jsvc binary. p Hi Pid, I was able to start Tomcat by using Tomcat5.sh just like you suggested but I have

Re: Best practice for running Tomcat on port 80

2010-09-08 Thread jan gestre
On Tue, Sep 7, 2010 at 3:40 PM, Pid p...@pidster.com wrote: On 07/09/2010 06:14, jan gestre wrote: On Tue, Sep 7, 2010 at 1:02 PM, Wesley Acheson wesley.ache...@gmail.com wrote: On Tue, Sep 7, 2010 at 4:34 AM, jan gestre ipcopper...@gmail.com wrote: I'm using the latest 6.0.29 binary

Best practice for running Tomcat on port 80

2010-09-06 Thread jan gestre
Hi Everyone, I've Googled a lot with respect to the subject, and I wanted to solicit your advice, basically I want to run Tomcat on port 80, some already objected to the idea of proxying it via Apache, so I'm looking at using jsvc or pound instead. I'm using the latest 6.0.29 binary distribution,

Re: Best practice for running Tomcat on port 80

2010-09-06 Thread jan gestre
On Tue, Sep 7, 2010 at 1:02 PM, Wesley Acheson wesley.ache...@gmail.com wrote: On Tue, Sep 7, 2010 at 4:34 AM, jan gestre ipcopper...@gmail.com wrote: I'm using the latest 6.0.29 binary distribution, and I don't have an idea where to download jsvc, if it's already included I don't know

Re: Tomcat dies after starting

2010-09-02 Thread jan gestre
On Thu, Sep 2, 2010 at 2:09 PM, Wesley Acheson wesley.ache...@gmail.com wrote: This looks like you've got many instances started at once (at least the end part of it does). Ensure that it is shut down fully before starting again. Are you the only user on this machine or is it shared? Other

Re: Tomcat dies after starting

2010-09-02 Thread jan gestre
On Thu, Sep 2, 2010 at 10:52 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan, On 9/2/2010 2:42 AM, jan gestre wrote: I'm the only user of this dedicated machine, it's not yet in production that's why I'm quite sure :). Even

Tomcat dies after starting

2010-09-01 Thread jan gestre
Hi Everyone, I'm using 6.0.26 tomcat binary in my RHEL5 box, it was configured for high availability using DRBD, it was already working for more than a week already but all of a sudden it stopped working, tomcat just dies, restarting it manually does not help either. Here's my setup: RHEL5

Re: Tomcat dies after starting

2010-09-01 Thread jan gestre
on a linux box) RHEL5 has selinux installed by default which may cause problems. I'm not sure. Ensure nothing else is listening to that port. Regards, Wesley Acheson On Wed, Sep 1, 2010 at 9:00 AM, jan gestre ipcopper...@gmail.com wrote: Hi Everyone, I'm using 6.0.26 tomcat binary in my

Re: Tomcat dies after starting

2010-09-01 Thread jan gestre
On Wed, Sep 1, 2010 at 9:28 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Wesley Acheson [mailto:wesley.ache...@gmail.com] Subject: Re: Tomcat dies after starting Can you put in the beginning of the stack trace? Nice that the OP cut off the critical information... Also,