RE: HPUX and tomcat help!

2003-03-25 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Allen,

What do you set for your memory parameters in catalina opts?

an example from out setup is


if [ -z $CATALINA_OPTS ] ; then
  CATALINA_OPTS=-XdoCloseWithReadPending -Xms256m -Xmn100m -Xmx256m
-Xverbosegc:file=/tomca
t/logs/gc.out
export CATALINA_OPTS
echo start: CATALINA_OPTS set to $CATALINA_OPTS
fi

I have seen tomcat stop because of garbage collection issues if -Xms256m and
-Xmx256m are not equal.  This usually occurs for webapps that very quickly
create large temporary objects.  The new generation heap just cannot expand
fast enough and tomcat will stop.

without -XdoCloseWithReadPending, tomcat will not shutdown.  As far as I can
tell it is due to a connector still binding to a port in some manner.

Also, are your patches up to date?

I list some recommended kernal paramters that we try to adhere to for our
servers, maxdsiz we have found is very important.  If set too small you will
get hotspot errors and the JVM will crash.


maxusers512
nproc   2068
max_thread_proc 3000
nkthread6000
nfile   3
maxfiles2048
maxfiles_lim2048
ncallout6000
maxdsiz 2063835136


Jeff


-Original Message-
From: Byington, Allen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 7:43 AM
To: '[EMAIL PROTECTED]'
Subject: HPUX and tomcat help!


I'm having a problem keeping tomcat running on my hpux11 systems.  The
server just stops responding and no log entries are made.  To get things
going again, I have to do a kill on the tomcat process and start it back up.
The configration of the server looks like this:
HP-UX 11/64 bit
java 1.4
tomcat 4.1.18 (standalone)
apache 2.0.43

Any help would be appreciated.

Thanks
Allen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HPUX and tomcat help!

2003-03-25 Thread Tim Funk
Can you use a 1.3 JVM with all the latest OS patches? I'd be surprised 
if a 1.4 JVM was production worthy for HPUX. (YMMV)

OS patches are the most important part. Also make sure enableHost 
lookups are off.

And when tomcat freezes - perform a thread dump to look for anything 
potentially insightful. (Usually its just a mess of data but sometimes a 
nugget of gold there)

-Tim

Byington, Allen wrote:
I'm having a problem keeping tomcat running on my hpux11 systems.  The
server just stops responding and no log entries are made.  To get things
going again, I have to do a kill on the tomcat process and start it back up.
The configration of the server looks like this:
HP-UX 11/64 bit
java 1.4
tomcat 4.1.18 (standalone)
apache 2.0.43
Any help would be appreciated.

Thanks
Allen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: HPUX and tomcat help!

