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.


31 comments:

22222 said...

心靈補手。休憩園地 ROM 兩性生活討論區 品味生活討論區 女人女人。玩美論壇 孤獨之詩★文學藝術論壇 cute99!可愛女人幫 Z頻道*戶外休閒論壇 亞特蘭提斯。ACG論壇 風流人生*男仕論壇 清境生活綜合討論區 左岸咖啡休閒網 168休閒館 流星花園生活情報網 Nt.Sec潮流網 歡樂天堂生活網 可愛女人家 男人味論壇 秋萍文學網 小丸子娛樂休閒網 夢想家休閒論壇 花花世界論壇 天上人間生活網 浪琴女人天地 伊勒生活網 潘妮女性休閒網 巴莎咪卡生活網 快樂媽媽討論區 ~斑鳩的家~休閒論壇 追夢人生休閒論壇 輝煌年代★創意生活網 日月星休閒網 雄霸天下☆休閒論壇 ⊕鳶尾花⊕生活休閒網 朵莉流行網 ☆星宿海☆生活秘笈網 e日茶休憩小站 麥克家族討論區 巴黎夢想家 幻想倉庫網 55888男性休閒論壇 永富人生網 酷炫潮流網 愛情派對交流網 微風頻道~居家討論區 訊息倉庫番 396生活資訊網 嘮嘮叨叨分享論壇 模範世家~生活休閒網 圓桌武士生活交流網 G頻道~數位論壇 易富網~財富論壇 858女性生活網 e時代新潮文化網 紫之海~葡萄網 伊達生活趣味網 樂活島生活休閒論壇 ☆殘酷天使☆生活論壇 奧雷特⊕活力補給站 永恆的優雅☆女性時尚論壇 硬漢人生★男士風格網 殺很大~生活休閒網 地球世界村文化交流網 關鍵報告~生活交流網 斷翼天使☆夢想交流網 HomeZ!網路交流網 科技時尚男性論壇 台灣新人類~生活論壇 長恨歌◇文學分享論壇 101女性風尚論壇 領導者商務生活網

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...

0951成人頻道下載,免費視訊聊天,成人網站,色情守門員,成人貼圖區,成人視訊,自拍美女,0204貼圖區,聊天室ut,ec成人,成人視訊,哈啦聊天室,dodo豆豆聊天室,台灣情色網,69成人,小高聊天室,免費交友,咆哮成人繁體,貼圖片區,正妹百人斬,正妹走光,正妹桌布,免費視訊聊天,1069交友,美女交友,080視訊聊天室,6k聊天館,巨乳,失落的世界聊天,色聊天室,成人視訊,玩美女人,嘟嘟成人網,情色交友網,成人電影,影音視訊聊天室,一葉情貼圖片區,情色視訊,交友聯誼,av美女,

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...

God helps those who help themselves........................................

Anonymous said...

年少輕狂丫..................................................

Anonymous said...

網路交友視訊情人影音聊天室電話交友色情圖片丁字褲辣妹做愛教學影音視訊網性感辣妹交友免費觀看色情片情色視訊線上做愛影片無名正妹牆影音視訊網視訊辣妹線上做愛辣妹視訊視訊美女美女視訊聊天視訊情人援交友聊天室

Anonymous said...

讚哦..................................................

Anonymous said...

I need a Riddle ASAP! i know this sounds extreamly werid but i need a riddle. Dont ask why just give me something!! thanks!









































[url=http://www.thedaytheearthstoodstill.org/]the day the earth stood still[/url]

Anonymous said...

I just found the website who reviews about
Several
home based business

If you want to know more here it is
home based business

Anonymous said...

雖然說上班很累,不過還是得努力應付每一天,看看文章休息一下,謝謝你哦!........................................

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...

很精彩的部落格 期待你的繼續加油.........................

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...

The effects are gradual and the result will vary for each user.(vimax pills) However, further review show that most users experience benefits within the first week. In the first month you can expect erections that stay longer than usual and your penile may even start to become wider. penis enlargement pills - http://www.cucumaerot.com

Anonymous said...

The effects are gradual and the result will vary for each user.(vimax pills) However, further review show that most users experience benefits within the first week. In the first month you can expect erections that stay longer than usual and your penile may even start to become wider. penis enlargement pills - http://www.cucumaerot.com

Anonymous said...

They are becoming the enhancement option of choice for many men for several reasons. vimax pills is the best penis enlargement pills on the market today.more info visit http://www.male-sexual.com/vimax-pills.html
- http://www.pillspenisproducts.com

Anonymous said...

They are becoming the enhancement option of choice for many men for several reasons. vimax pills is the best penis enlargement pills on the market today.more info visit http://www.male-sexual.com/vimax-pills.html
- http://www.pillspenisproducts.com

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.

vgf2s32d said...

Very good share ~ message support
..................................................