Tomcat fails to service requests after period of time

2005-10-19 Thread Steve Gaunt
Hi

I am using jboss 4,01, which is uses tomcat 5.  WE have a web
server(IIS) and use jk2 as the connection to the backend server(jboss
4,01).
I have a web app mapped to a network drive to serve static pdf and html
files.  This uses tomcat because of authentication purposes(one of these
reasons is users can be ip authenticated which cannot be done
dynamically within IIS).

This is a snippet of the server.xml file



Where G:\ContentLoad  is the mapped SAN drive, and is around 50G in
size.

With the above configuration, the application server over a period of
time (around 300,000 requests) stops accepting any requests for PDF
files.  The ajp connectors just hang.  Even if I browse locally(which
uses the HTTP connector), the browser just hangs trying to load the pdf
file.  


Is there a major configuration problem with mapped network drives for
web appp.  

Has anyone else had similar issues??


Steve




__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

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



RE: SVN

2005-10-19 Thread Steve Gaunt
Hi, 


There seems also to be a problem in mod_jk , tomcat5, the  jap connections 
build up slowly over the day. 
The problem seems to be that the connection via mod_jk (Port 8009) does 
not close, so the java/tomcat processes 
will not quit after responding to the request (or the other way 
around?). This problem occurs only in 
heavy load situations. After that I see many open socket connections an 
some tomcat processes that will not quit. 

Has any one suffered a similar problem??

these are the worker.property settings

worker.insight.port=8009 
worker.insight.type=ajp13 
worker.insight.cachesize=200 

# worker.insight.cache_timeout=60 
# worker.insight.recycle_timeout=60 
worker.insight.socket_keepalive=1 
worker.insight.socket_timeout=60 

# if the "retries" value is greater than three, 
# there will be a pause of 100 ms between each retry 
# so this would be a good value if your average response 
# time is 1.7 seconds: 
worker.insight.retries=20 


Property for tomcat



 

 

Steve



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


Tomcat fails to service requests after period of time

2005-10-19 Thread Steve Gaunt
HI, 

 

Please, can any one help.  I've googled but to no success.

There seems also to be a problem in mod_jk , tomcat5, the  jap connections 
build up slowly over the day. 
The problem seems to be that the connection via mod_jk (Port 8009) does 
not close, so the java/tomcat processes 
will not quit after responding to the request (or the other way 
around?). This problem occurs only in 
heavy load situations. After that I see many open socket connections an 
some tomcat processes that will not quit. 

Has any one suffered a similar problem??

these are the worker.property settings

worker.insight.port=8009 
worker.insight.type=ajp13 
worker.insight.cachesize=200 

# worker.insight.cache_timeout=60 
# worker.insight.recycle_timeout=60 
worker.insight.socket_keepalive=1 
worker.insight.socket_timeout=60 

# if the "retries" value is greater than three, 
# there will be a pause of 100 ms between each retry 
# so this would be a good value if your average response 
# time is 1.7 seconds: 
worker.insight.retries=20 


Property for tomcat



 

 

Steve


 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


RE: Tomcat fails to service requests after period of time

2005-10-19 Thread Steve Gaunt
HI,
 
Has anyone else had any issue using mod_jk under heavy load..  
 
It seems after a period of time(or large no. opf requests) under heavy load AJP 
connetor just hangs.  It's crazy.  
All the ajp connections seem to be hanging in service mode, and the only way to 
recover this is to restart tomcat. I'm really stuck with this.  
Has anyone got success stories with jk2(mod)jk) under heavey load.  Around 
1/2-1 million hits/day. 
 
Steve

-Original Message- 
From: Steve Gaunt 
Sent: Wed 19/10/2005 18:51 
To: Tomcat Developers List; Tomcat Developers List 
Cc: 
Subject: Tomcat fails to service requests after period of time



HI,



Please, can any one help.  I've googled but to no success.

There seems also to be a problem in mod_jk , tomcat5, the  jap 
connections build up slowly over the day.
The problem seems to be that the connection via mod_jk (Port 8009) does
not close, so the java/tomcat processes
will not quit after responding to the request (or the other way
around?). This problem occurs only in
heavy load situations. After that I see many open socket connections an
some tomcat processes that will not quit.

Has any one suffered a similar problem??

these are the worker.property settings

worker.insight.port=8009
worker.insight.type=ajp13
worker.insight.cachesize=200

# worker.insight.cache_timeout=60
# worker.insight.recycle_timeout=60
worker.insight.socket_keepalive=1
worker.insight.socket_timeout=60

# if the "retries" value is greater than three,
# there will be a pause of 100 ms between each retry
# so this would be a good value if your average response
# time is 1.7 seconds:
worker.insight.retries=20


Property for tomcat







Steve




__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


ssl connector redirect does not work

2006-09-21 Thread Steve Gaunt
Hello all

 

I am trying to set up SSL working within tomcat(as part of Jboss 4.01).

The installation of SSL is straight forward, but I cannot get http to
automatically redirect to https.  

 



  

 





  



 

  

  

  

 

I can browse https://locahost/ fine, but ideally I would like
http://localhost:8080/ to redirect to the 433 connector.  This is just a
test, because we use the ajp connector from IIS, and really need the
redirect to work, as you cannot connect through the 433 through the ajp
connector.

 

Any ideas, I've read through all the documentation and cannot understand
why the redirect doesnot work.

 

 

Thanks in advance

 

 

Cheers

 

Steve


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__