2003-03-25 Thread Byington, Allen
Thanks for the help!  I went ahead and added in the catalina opts (just one
more thing I didn't know about) and restarted the server.  I have my SA
looking into the kernel params for me.  I'll let you all know if that fixes
the problem.  As far as the patches are concerned, I'm using the 4.1.18
binary version from the jakarta download site.

Thanks Again!

Allen


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 9:28 AM
To: 'Tomcat Users List'
Subject: RE: HPUX and tomcat help!


Allen,

What do you set for your memory parameters in catalina opts?

an example from out setup is


if [ -z $CATALINA_OPTS ] ; then
  CATALINA_OPTS=-XdoCloseWithReadPending -Xms256m -Xmn100m -Xmx256m
-Xverbosegc:file=/tomca t/logs/gc.out export CATALINA_OPTS echo start:
CATALINA_OPTS set to $CATALINA_OPTS fi

I have seen tomcat stop because of garbage collection issues if -Xms256m and
-Xmx256m are not equal.  This usually occurs for webapps that very quickly
create large temporary objects.  The new generation heap just cannot expand
fast enough and tomcat will stop.

without -XdoCloseWithReadPending, tomcat will not shutdown.  As far as I can
tell it is due to a connector still binding to a port in some manner.

Also, are your patches up to date?

I list some recommended kernal paramters that we try to adhere to for our
servers, maxdsiz we have found is very important.  If set too small you will
get hotspot errors and the JVM will crash.


maxusers512
nproc   2068
max_thread_proc 3000
nkthread6000
nfile   3
maxfiles2048
maxfiles_lim2048
ncallout6000
maxdsiz 2063835136


Jeff


-Original Message-
From: Byington, Allen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 7:43 AM
To: '[EMAIL PROTECTED]'
Subject: HPUX and tomcat help!


I'm having a problem keeping tomcat running on my hpux11 systems.  The
server just stops responding and no log entries are made.  To get things
going again, I have to do a kill on the tomcat process and start it back up.
The configration of the server looks like this: HP-UX 11/64 bit java 1.4
tomcat 4.1.18 (standalone) apache 2.0.43

Any help would be appreciated.

Thanks
Allen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: HPUX and tomcat help!

2003-03-25 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Allen,

I was referring to the HP patches found at
http://www.hp.com/products1/unix/java/patches/index.html

Also, make sure you are using the latest version of HP Java 1.4 found at
http://www.hp.com/products1/unix/java/java2/sdkrte14/infolibrary/index.html

I have not personally used 1.4 as I am still trying to migrate our apps to
1.3.


Jeff


-Original Message-
From: Byington, Allen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 8:59 AM
To: 'Tomcat Users List'
Subject: RE: HPUX and tomcat help!


Thanks for the help!  I went ahead and added in the catalina opts (just one
more thing I didn't know about) and restarted the server.  I have my SA
looking into the kernel params for me.  I'll let you all know if that fixes
the problem.  As far as the patches are concerned, I'm using the 4.1.18
binary version from the jakarta download site.

Thanks Again!

Allen


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 9:28 AM
To: 'Tomcat Users List'
Subject: RE: HPUX and tomcat help!


Allen,

What do you set for your memory parameters in catalina opts?

an example from out setup is


if [ -z $CATALINA_OPTS ] ; then
  CATALINA_OPTS=-XdoCloseWithReadPending -Xms256m -Xmn100m -Xmx256m
-Xverbosegc:file=/tomca t/logs/gc.out export CATALINA_OPTS echo start:
CATALINA_OPTS set to $CATALINA_OPTS fi

I have seen tomcat stop because of garbage collection issues if -Xms256m and
-Xmx256m are not equal.  This usually occurs for webapps that very quickly
create large temporary objects.  The new generation heap just cannot expand
fast enough and tomcat will stop.

without -XdoCloseWithReadPending, tomcat will not shutdown.  As far as I can
tell it is due to a connector still binding to a port in some manner.

Also, are your patches up to date?

I list some recommended kernal paramters that we try to adhere to for our
servers, maxdsiz we have found is very important.  If set too small you will
get hotspot errors and the JVM will crash.


maxusers512
nproc   2068
max_thread_proc 3000
nkthread6000
nfile   3
maxfiles2048
maxfiles_lim2048
ncallout6000
maxdsiz 2063835136


Jeff


-Original Message-
From: Byington, Allen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 7:43 AM
To: '[EMAIL PROTECTED]'
Subject: HPUX and tomcat help!


I'm having a problem keeping tomcat running on my hpux11 systems.  The
server just stops responding and no log entries are made.  To get things
going again, I have to do a kill on the tomcat process and start it back up.
The configration of the server looks like this: HP-UX 11/64 bit java 1.4
tomcat 4.1.18 (standalone) apache 2.0.43

Any help would be appreciated.

Thanks
Allen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HPUX and tomcat help!

2003-03-25 Thread xyber
we have the same problem in the past , and the solution: just switch 
back to java1.3 and the problem is gone

xyb

Byington, Allen wrote:

I'm having a problem keeping tomcat running on my hpux11 systems.  The
server just stops responding and no log entries are made.  To get things
going again, I have to do a kill on the tomcat process and start it back up.
The configration of the server looks like this:
HP-UX 11/64 bit
java 1.4
tomcat 4.1.18 (standalone)
apache 2.0.43
Any help would be appreciated.

Thanks
Allen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]