File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat and I/O Operations" Watch "Tomcat and I/O Operations" New topic

Tomcat and I/O Operations

raj kothari

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

Joined: Oct 29, 2001
Posts: 9189

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.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Tomcat and I/O Operations
It's not a secret anymore!