Java Mailing List Archive

http://www.junlu.com/

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

RE: how many sessions can serve (ulimit)

Ronald Klop

2004-04-26



It's a bash internal command to set various limits. Other shells have other mechanisms for this.
(Sorry, I didn't mention that. I only used bash in my life.)

Ronald.

On Mon Apr 26 17:11:51 CEST 2004 Futchi <msafadi@(protected):



What is ulimit ?

I am getting this message

'ulimit' is not recognized as an internal or external command,
operable program or batch file.

Where to put this command and how


Thanx for your help


-----Original Message-----
From: Ronald Klop [mailto:ronald-mailinglist@(protected)]
Sent: Monday, April 26, 2004 15:05
To: Tomcat Users List
Subject: Re: how many sessions can serve


If you have many concurrent requests setting this can also help on
Linux.
It defaults to 256 (on my machines).

# Max aantal processes and/or threads.
ulimit -Su 2048

Greetings,

Ronald.


On Mon Apr 26 10:24:47 CEST 2004 peter maas <peter@(protected):



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.