Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 302044

Summary: plugin installation failing due to too many open files
Product: [Eclipse Project] Equinox Reporter: Philippe Marschall <philippe.marschall>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: irbull, pascal
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description Philippe Marschall CLA 2010-02-06 12:36:08 EST
What steps will reproduce the problem?
1. Help -> Install New Software...
2. Select some plugins
3. Next
4. Install

"Zu viele offene Dateien" is german for too many open files.


-- Error Details --
Date: Sat Feb 06 18:29:55 CET 2010
Message: Unable to write to repository: file:/home/upnip/data/java/eclipse/.
Severity: Error
Product: Eclipse SDK 3.6.0.v201001291300 (org.eclipse.sdk.ide)
Plugin: org.eclipse.equinox.p2.artifact.repository
Session Data:
eclipse.buildId=I20100129-1300
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_CH


Exception Stack Trace:
java.io.FileNotFoundException: /home/upnip/data/java/eclipse/plugins/org.uddi4j_2.0.5.v200805270300.jar (Zu viele offene Dateien)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
	at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getOutputStream(SimpleArtifactRepository.java:751)
	at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:169)
	at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:161)
	at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:97)
	at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:539)
	at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:64)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 Pascal Rapicault CLA 2010-02-07 16:21:58 EST
Which version of eclipse are you running? 
Is installing the first thing you are doing when eclipse comes up?
How many files do you have open?
Comment 2 Philippe Marschall CLA 2010-02-08 02:37:34 EST
* My Eclipse version is 3.6 M5, see the Error Details section of the first post for the exact build version
* I run the installation after the startup once Eclipse is "idle", eg. Java tooling is initialized, no jobs showing up in the progress view.
* I have 3 or 4 editors open.
Comment 3 Ian Bull CLA 2010-02-10 14:32:11 EST
We've seen this before: Bug 300589.  The open files is an OS thing (your OS has too many open file handles, and it's just a coincidence that it failed during an install / upgrade with p2).  I'm not sure there is much we can do here.
Comment 4 Philippe Marschall CLA 2010-02-11 02:52:14 EST
Sure there's something you can do, do have so many files open.
Comment 5 Eclipse Genie CLA 2019-08-09 18:28:16 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.