Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat and I/O Operations

 
raj kothari
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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
Posts: 9299
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic