On 06.03.2009 01:44, Mohit Anchlia wrote:
Thanks ..But how do I tie the status worker to the list of nodes that
I have. For eg in below config how do I say that appfe1 is now
"stopped" and still keep servicing appfe2,3 and 4
worker.status.type=status
worker.tc.type=lb
worker.tc.balance_workers=
May be some servlet is start up with tomcat.
like
load-on-startup
check your server.xml and webapps directory
- Original Message -
From: "Black Friday"
To:
Sent: Friday, March 06, 2009 11:40 AM
Subject: Tomcat Memory Leaks
> Hi,
>
> My system environment is: Windows 2000 Server
Hi,
My system environment is: Windows 2000 Server. JDK 1.5, tomcat 4.X, Oracle 9
The problem is:
After tomcat was started, the memory of the tomcat grows continuosly,
reaches till 1.3G. The system is 2GB.
This happens when no application is running. After tomcat reaches 1.3G, when
application st
hi Peter,
I ran your jmeter test and I get an average request time for Comet to be
13.5 seconds.
I'm running this on what will be 6.0.19, meaning 6.0.x/trunk
With a 10second timeout, you wont get timed out in exactly 10 seconds.
timeout are of absolutely lowest priority.
If there is request data
Hi All,
That's caused by the IE keep-alive bug, Please refer to my previous post :
question : encounter java.net.SocketTimeoutException: Read timed out
occasionally
in below URL :
http://www.nabble.com/question-%3A-encounter-java.net.SocketTimeoutException%3A-Read-timed-out-occasionally-td1932660
Thanks ..But how do I tie the status worker to the list of nodes that
I have. For eg in below config how do I say that appfe1 is now
"stopped" and still keep servicing appfe2,3 and 4
worker.status.type=status
worker.tc.type=lb
worker.tc.balance_workers=appfe1,appfe2,appfe3,appfe4
worker.tc.sticky
You might want to have them not hit / but hit a small static file that
apache will always have, maybe even keep it in cache. No sense in them
monitoring / which you've shown goes through to your tomcat. Seems a
little wasteful. Unless of course, you want their monitoring to hit
tomcat.
-Tony
-
I just took a subset of the list, the other few hundred processes were
also stuck in the same state. From the tomcat logs it looks like the
response has been sent back. I have seen cases where a firewall
doesn't recognize a connection has been closed.
On 5-Mar-09, at 7:05 PM, Rainer Jung
On 05.03.2009 23:57, Mohit Anchlia wrote:
So I tested again and it looks like Jboss accepts new connection when
it already undeployed the service. Do you have any advice of how I can
handle this scenario. I need to cleanly take that node out of service
from mod_jk with no customer impact. Is ther
On 06.03.2009 00:44, Ian Long wrote:
Here is some sample output from the system-status:
Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request
0-0 2096 0/50/50 _ 0.01 23 2 0.0 0.09 0.09 X web1.opterus.com GET
/lbcheck.faces HTTP/1.0
1-0 2097 0/12/12 W 0.01 513 0 0.0 0.05 0.05 X web1.opter
Here is some sample output from the system-status:
Srv PID Acc M CPU SS Req ConnChild Slot
Client VHost Request
0-0 2096 0/50/50 _ 0.01 23 2 0.0 0.09 0.09 X web1.opterus.com GET /
lbcheck.faces HTTP/1.0
1-0 2097 0/12/12 W 0.01 513 0 0.0 0.05 0.05 X
So I tested again and it looks like Jboss accepts new connection when
it already undeployed the service. Do you have any advice of how I can
handle this scenario. I need to cleanly take that node out of service
from mod_jk with no customer impact. Is there anyway in apache to do
that so that it det
BTW, I finally got this working. The final key was using the latest version
of tcnative binary. Note to others, make sure your code sets the
cache-control header to "no-transform, max-age=0".
buzzterrier wrote:
>
> Actually this may not be just a case of the end user clicking away. There
> is
On 05.03.2009 20:08, Mahesh Seshan wrote:
Rainer,
Thank you very much for the prompt response.
To be more specific, Apache CXF is the consumer of HTTP request. Are
you indicating that Apache CXF is the one reading from Socket input
stream ? And that Tomcat HTTP Connector simply hands over the
I
On 05.03.2009 21:04, Ian Long wrote:
I haven't actually - I will turn it on and restart the server tonight.
Another thing that I find strange is the apache (using prefork MPM)
seems to keep increasing the number of child processes. For example,
when I run:
service httpd status
httpd (pid 31093
Actually this may not be just a case of the end user clicking away. There is
an Internet Explorer issue with downloading files, where IE deletes the
cached file before the user can load it. Your tomcat logs would probably
show an error like: ClientAbortException: java.io.IOException. I am
suffer
I haven't actually - I will turn it on and restart the server tonight.
Another thing that I find strange is the apache (using prefork MPM)
seems to keep increasing the number of child processes. For example,
when I run:
service httpd status
httpd (pid 31093 31055 31048 31047 31046 31045 31
Hi Martin.
Thank you for your answer.
If I have understood correctly, I use Http11Protocol Connector, as it is
default connector for attribute protocol and it isn't set in my
server.xml (I wrote full listing of this file it in my first letter).
And this is clear from the line of the log of catali
Rainer,
Thank you very much for the prompt response.
To be more specific, Apache CXF is the consumer of HTTP request. Are
you indicating that Apache CXF is the one reading from Socket input
stream ? And that Tomcat HTTP Connector simply hands over the
Inputstream to CXF to consume the chunked con
Ok thanks. Based on monitoring, I don't think it's the server taking
a long time to respond, it's probably the users doing as you suggested
- I just wanted to make sure the log file entries weren't serious. I
want to make sure the rising established connection count isn't
something to wor
Ian Long wrote:
[...]
Hi Ian. I don't know about the load balancing part, but the following
errors :
I'm also seeing a few errors like the following in mod_jk.log:
[Thu Mar 05 10:34:08.878 2009] [25849:3086382864] [info]
ajp_process_callback::jk_ajp_common.c (1603): Writing to client aborte
Have you counted the actual # of requests for both apaches via something
like server-status, or looked in mod_jk.log, that they are both
receiving an equal # of successful requests?
The "Writing to client aborted or client network problems" are nothing
to really worry about. They usually mean the b
Hi,
I have dedicated RHEL5 boxes (dedicate quad core, 4GB RAM) setup with
both apache httpd and tomcat running on the same box, with a hardware
load balancer selecting the node a user is routed to. I have mod_jk
setup, but am seeing some behaviour I'm not sure is correct. This is
on htt
I'm always a few days behind the thread, but wanted to share.
If I had only known that I can configure the Valve at the Context level
(from Chuck's prior email).
Regardless, I recently wrote a java filter to filter IP's at the application
level, which replicates the valve functionality.
http://j2
Agreed - installing tomcat from tomcat.apache.org fixed this issue.
ThanKs, Paul
From: Caldarale, Charles R [chuck.caldar...@unisys.com]
Sent: 04 March 2009 16:47
To: Tomcat Users List
Subject: RE: CAS on tomcat 6.0.18
> From: Paul Maxted [mailto:paul.max
On 05.03.2009 16:44, Alexander Diedler wrote:
Hello, The trainer on a Tomcat Training told us, that Apache 2.2
development project will be closed as it happens with mod_jk2. So the
Apache 2.0.x should be the main development path and I found the
Configuration in Apache 2.2 with many included file
Hello,
The trainer on a Tomcat Training told us, that Apache 2.2 development project
will be closed as it happens with mod_jk2. So the Apache 2.0.x should be the
main development path and I found the Configuration in Apache 2.2 with many
included files in the httpd.conf very difficult.
-U
On 05.03.2009 16:16, Mahesh Seshan wrote:
Hello,
I can obtain the content-length of a HTTP Servlet Request when the
Content-Length header is added by the client. However, when the
Transfer-encoding is chunked, how do I programatically obtain the
content length ?
You can't without consuming the
On 05.03.2009 16:10, Alexander Diedler wrote:
Hmm in Apache 2.0.xx and mod_jk same issue... That’s bad,.. it should be possible to use
"/" in URLS
I can only guess, since you didn't really answer mail mail, so I don't
know, whether I'm on the right track here.
When using Apache, you can
Hello,
I can obtain the content-length of a HTTP Servlet Request when the
Content-Length header is added by the client. However, when the
Transfer-encoding is chunked, how do I programatically obtain the
content length ?
The task at hand for me is to prevent a HTTP client from issuing a
request t
I have one Apache http server version 2.2.3 (on Red Hat Enterprise Linux 5)
and three Tomcat 6 servers (on Windows Server 2003) running in my cluster.
Everything "appears" to be working well. It looks like it is using RoundRobin
because every time I refresh the page it goes from web001 -> web00
Hello,
Hmm in Apache 2.0.xx and mod_jk same issue... That’s bad,.. it should be
possible to use "/" in URLS
Alex
-Ursprüngliche Nachricht-
Von: Rainer Jung [mailto:rainer.j...@kippdata.de]
Gesendet: Dienstag, 3. März 2009 14:38
An: Tomcat Users List
Betreff: Re: mod_jk and Named UR
... the time period that tomcat spends honouring current requests when the
server is shutdown?
We have a web app used for secure file transfers and occasionally we need to
take it down, however some requests for downloads can take more than an hour
as the system allows very large files to be uploa
Can the wget clone do this without modification, or do I need to change it?
So basically you're saying:
Send content larger then content-length. Then close the connection, see
if the post request gets processed?
The ajax requests may be done over a seperate connection, but all
subsequent req
I always hold this as a ground rule:
Increase heapsize as much as possible as long as:
latency goals are met (gc does note take too long)
enough memory is spared for system and vm. (enough to compensate for
spikes, watch your swap usage to determine this)
hope this helps a bit
Peter Crowther
l...@work wrote:
> hi,
> 1. i decide to take up tomcat 6.0 .but how do i make the credit
> card page secure.
That's a very broad question and not really a Tomcat support question.
You may find this site useful: http://www.owasp.org/
> i am coding in java and is it possible to code the t
36 matches
Mail list logo