LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 02-01-2005, 06:20 PM   #1
naijaguy
Member
 
Registered: Aug 2004
Posts: 88

Rep: Reputation: 15
Java IOException: Too many open files


We're trying some load testing on our Java web app running on Tomcat. Right now, I have a simple test program that hits Tomcat with 500 separate users (threads) at once and starts using the site, doing things that interact with the database (Oracle), etc. We've adjusted our Oracle database sessions (connections) and listener sessions accordingly, so we don't get error messages from those when we pound the site/db really hard. However, now we're seeing something that I think is related to Linux.

Tue Feb 01 16:53:08 CST 2005 Error Running SQL: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

This popped up when running a query, but if you look closely, the SQLException is throwing an exception related to IO stuff, so it seems like the error could be happening on a lower level (Linux trying to use resources for connecting to the network or something like that?). I mean, could the load tester be pounding everything so fast that Linux's network IO stuff could get tied up?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Office does not open large files linuxfond Linux - Newbie 8 09-26-2004 04:46 AM
help installing java on open zaurus Brain Drop Linux - Laptop and Netbook 3 04-07-2004 04:03 AM
Can Open Office open WordPerfect files hemenm Linux - Software 2 03-10-2004 06:14 PM
Java "throws IOException" problem Nylex Programming 5 01-30-2004 09:49 PM
java with mozilla and open office phatish Linux - Newbie 4 09-01-2003 07:56 AM


All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration