This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat and I/O Operations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat and I/O Operations" Watch "Tomcat and I/O Operations" New topic
Author

Tomcat and I/O Operations

raj kothari
Greenhorn

Joined: Nov 21, 2005
Posts: 24
<Connector port="##PORT##" maxThreads="300" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="2##PORT##" acceptCount="0" debug="0" maxKeepAliveRequests="1" connectionTimeout="30000" disableUploadTimeout="true" compression="off" compressionMinSize="2048" compressableMimeType="text/html,text/xml" URIEncoding="UTF-8" maxHttpHeaderSize="6000"/>

I have above configuration in server.xml for Tomcat in my application.

I want to know how many concurrent I/O operations can Tomcat handle?

We have some XSL transformations happening in our application. Only during load testing, we see some XSL transformation throw exception. ( NullPointerException ). I want to know whether is there any relation between concurrent I/O and Tomcat.
Our Load Testing is for 1600 concurrent users.

We have many Tomcat's managed by load balancers.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8718
    
    6

I don't see anything in that configuration that has anything to do with IO.
Are you using the Apache Portable Runtime with Tomcat? I understand it can help with IO performance.
What is the root exception of the null pointer exception? If it is IO related (i.e. "Too many open files"), you are probably hitting the threshold for the number of open files for a process. This is an OS limitation and is usually pretty small (1024-2048 open files). Your system admin can change the threshold.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat and I/O Operations
 
Similar Threads
Best WebTest and Load tool
XML Design !!
Tomcat is stand alone
alternative for tomcat in production enviorment
Need suggestions for improving the performance of the Tomcat server in production environment