WSAD - Websphere 5.0 Too many open files

I am converting an appliction from WebSphere 4 to WebSphere 5.  When I execute the application using Debug (I am in WSAD when doing this) it will work fine.  When I execute the same code but switch the server to execute normally with out debug I receive a "Too many open files" error.

Any ideas?
mzqhxyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rama_krishna580Commented:
Hi,

This is a problem of the operating system your cvs server is running on. the most unix systems have a maximum of 1024 open files per process

if you have a bash, simply enter

ulimit -a

on comand line and you will see the limit. the bad news is: this value is static in linux and you cannot change it very easy (perhaps it has changed with new kernels; i'm not really up-to-date).

but: the main problem is eclipse. it should not do this large number of queries to the cvs server. i hope this will be much better with the new VCM.

another option: change the OS :-). with bsd you can say

sysctl kern.maxfiles=2048

but its upto you...

R.K
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
http://www.beaverlog.com/therapist/dos_support/windows_nt_2000_xp.htm


check out if your OS is windows & change the suitable values in config file this is a very generic solution.

if your Os is linux flavour check.

http://www.caucho.com/support/resin-interest/0203/0212.html follow the links.

Thank You.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.