Hi Actually I have 512MB RAM plus 756MB page size(virtual memory). 1.So i can use -Xmx 512m right? 2.what is this -XX:NewRatio?does this help?
Thanks., MALAI ----- Original Message ----- From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, March 24, 2004 2:52 PM Subject: RE: Server.xml - Connector configuration problem Hi, >2.In Jmeter right now i'm able to handle 75 concurrent users.How do i >increase the users? By increasing the memory allocated to your JVM (-Xmx) along with your hardware to match. By increasing and maxThreads number as well. >3.I have the JVM options, -Xms 256 -Xmx 512 and My RAM is 512K is this ok? "Is this OK?" is an imprecise question. The answer is that it's OK if you can handle the expected concurrent user load while maintaining acceptable response time. Also please try to be accurate when you specify these numbers: you have 512MB, not 512K of RAM available. You're using -Xms256m and -Xmx512m as java vm options. Note that the latter is someone misleading: you're telling the JVM it can use 512MB of RAM for the heap, but that's false. Between the OS, other processes, and the JVM overhead you're likely to have far less than 512MB available for the heap, so -Xmx512m is impossible and should not be specified. >4.How do i increase my concurrentusers capability? See above. >5.does minThread and maxThread parameters involved in this? Yes, they're involved. Read their documentation. >6.How do i know my platforms Integer.MIN_VALUE and Integer.MAX_VALUE ? Write a little java program that does System.out.println(Integer.MAX_VALUE) etc. As I said before, while these are the technical limits because maxThreads and acceptCount are stored as a java int, these are not the relevant limits: those are imposed by your hardware and OS. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
