I'm using a TomCat vavel appender for access log files creation.
I'm using %D parameter for log string to measure the time, but it is not
exactly clear for me is it a time which server spends for request process,
or this time includes time for socket closing?
--
View this message in context:
Hello, I have TomCat 6 server and I have 3 SSL sertificates for:
1. p.domain.com
2. p1.domain.com
3. p2.domain.com
I would like to use all 3 on 1 SSL connector (Don't create 3 SSL connectors)
I'm using keytool app and kestore SSL logic for TomCat SSL configuration.
I created 3 keystores and
Leon Rosenberg-3 wrote:
Hello,
you should switch on GC logs and check whether the delays happen at
the Full GC Time.
You should also start with Xms = Xmx - both 6144 (why exactly 6144? :-)
).
-verbose:gc
-XX:+PrintGCTimeStamps
-XX:+PrintGCDetails
Thank you for comment I will
Leon Rosenberg-3 wrote:
Hello,
I have a lot of high performance sites (2000 requests per second and
more) under my 'umbrella' but have never
encountered any performance problems because of the gc logging (yet).
btw add
-Xloggc: logfilename
to move gc logs into separate file.
Pid Ster wrote:
What about the exact versions of your OS, JVM and Tomcat?
Is your OS a 64bit one?
Correct, I use 64bit machine.
JVM:
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
OS:
[root@ ~]# uname -mrsn
Linux
Pid Ster wrote:
Any chance you can upgrade to the most recent Tomcat?
How much total physical RAM do you have?
Examine the heap jmap -heap pid, and post the results.
I have 8Gb RAM on the machine.
Jmap heap:
JVM version is 14.3-b01
using thread-local object allocation.
Pid Ster wrote:
Looks OK.
When you say the response takes 5s, how are you measuring this?
Is it sustained, or is it occasional?
Is the server heavily loaded at the time - and again how are you
measuring that?
What else could be happening? E.g. sending mail from app.
For
Rainer Jung-3 wrote:
You can add %D to the pattern for the omcat access log, which will
output the response time in milliseconds how Tomcat determined it.
Already done for most cases values are 0,1,2 ms
Max value which I ever find in the log ~ 20 ms
--
View this message in
anthonyvierra wrote:
Has the issue come from a single server? Or do you have a second
machine producing the same result?
I have another production box with different code, but same TomCat
configuration. And time to time I have the same issues.
TomCat server side code on another box
Hello.
I have TomCat server on production and have from 80 up to 400 requests per
second.
In server.xml I have next connector description:
Connector port=80
maxThreads=200
acceptCount=100
minSpareThreads=5
maxSpareThreads=75
Zacheusz Siedlecki-2 wrote:
This could be problem with memmory and GC. Please show your jvm
memmory settings.
Regards,
Zacheusz
Thank you for reply, I use next memory and GC settings:
-Xms1024m -Xmx6144m -XX:MaxPermSize=512m
-XX:+UseConcMarkSweepGC
11 matches
Mail list logo