On 07/07/2008, at 4:11 PM, Piller Sébastien wrote:
Yes, we're running Linux. I'm not sure what's my distrib. I'm using
our dedicated hosting, administrated via ssh. When I need to start
tomcat, I just use the startup.sh script (the one in /bin/). Same to
shutdown: use shutdown.sh.
It's po
On 25/06/2008, at 17:43, "Steve Ochani" <[EMAIL PROTECTED]> wrote:
I know this may sound naïve but is it possible to have tomcat and
apache running off the same port - 8080.
No, TCP only allows one port per service.
You can let apache httpd use 8080, move tomcat to something else and
On 04/06/2008, at 4:15 PM, karthikn wrote:
We notice Constantly JAVA is 100% CPU utilization.
I am coming in late on this - what OS are u running?
How are you seeing the 100% CPU utilization, with top?
If you have a multiprocessor machine, you may find that top always
shows 100% when th
On 28/04/2008, at 4:59 PM, Alan Chaney wrote:
David Smith wrote:
No, I have at most 20 idle connections, that's goes right, but my
boss want
less idle connections to avoid to overload the database server. So
there
isn't way to close an idle connection to remove the relative
process?
If
Dear List,
has anyone else tried to compile apr and the native tomcat libraries
on etch?
debian40-64:/usr/local/src/tomcat-native-1.1.12-src/jni/native# ./
configure --with-apr=/usr/local/apr --with-java-home=/usr/local/java
I get loads of messages including
./configure: line 5472: JAVA_H
On 03/04/2008, at 7:14 PM, Christopher Schultz wrote:
Alan Chaney wrote:
| Actually another question is what is it in your application that
NEEDS
| 2500 threads?
Ooh! I know... it's a ray-tracer that goes ral fast if you give
each
output pixel its own thread. More threads = faster, ri
From: Stephen Caine [mailto:[EMAIL PROTECTED]
I have a process that generates hundreds of threads. Running on Mac
OS X 10.5.2 Server, the thread count tops out at approximately 2500.
After which, the process is terminated. The heap size is set to 1
gigabyte. My question is how to increase the c
On 02/04/2008, at 6:02 PM, Andrew Miehs wrote:
On 02/04/2008, at 5:51 PM, Caldarale, Charles R wrote:
It appears that the chart at the bottom of the above page answers
your
question, unless I'm misreading it. Since there is no NIO
connector in
5.5, it looks like you'll need a
On 02/04/2008, at 5:51 PM, Caldarale, Charles R wrote:
From: Andrew Miehs [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.5 and keep-alive and http connector
The only thing I could find related to this was from the
Tomcat 6.0 documentation on
http://people.apache.org/~fhanik/http.html
It appears
Dear List,
How does enabling keep-alives effect the number of threads required by
tomcat?
Assuming:
maxKeepAliveRequest = -1
1000 online users - each with 2 connections
Does this mean that I will have 2000 threads open - one per connection?
ie: Is the the connection assigned a thread u
On 28/03/2008, at 10:40 PM, Srivastava, Abhay wrote:
Hi Andrew,
I dn't have experience with either of them. SO which one do you
suggest should be a good selection to start with ?
I prefer postfix - simple and fast and its what I know.
My users don't be reading the mails right now. But, y
On 28/03/2008, at 8:47 PM, Srivastava, Abhay wrote:
Thanks a lot Guys.
So is "Exim" better than "Sendmail" in terms of robustness and faster
service?
It very much depends on what you want to do.
I am a big postfix fan - exim is supposedly also great.
qmail is also very good.
But these are o
On 25/03/2008, at 6:47 AM, karthikn wrote:
Users 500+ ( Traffic increasing day by day )
You mentioned these were WLAN users - This number is irrelevant for
your performance
info - what was much more important was the 25/ 30 logins per second.
O/s Unix 11
JSDK =1.6
TOMCAT 5.5.23 (multip
On 24/03/2008, at 3:14 PM, karthikn wrote:
>>How many users are we talking about here?!
About 500+ users and increasing every month
Total users online - ok - not a probelm
>>How many authentications are you doing a second?!
Since this is a WIFI / AAA application for Students locally on
On 24/03/2008, at 3:09 PM, karthikn wrote:
Hi
Thx for the reply
We need to Configure TOMCAT 's ROOT to APCHE2.x for Load balancing.
mod_proxy_ajp
Problem
Load on this single TOMCAT is building up the CPU for 100% ,as the
subscribers are increasing.
Read other mail from me.
Solution
We
On Mon, 2008-03-24 at 19:00 +0530, karthikn wrote:
Problem
Load on this single TOMCAT is building up the CPU for 100% ,as the
subscribers are increasing.
How many users are we talking about here?!
That is a a LOT of users for the 5 or 6 requests before they are
authenticated?
How many au
On 26/02/2008, at 2:26 PM, Steve Burt wrote:
pix firewall -> cisco loadbalance -> apache webservers -> application
-> Oracle DB
Problem that I am expericing is every time I try into introduce the
appserver into the loadbalancer config, the keep alive request seems
to be agrivating tomcat and c
On 02/01/2008, at 3:43 PM, Gregor Schneider wrote:
The official Apache-solution is imho
- get the sources at
http://ftp.hosting-studio.de/pub/linux/apache/tomcat/tomcat-6/v6.0.14/src/apache-tomcat-6.0.14-src.zip
- compile it on your 64bit-platform using a 64bit-JDK using the
provided Ant-build-
On 22/12/2007, at 3:45 PM, Pid wrote:
Richard Reyes wrote:
Hi All,
Please send suggestions on how to improve the tomcat performance.
Do you mean that you want to improve Tomcat's performance, or the web
application(s) you are deploying on Tomcat?
I think he wants us to do his homework
On 06/12/2007, at 10:34 PM, Sean Carnes wrote:
The highest that we could set the heap was to 1200. I tried higher
and it
would not start. It also seemed somewhat unstable above 1024 which
was the
previous setting, slowness updating the client and other things. The
company that develops the
Do you also have performance data for the front end machines?
What OS are you running?
Would definitely recommending installing sar (or sysstat package) if
you are running linux.
If Linux, which kernel?
If it really is heap, have a look at:
http://hausheer.osola.com/docs/5 for a simple desc
On 06/12/2007, at 5:12 PM, Peter Crowther wrote:
From: Sean Carnes [mailto:[EMAIL PROTECTED]
The back-end
servers seem to be responding in a timely fashion right now. We have
performance data from the time period and nothing seems
abnormal.
I unfortunately missed the first part of this threa
On 16/11/2007, at 4:09 PM, Martin Gainty wrote:
2 options-Tried and true Ant which is rock solid reliable, easily
configurable and a user-friendly user-list where a resource will
respond in 24 hoursmore information available athttp://ant.apache.org/Maven..complex
environment with heavy rel
Dear Tomcat users,
I was wondering if there are any out of the box release management and
deployment solutions available for Tomcat.
It is not a problem to create scripts/ web pages to do all of this,
but is there a better solution out there, so that people with command
line allergy can a
On 15/11/2007, at 4:31 PM, Palat, Anil wrote:
-Tomcat 5.0.16
-Red Hat Enterprise Linux AS release 3 (Taroon Update 4) 2.4.21
32.0.1.ELsmp (32-bit)
When I give ps -ef | grep tomcat, it shows multiple processes
running &
all of them grabbing majority of the available memory
You are running o
On 13/11/2007, at 6:47 AM, nirmala wrote:
hi
I have one question I want to installation procedure for the apache
tomcat5.5 version in windows XP
Cick, then click, then click, then click.
Andrew
smime.p7s
Description: S/MIME cryptographic signature
On 08/11/2007, at 6:29 PM, Bob Riaz wrote:
Thanks. StringBuilder seems to be the most popular suggestion! I'm
going to implement this and report on any changes I see in Tomcat's
behavior.
I'm also looking at other possiblities, such as Tomcat's I/O
activities causing thrashing if I/O is exc
On 08/11/2007, at 4:51 PM, Jim Cox wrote:
On Nov 8, 2007 10:41 AM, <[EMAIL PROTECTED]> wrote:
In resolving our current bottleneck i used JProfiler to see what the
tomcat applications were doing and when under high load there are a
lot of
threads which are blocked on this:
org.apache.tomcat
Hi Bob,
Kill -3
Will produce a stack trace in catalina.out
This problem is VERY most probably your code, and not tomcat, but a
stacktrace should show this.
ps auxwh
will also give you an indication, its probably just 1 thread pushing
you to such a high load.
As for "walking" through the cod
Are you using Log4j in your application?
It has the option to do daily (midnight) rotates on log files...
Oh - and you may want to have a serious talk with the cleaning lady,
not that she unplugs the server for the vacuum cleaner.. ^^
Cheers
Andrew
On 26/09/2007, at 6:11 PM, Christopher Schul
On 25/09/2007, at 3:05 PM, Dave wrote:
I am in the process of setting up a cluster of a number of JBoss.
Should I use Apache or hardware load balancer in the front? Please
advise. I am concerned about about Security and Performance.
How much money do you want to spend?
I personally prefe
On 01/08/2007, at 6:50 PM, Mark H. Wood wrote:
Would you (or anyone) care to provide a link to where I can learn more
about swatch? Everything I've turned up so far points to a wanna-be
replacement for UTC called "internet time" promoted by a watchmaker.
http://swatch.sourceforge.net/
http:/
On 01/08/2007, at 3:44 PM, Christopher Schultz wrote:
I'm guessing he's running a webapp, and that one of the request worker
threads got an OOME. Most webapp requests are idempotent (or should
be),
and those that aren't are generally wrapped around database or other
transactions. Assuming I'
On 31/07/2007, at 7:39 PM, Marco wrote:
Dear Craig,
You are familiar with, even with enough systemmemory, JVM uses limited
memory?
I your application consumes much memory, you could change settings
in the
tomcat6.conf file:
#JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"
JAVA_OPTS="-Xmx1024M -Xms512M"
On 31/07/2007, at 7:19 PM, Caldarale, Charles R wrote:
From: Craig Berry [mailto:[EMAIL PROTECTED]
Subject: RE: Recovery from OutOfMemoryError?
It depends on what the user chooses to do during
the session.
Again, try another point of view. It's what the webapps choose to
do in
response to
On 31/07/2007, at 6:52 PM, Craig Berry wrote:
Fixing the bug would be cool, but the "bug" is actually just too many
users contending for the same heap space, so that's going to be tough.
I'd thought of the log watcher, but that seems a rather blunt
instrument; I was thinking there might be some
On 31/07/2007, at 2:04 PM, Mohan2005 wrote:
so now we have to identify if our application is 64bit compatible
or 32bit
compatible.
If your application is only JAVA, then no porting is required.
Andrew
-
To start a new t
Hi Peter,
On 30/07/2007, at 11:55 AM, Peter Stavrinides wrote:
In theory yes you are right, but remember that a 64bit Integer can
also be calculated by a 32bit processor, but only in two CPU
cycles, this is where the theoretical advantage of the 64 bit
architecture lies.
Yes agreed. The
On 30/07/2007, at 8:02 AM, Peter Stavrinides wrote:
Apologies Ron this was supposed to be directed at Andrew Miehs!
Peter Stavrinides wrote:
From your comments Ron you obviously didn't understand a thing I
wrote, because you have just repeated me!
Dear Peter,
Obviously! :-)
On
On 29/07/2007, at 9:08 PM, David Smith wrote:
"...but people advice that 64bit are 20 - 30% slower than the
32bit ..."
Could these people offer any evidence to this? Cite any
benchmarks? I would like to see the evidence of this before
believing it to be true.
We did test with out a
On 29/07/2007, at 2:34 PM, Peter Stavrinides wrote:
32 bits processors can represent numbers up to 4,294,967,295 while
a 64-bit machine can represent numbers up to
18,446,744,073,709,551,615. For modern hardware to take advantage
of the processing power of the 64 bit architecture a system
On 27/07/2007, at 11:30 PM, Joe Nathan wrote:
It's for the very simple reason: 64bit machines have 64bit address!
What is address! It's pointers if you are familiar with C, Pointers
are 64bit integers. Pointer arithmetics will deal with 64bit addressed
data. Arithmetic operations on 64bit takes
On 27/07/2007, at 12:19 PM, Joe Nathan wrote:
Christopher Schultz-2 wrote:
Joe Nathan wrote:
I would discourage to use such machine! 8GB means you are using
64 bit
machine which will be much slower than 32 bit machines.
Huh? Why would a 64-bit machine run slower than a 32-bit machine?
O
On 26/07/2007, at 10:57 AM, Joe Nathan wrote:
I would discourage to use such machine! 8GB means you are using 64 bit
machine which will be much slower than 32 bit machines. Big memory
is useful
ONLY if you have applications that can benefit big memory such as
database
systems. In Java, if yo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 20/06/2007, at 12:53 PM, Johnny Kewl wrote:
Why? No, do it some other way, I think this will get horribly complex.
On windows I think near impossible, short of placing a symmetrical
alg in the source.
What about normal protection, in essence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 19/06/2007, at 4:45 PM, Prashant Thakkar wrote:
Hi,
Thanks,
But this is the clients application which we are running. We dont
have the
access to the servlet code. That was the the obvious reason we had
increased
the thread limit to 250.
I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 19/06/2007, at 3:25 PM, Prashant Thakkar wrote:
I am frequently getting this error in tomcat which stops my tomcat
service.
Pl help me its urgent and costing my service as well:
I am getting bellow error in my catalina logs:
Jun 19, 2007 5:55:4
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Linux with a 2.6 kernel should perform better.
I would be a little worried placing a Windows Server at a service
provider without some sort of firewall/ packet filter protecting from
the big bad Internet.
But as you are asking this question, yo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 15/06/2007, at 4:36 PM, Peter Crowther wrote:
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
On 6/15/07, Jacob Bunk Nielsen <[EMAIL PROTECTED]> wrote:
I experience random crashes of the JVM on a daily basis. It simply
fails with segmentation
On 23/05/2007, at 11:08 AM, Kurt Spescha wrote:
I apologize for this question, maybe the wrong place to put it to.
But someone who is using Tomcat soon or later will be confronted
with the performance problem with java and multi/dual core
machines. Multi/dual core is trendy, customers want t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ruby on Rails is a framework. If you do things the way Rails expects
you to
do things, its quite nice for doing frontends to databases.
Just don't expect a performance wonder.
No, you don't need to switch, but its definitely another tool worth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear Filip,
Thanks for the info!
This was what I was planning on doing with Tomcat 5.5.
I have now gone back to use mod_proxy_ajp.
(I can not migrate to Tomcat 6.0 for political reasons)...
Regards
Andrew
On 29/03/2007, at 9:54 PM, Filip Hanik
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear List,
After reading all the comments regarding mod_proxy_ajp, I am
currently looking at
migrating to mod_proxy_http.
The application uses "isSecure" to check whether the request is an
HTTPS connection
or not.
Therefore, I have created 2
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 20/03/2007, at 5:28 PM, Hoa Doan wrote:
How do I set up a custom error page in Tomcat 6?
Hoa,
Stupid question...
Have you tried entering "Custom error page on Tomcat" into Google?
Grrr
Andrew
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Why not just use source IP address based persistence?
The CSS11501 is not very fast, and it will have a lot of work
ripping apart the layer 7 parts of the http requests.
If you do not have a lot of traffic, source based
persistence should be adequat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 14/03/2007, at 3:52 PM, Caldarale, Charles R wrote:
The user space is the amount of RAM you as a process can
allocate for this single process.
No - RAM has nothing to do with the split. Process memory is the
amount
of virtual space allocated
On 14/03/2007, at 3:21 PM, Peter Crowther wrote:
Let's be clear about the distinction between "OS" and "process managed
by OS":
- The OS as a whole can manage > 4 Gbytes of physical memory using
PAE;
- On some OSs (Linux, perhaps?), a user process cannot be allocated
> 4
Gbytes of RAM;
S
On 14/03/2007, at 3:17 PM, Peter Crowther wrote:
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
There is no real advantage in multi-instancing.
A minor advantage is that if you allocate one webapp per container, if
one webapp fails it only takes down its own container. Well-coded
webapps "sh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 14/03/2007, at 3:11 PM, David Delbecq wrote:
This has changed. An new architecture was brought in CPU (at
pentium II
time?) that allowed OS to do a 4G/4G mapping in 32 bits mode. Since
you
don't access kernel space from user mode directly, yo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 14/03/2007, at 2:31 PM, Christopher Schultz wrote:
The reading I've done so far on this subject leads me to believe that
most people don't know what they heck they're talking about. Some
claim
that 32-bit OSs can't use more than 4GB RAM (they
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Roman,
To be honest I don't really understand your concerns with 2.6,
but if you really want to be running anything that uses threads,
use a 2.6 kernel.
If the Java Tomcat App that you are running is just a frontend
to something else, and not rea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 13/03/2007, at 11:22 AM, Roman Medina-Heigl Hernandez wrote:
Hello,
Server version: Apache Tomcat/5.5.17
Server number: 5.5.17.0
OS Version: 2.4.34-grsec-rslabs-k7
JVM Version:1.4.2_10-b03
PS: A 2nd issue (not related to chroot) tha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/03/2007, at 1:28 AM, Christopher Schultz wrote:
Either a real load balancer (like a BigIP) or some form of Linux HA
are the only real ways of dealing with this.
I totally agree. A single BigIP is a single point of failure, though.
R-R DNS
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 07/03/2007, at 7:47 PM, Leon Rosenberg wrote:
On 3/7/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
Perhaps round-robin DNS? That's how I would do it, unless I wanted to
buy a real load balancer like a BigIP.
Ok, round-robin dns will work
e the
only real ways of dealing with this.
Cheers
Andrew
On 07/03/2007, at 6:26 PM, Christopher Schultz wrote:
Andrew Miehs wrote:
Balancing the 2 Tomcats behind one Apache (with sticky sessions)
works.
Now you add a second Apache HTTPD. How do you choose which one of
these
gets used? You now
tween the two web servers?"
Cheers
Andrew
On 07/03/2007, at 4:24 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
Andrew Miehs wrote:
This will work if you are only using 1 Apache HTTPD server
Really? It looks like it would work to me. Sure, th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 07/03/2007, at 12:58 PM, Sriram Narayanan wrote:
On 3/7/07, Andrew Miehs <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This will work if you are only using 1 Apache HTTPD server
Are you referring to the fol
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This will work if you are only using 1 Apache HTTPD server
Regards
Andrew
On 07/03/2007, at 11:27 AM, Sriram Narayanan wrote:
I'd posted sometime ago seeking help for a particular requirement.
Rainer Jung replied to my post. The thread is here
h
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi JR,
Based on your description of the problem, as you have looked at
everything else, MaxThreads is the only option you have left us with.
Further below however you let slip that mod_jk is also involved.
Why? This is a really great way to kill per
ive
memory allocation or cpu on the box.
Thanks,
J
On 2/15/07, Andrew Miehs <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear J'
What do you mean you are hitting connection limits?! Are you getting
errors? What are you seeing that makes you think that is slow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear J'
What do you mean you are hitting connection limits?! Are you getting
errors? What are you seeing that makes you think that is slow?
Is there a database involved in this application?
I assume you are running linux on your server, with a 2.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
curl http://localhost:8080/manager/reload?path=/examples ?
Andrew
On 17/01/2007, at 11:01 PM, Boemio, Neil (FGIC) wrote:
I know I can reload a webapp using:
http://localhost:8080/manager/reload?path=/examples
But is there a way to do this from a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/01/2007, at 11:50 AM, Mikolaj Rydzewski wrote:
Leon Rosenberg wrote:
Sure, I could write my own filters and pass the static content
through
them first, but that'd slow down the whole app (tested).
Could you explain this a little more? Ho
On 09/01/2007, at 5:20 PM, Christopher Schultz wrote:
Leon Rosenberg wrote:
Also by using apache in front of tomcat you rather loose[sic]
security than gain it. At least this is my personal opinion :-)
Would you care to defend that argument? Security in layers is
typically
an advantage.
O
| | i remember when websites like friendster.com came out, it was
really
| slow.
| | now it is much faster, do you guys know where does a student learn
| | about how to handle high traffic web applications? is there any
| | classes?
http://www.kegel.com/c10k.html
is a good place to start
Hi Andreas,
Why not just pack an Apache Httpd out front, and use access rules?
Regards,
Andrew
On 23/12/2006, at 1:22 PM, Andreas Schildbach wrote:
Hi everyone,
Is it possible with Tomcat to "hide" an application behind a Basic
Authentication (or something similar), without modifying the we
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This however is a Gentoo packaging problem and not a user problem.
If you want to get tomcat working as quickly as possible - download
it directly from
apache.org and IGNORE the gentoo packages.
If you want it to work properly as a gentoo package
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Do yourself a favour and do NOT use Tomcat and Java from your linux
distribution.
Download Tomcat from Apache.org
Download Java from
http://java.sun.com/javase/downloads/index.jsp
Either the JDK, or JRE
Install them both in /usr/local
ln -s /us
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is this a troll?
You will need some copy of Java to use Tomcat - either the JVM from
Sun, IBM or Blackdown (which I think is based on Sun's)
As for ?! commercial = crap ?! Glad to see you are using a free non-
commercial machine to write these m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear List,
JSP is designed to be used for Websites. Depending what you do with
it, changes where it can be used for a Large Web Site.
As for the questions.
1a. Who cares if JSP is not supported by web hosting companies -
Large web sites have t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Which kernel are you running? If you are running 2.4 I could imagine
that it could be an out of process/ thread limit.
Java used to report - out of memory - even for out of processes/
threads problems
I think 2.4 had a default limit of 256 Proces
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You will want to do yourself a favour and download JDK 1.5 from sun
(do not use the Debian Java Stuff)...
Install it (unpack it and copy it to) in /usr/local/java
then in your .profile
JAVA_HOME=/usr/local/java
export JAVA_HOME
PATH=$JAVA_
Why not, as i asked before, just start two tomcats? - not pretty but
it works...
ie:
Tomcat1 (webapp1) - Port 8080
Tomcat2 (webapp2) - Port 8081
- Then setup tomcat1 with 70 threads, and tomcat2 with 30 threads
Cheers
Andrew
On 04/11/2006, at 9:56 PM, David Smith wrote:
Quoting the o
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
As a quick hack
If you only want to partition between 2 webapps you could always use
the nasty method of using 2 tomcats. The other alternative would be
to configure a second HTTP connector, and then use one for the one
webapp, and the othe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I hope that this is not really the reason why you want two paths to
the application?
Tomcat has user authentication built in!? Why not use it?! Otherwise,
some smart user is
going to have the idea of connecting directly to your tomcat instance.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Doesn't this only work if your application replaces the 'ROOT'
application?
Andrew
On 02/11/2006, at 9:56 AM, Stephan Schöffel wrote:
if you map them to one app in your web.xml you can have different
paths link to one app.
like:
MyS
Nope - the 32Bit JVM can only deal with about 1.5GB Ram
Andrew
On 13/10/2006, at 2:51 PM, Alan Flisch wrote:
I thought you were safe up to 4000m (in practice a little lower)
for the
32 bit VM.
Regards,
Alan
-
To start
You may want to try turning off keepalives in your tomcat. (I assume
you are only using tomcat, and not proxying through mod_jk and
apache/ IIS).
In your connector settings have a look at 'maxKeepAliveRequests="1"'
If you really have that many threads, you will probably be best of
using Li
Hi Nicolas,
Tomcat works best with large hardware. I have found that using a Sun
Enterprise 15K with 1 processor per online user gives me the best
performance.
Regards
Andrew
PS: Maybe you should give us slightly more detailed information about
your requirements if you want someone to b
Hi Rodrigo,
How long is a piece of string?
The 'Brand' of linux only really makes a difference for
administration purposes. Performance will be about the same on all,
depending mainly on which version of the kernel you are running.
Should you decide to go Linux, I would look at something w
I discovered no difference in performance between running 1 tomcat, or 4
tomcats on the one machine - same performance.
The machine was a 4x Opteron 870 with 8GB RAM, running Java 1.5.6 32bit.
Andrew
Boris Unckel wrote:
Hello,
>> can I move to 2048mb without any problem ?
Leon Rosenberg wro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Which kernel are you using? 2.6 or 2.4?
Andrew
On 05/09/2006, at 3:34 PM, José Manuel Molina Pascual wrote:
Hello, I just installed Tomcat APR on a SUSE 9 and found that the
performance has fallen dramatically (I fact, performance with APR it's
ha
From http://tomcat.apache.org/tomcat-5.5-doc/apr.html
When APR is enabled, the HTTP connector will use sendfile for hadling
large static files (all such files will be sent ansychronously using
high performance kernel level calls), and will use a socket poller for
keepalive, increasing scalabil
Why do you need c?
Works with perl and shell scripts...
You could even use java if you wanted
Andrew
On 30/08/2006, at 10:36 AM, Bruno M Luque wrote:
I would use Nagios, its worth the effort of dealing with C, you
dont have
that meny choices!,
cheers
---
ebapps, are the same,
so I would look at only having 1 web app, and dealing with the
'virtual hosting' inside my webapp.
Andrew
On 26/08/2006, at 12:47 PM, Mladen Turk wrote:
Andrew Miehs wrote:
Are we referring to 10,000 Virtual servers or 10,000 Connections?
And the answ
Stupid question,
Why don't you implement the 'virtual' hosts inside the one 'webapp'?
And not create 10,000 web apps?
That the App itself deals with the virtual hosts (by reading the host
header), and not tomcat?
Andrew
On 26/08/2006, at 12:30 PM, KEGan wrote:
I tried to use only Tomcat s
Dear Mladen,
Are we referring to 10,000 Virtual servers or 10,000 Connections?
And the answer is yes to 1 connections.
Yes I would use worker-mpm or better still an epoll based httpd
daemon, like lighttpd or zeus.
Regards
Andrew
On 26/08/2006, at 12:18 PM, Mladen Turk wrote:
Andrew
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If you are only delivering static content, then use Apache or Lighttpd
http://www.lighttpd.net/
This is NOT what tomcat is designed for
As for how much memory, no idea - but it cant be good
Andrew
On 26/08/2006, at 12:00 PM, KEGan wrote:
T
Ok - Theoretically it may work...
Who do you know that has a machine with Terabytes of memory? And is
using it for web hosting?!
The JVM will spend all its time doing context switching and garbage
collection...
Andrew
On 26/08/2006, at 11:49 AM, Mladen Turk wrote:
Andrew Miehs wrote
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
What is this supposed to become?
Do you want 10,000 domains on the tomcat? or do you want 10,000 webapps?
The JVM will die if you do this with 10,000 webapps
Andrew
On 26/08/2006, at 11:36 AM, Mladen Turk wrote:
KEGan wrote:
Hi,
I am wondering
1 - 100 of 135 matches
Mail list logo