Tuesday, October 20, 2009

Tips for solving "Too many open files" issue

When I tried to start Eclipse today, my Eclipse just popup an error which points to an log doesn't exists. I kept getting this error when I tried to restart it again.

So I executed it from command line console, and I got this error said:
java.util.zip.ZipException: error in openning zip file

So I removed some of jar files in features & plugins directory, and then the error change to:
and there's a line in frone of error said:
ZoneInfo: /usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/zi/ZoneInfoMappings (Too many open files)

I use the lsof to check the open file count of eclipse and found it's only 2107, so I use:
ulimit -n 4096 
to change the limitation to 4096, but it still doesn't work.

So I google a little and found someone said that actually eclipse will open files more than 10000, which are all in temporary directory. So I change the ulimit to 65535, and the probem solve.

To make the change permanently:
vi /etc/security/limits.conf

or 
echo 65535> /proc/sys/fs/file-max
echo 65535 > /proc/sys/fs/inode-max

use other number in your case.


16 comments:

Anonymous said...

It is rather interesting for me to read this article. Thank you for it. I like such themes and anything that is connected to them. I would like to read more soon.

Anonymous said...

Hello !.
You re, I guess , perhaps very interested to know how one can manage to receive high yields .
There is no need to invest much at first. You may begin to get income with as small sum of money as 20-100 dollars.

AimTrust is what you haven`t ever dreamt of such a chance to become rich
The firm incorporates an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

Its head office is in Panama with affiliates everywhere: In USA, Canada, Cyprus.
Do you want to become really rich in short time?
That`s your choice That`s what you desire!

I feel good, I started to get real money with the help of this company,
and I invite you to do the same. It`s all about how to select a proper partner utilizes your funds in a right way - that`s it!.
I make 2G daily, and my first investment was 500 dollars only!
It`s easy to join , just click this link http://dumumuro.dreamstation.com/tekywid.html
and lucky you`re! Let`s take this option together to feel the smell of real money

Anonymous said...

Hello !.
You may , probably very interested to know how one can collect a huge starting capital .
There is no need to invest much at first. You may commense to receive yields with as small sum of money as 20-100 dollars.

AimTrust is what you thought of all the time
The company represents an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

It is based in Panama with structures everywhere: In USA, Canada, Cyprus.
Do you want to become really rich in short time?
That`s your chance That`s what you wish in the long run!

I`m happy and lucky, I started to get income with the help of this company,
and I invite you to do the same. If it gets down to choose a correct partner utilizes your money in a right way - that`s the AimTrust!.
I make 2G daily, and what I started with was a funny sum of 500 bucks!
It`s easy to get involved , just click this link http://xurizenelo.s-enterprize.com/azysyp.html
and go! Let`s take our chance together to become rich

Anonymous said...

Don't stop posting such stories. I love to read stories like this. By the way add some pics :)

Anonymous said...

It is very interesting for me to read that blog. Thanks the author for it. I like such topics and anything connected to them. I definitely want to read a bit more soon.

Anonymous said...

Good day, sun shines!
There have been times of troubles when I felt unhappy missing knowledge about opportunities of getting high yields on investments. I was a dump and downright pessimistic person.
I have never imagined that there weren't any need in big starting capital.
Now, I feel good, I begin take up real income.
It gets down to select a correct companion who uses your funds in a right way - that is incorporate it in real deals, and shares the profit with me.

You may get interested, if there are such firms? I have to answer the truth, YES, there are. Please get to know about one of them:
http://theinvestblog.com [url=http://theinvestblog.com]Online Investment Blog[/url]

Anonymous said...

Hello!
You may probably be very interested to know how one can make real money on investments.
There is no initial capital needed.
You may begin earning with a money that usually is spent
on daily food, that's 20-100 dollars.
I have been participating in one company's work for several years,
and I'll be glad to let you know my secrets at my blog.

Please visit blog and send me private message to get the info.

P.S. I make 1000-2000 per day now.

http://theinvestblog.com [url=http://theinvestblog.com]Online Investment Blog[/url]

Anonymous said...

Seeing these kind of posts reminds me of just how technology truly is ever-permeating in this day and age, and I think it is safe to say that we have passed the point of no return in our relationship with technology.


