Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: how many sessions can serve

Mazin Safadi

2004-04-26


Thanx for your reply,
   I am on Win2003 server not Linux, how can I modify these
parameters on startup.bat or catalina.bat ?

Anybody knows the maximum session size, or when Tomcat sessions created
exceeds the limit?, how to tell the user he cannot be served now?





-----Original Message-----
From: peter maas [mailto:peter@(protected)]
Sent: Monday, April 26, 2004 10:25
To: Tomcat Users List
Subject: Re: how many sessions can serve

The java memory usage is configurable:

On linux modify the startup.sh script to include the following defines,
please be aware that most systems become unstable when reaching those
limits

# Java options, increase allocation limit to 1GB
export JAVA_OPTS="-Xmx1024m"

# Increase file open limit to 8192
ulimit -n 8192




Mazin Safadi wrote:

>Hi all,
>I am new to this list but not to Java, I just done setting up my
>server/Tomcat, and I wonder how many session can Tomcat serve at a
time,
>or at least how to calculate this, If I have 2 GB RAM, and Dual CPUs
>3.06. Does tomcat use the maximum memory available or it is a matter of
>configuration?
>
>
>
>


--
--------------------------------------
Peter Maas
Technical Project Manager / Streaming

Noterik Multimedia BV
Polderweg 102
Postbus 92122
1090 AC Amsterdam
Tel: +31 (0)20-592 99 66
Fax: +31 (0)20-468 84 05

Web: www.noterik.nl
--------------------------------------

Take a look at our streaming solutions:
http://www.streamedit.com/demo.html
Recent project: http://managenergy.noterik.com/flashintroduction.html
---------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.