I don't mean this in a bad way, of course! Ethical concerns aside... I just hope that as technology further develops, the possibility of copying our memories onto a digital medium becomes a true reality. It's one of the things I really wish I could see in my lifetime.


(Posted on Nintendo DS running [url=http://kwstar88.insanejournal.com/397.html]R4i SDHC[/url] DS rrPost)

Anonymous said...

Good fill someone in on and this mail helped me alot in my college assignement. Gratefulness you as your information.

Anonymous said...

You have really great taste on catch article titles, even when you are not interested in this topic you push to read it

Anonymous said...

[url=http://seghan.ru/go.php?sid=2][img]http://banners.servized.com/current/gif/ed_720x90_1.gif[/img][/url]

[url=http://old-drugstore.net/]What is/are Zovirax Tablets?[/url]
What are acyclovir tablets or capsules?
ACYCLOVIR (Zovirax®) treats standard types of viral infections, specifically herpes infections. Acyclovir
pleasure not medicament herpes infections; it will remedy the sores rejuvenate faster and expropriate to release the torment or discomfort.
Sometimes acyclovir is conceded to improve avert the infection from coming back. Acyclovir also treats shingles
and chickenpox infections. Generic acyclovir tablets and capsules are available.

What should I tell my well-being heedfulness provider ahead I crook this medicine?
They destitution to identify if you be suffering with any of these conditions:

•dehydration
•neurological blight
•kidney disorder
•seizures (convulsions)
•an peculiar or allergic resistance to acyclovir, ganciclovir, valacyclovir, valganciclovir, other medicines, foods, dyes, or preservatives
•pregnant or vexing to settle pregnant
•breast-feeding



[url=http://best-drugstore.aoaoaxxx.ru/][img]http://i079.radikal.ru/0910/b9/3f666eb40896.jpg[/img][/url]
























[url= ]purchase Zovirax Londonpurchase Zovirax Markham [/url]
purchase Zovirax Vaughanpurchase Zovirax Windsor
[url= ]purchase Zovirax Kitchenerpurchase Zovirax Montreal [/url]
purchase Zovirax Quebec Citypurchase Zovirax Gatineau
[url= ]purchase Zovirax Outaouaispurchase Zovirax Sherbrooke [/url]
purchase Zovirax Estriepurchase Zovirax Saguenay
[url= ]purchase Zovirax Saguenay-Lac-Saint-Jeanpurchase Zovirax Trois-Rivieres [/url]
purchase Zovirax Mauriciepurchase Zovirax Vancouver
[url= ]purchase Zovirax Victoriapurchase Zovirax Kelowna [/url]
purchase Zovirax Abbotsfordpurchase Zovirax Kamloops
[url= ]purchase Zovirax Nanaimopurchase Zovirax Prince George [/url]
purchase Zovirax Chilliwackpurchase Zovirax Vernon
[url= ]purchase Zovirax Courtenaypurchase Zovirax Calgary [/url]
purchase Zovirax Edmontonpurchase Zovirax Red Deer
[url= ]purchase Zovirax Lethbridgepurchase Zovirax Winnipeg [/url]
purchase Zovirax Australiapurchase Zovirax Austria
[url= ]purchase Zovirax Argentinapurchase Zovirax Belgium [/url]
purchase Zovirax Bulgariapurchase Zovirax Brasilia
[url= ]purchase Zovirax Great britainpurchase Zovirax Hungary [/url]
purchase Zovirax Germanypurchase Zovirax Greece

Anonymous said...

Genial fill someone in on and this post helped me alot in my college assignement. Thank you on your information.

Anonymous said...

i very love your writing kind, very charming,
don't give up as well as keep penning as a result it just worth to look through it,
looking forward to read additional of your posts, have a pleasant day ;)

Anonymous said...

Correctly your article helped me altogether much in my college assignment. Hats incorrect to you dispatch, choice look progressive for more related articles soon as its one of my choice topic to read.

Anonymous said...

I am sorry, that I interrupt you, would like to offer other decision.

Anonymous said...

You have hit the mark. I like this thought, I completely with you agree.