Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » too many files open
too many files open [message #104620] Thu, 12 July 2007 23:49 Go to next message
Eclipse User
Originally posted by: dingfelder_nospam.gmail.com

I posted a message in the main eclipse board but in hindsight, I think
maybe people here would know better...

I have a brand spanking new install, using a new workspace.

I ran updates today, trying to install all the major features including
tptp.

starting eclipse, I got the following error:


ZoneInfo: /opt/sun-jre-bin-1.6.0.01/lib/zi/ZoneInfoMappings (Too many
open files)
ZoneInfo: /opt/sun-jre-bin-1.6.0.01/lib/zi/ZoneInfoMappings (Too many
open files)
!SESSION 2007-07-14 03:26:44.656
-----------------------------------------------
eclipse.buildId=I20070625-1500
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.tptp.monitoring.profile.server 4 0 2007-07-14
03:26:51.000
!MESSAGE
!STACK 0
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.zip.ZipFile.<init>(ZipFile.java:131)
at
org.eclipse.osgi.framework.util.SecureAction.getZipFile(Secu reAction.java:251)
at
org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.basicO pen(ZipBundleFile.java:79)
at
org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getZip File(ZipBundleFile.java:92)
at
org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.checke dOpen(ZipBundleFile.java:65)
at
org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEnt ry(ZipBundleFile.java:237)
at org.eclipse.osgi.baseadaptor.BaseData.getEntry(BaseData.java :96)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getE ntry(AbstractBundle.java:1305)
at
org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.getExtensionURL(EclipseBundleListener.java:110)
at
org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.addBundle(EclipseBundleListener.java:146)
at
org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.processBundles(EclipseBundleListener.java:80)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .onStart(RegistryStrategyOSGI.java:211)
at
org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:616)
at
org.eclipse.core.runtime.RegistryFactory.createRegistry(Regi stryFactory.java:55)
at
org.eclipse.core.internal.registry.osgi.Activator.startRegis try(Activator.java:132)
at
org.eclipse.core.internal.registry.osgi.Activator.start(Acti vator.java:54)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
at
org.eclipse.osgi.framework.internal.core.MultiSourcePackage. loadClass(MultiSourcePackage.java:31)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:161)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:501)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:471)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:430)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:413)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:408)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
at
org.eclipse.core.internal.runtime.InternalPlatform.start(Int ernalPlatform.java:753)
at
org.eclipse.core.internal.runtime.PlatformActivator.start(Pl atformActivator.java:31)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)



And the log contains:


!ENTRY org.eclipse.osgi 4 0 2007-07-14 03:11:12.017
!MESSAGE
!STACK 0
java.io.IOException: Too many open files
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1704)
at java.io.File.createTempFile(File.java:1793)
at
org.eclipse.osgi.framework.internal.reliablefile.ReliableFil e.getOutputStream(ReliableFile.java:327)
at
org.eclipse.osgi.framework.internal.reliablefile.ReliableFil eOutputStream. <init>(ReliableFileOutputStream.java:96)
at
org.eclipse.osgi.framework.internal.reliablefile.ReliableFil eOutputStream. <init>(ReliableFileOutputStream.java:47)
at
org.eclipse.osgi.storagemanager.StorageManager.save(StorageM anager.java:548)
at
org.eclipse.osgi.storagemanager.StorageManager.update(Storag eManager.java:310)
at
org.eclipse.osgi.storagemanager.StorageManager.closeOutputSt ream(StorageManager.java:893)
at
org.eclipse.osgi.storagemanager.ManagedOutputStream.close(Ma nagedOutputStream.java:52)
at java.io.FilterOutputStream.close(FilterOutputStream.java:143 )
at java.io.FilterOutputStream.close(FilterOutputStream.java:143 )
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundle Datas(BaseStorage.java:515)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllDat a(BaseStorage.java:382)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(B aseStorage.java:372)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver .run(BaseStorage.java:1115)
at java.lang.Thread.run(Thread.java:619)

!ENTRY org.eclipse.osgi 4 0 2007-07-14 03:11:12.951
!MESSAGE
!STACK 0
java.io.FileNotFoundException:
/opt/eclipse/configuration/org.eclipse.osgi/.state37259.new (Too many
open files)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at
org.eclipse.osgi.internal.resolver.StateWriter.saveState(Sta teWriter.java:105)
at
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.wr iteState(StateObjectFactoryImpl.java:337)
at
org.eclipse.osgi.internal.baseadaptor.StateManager.writeStat e(StateManager.java:187)
at
org.eclipse.osgi.internal.baseadaptor.StateManager.update(St ateManager.java:126)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveStateD ata(BaseStorage.java:545)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllDat a(BaseStorage.java:383)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(B aseStorage.java:372)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver .run(BaseStorage.java:1115)
at java.lang.Thread.run(Thread.java:619)

!ENTRY org.eclipse.osgi 4 0 2007-07-14 03:11:13.255
!MESSAGE
!STACK 0
java.io.IOException: Too many open files
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1704)
at java.io.File.createTempFile(File.java:1793)
at
org.eclipse.osgi.framework.internal.reliablefile.ReliableFil e.getOutputStream(ReliableFile.java:327)
at
org.eclipse.osgi.framework.internal.reliablefile.ReliableFil eOutputStream. <init>(ReliableFileOutputStream.java:96)
at
org.eclipse.osgi.framework.internal.reliablefile.ReliableFil eOutputStream. <init>(ReliableFileOutputStream.java:47)
at
org.eclipse.osgi.storagemanager.StorageManager.save(StorageM anager.java:548)
at
org.eclipse.osgi.storagemanager.StorageManager.update(Storag eManager.java:310)
at
org.eclipse.osgi.storagemanager.StorageManager.closeOutputSt ream(StorageManager.java:893)
at
org.eclipse.osgi.storagemanager.ManagedOutputStream.close(Ma nagedOutputStream.java:52)
at java.io.FilterOutputStream.close(FilterOutputStream.java:143 )
at java.io.FilterOutputStream.close(FilterOutputStream.java:143 )
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundle Datas(BaseStorage.java:515)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllDat a(BaseStorage.java:382)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkS top(BaseStorage.java:772)
at
org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStop(BaseA daptor.java:273)
at
org.eclipse.osgi.framework.internal.core.SystemBundleActivat or.stop(SystemBundleActivator.java:64)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$3 .run(BundleContextImpl.java:1040)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:1036)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.s uspendAllBundles(StartLevelManager.java:705)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ecFWSL(StartLevelManager.java:658)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:291)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.s hutdown(StartLevelManager.java:261)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.suspen d(SystemBundle.java:188)
at
org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:622)
at
org.eclipse.osgi.framework.internal.core.Framework.close(Fra mework.java:525)
at
org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.jav a:41)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl ipseStarter.java:399)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

!ENTRY org.eclipse.osgi 4 0 2007-07-14 03:11:14.267
!MESSAGE
!STACK 0
java.io.FileNotFoundException:
/opt/eclipse/configuration/org.eclipse.osgi/.state37263.new (Too many
open files)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at
org.eclipse.osgi.internal.resolver.StateWriter.saveState(Sta teWriter.java:105)
at
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.wr iteState(StateObjectFactoryImpl.java:337)
at
org.eclipse.osgi.internal.baseadaptor.StateManager.writeStat e(StateManager.java:187)
at
org.eclipse.osgi.internal.baseadaptor.StateManager.shutdown( StateManager.java:107)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveStateD ata(BaseStorage.java:542)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllDat a(BaseStorage.java:383)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkS top(BaseStorage.java:772)
at
org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStop(BaseA daptor.java:273)
at
org.eclipse.osgi.framework.internal.core.SystemBundleActivat or.stop(SystemBundleActivator.java:64)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$3 .run(BundleContextImpl.java:1040)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:1036)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.s uspendAllBundles(StartLevelManager.java:705)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ecFWSL(StartLevelManager.java:658)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:291)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.s hutdown(StartLevelManager.java:261)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.suspen d(SystemBundle.java:188)
at
org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:622)
at
org.eclipse.osgi.framework.internal.core.Framework.close(Fra mework.java:525)
at
org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.jav a:41)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl ipseStarter.java:399)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
Re: too many files open [message #104633 is a reply to message #104620] Thu, 12 July 2007 23:54 Go to previous messageGo to next message
Eclipse User
Originally posted by: dingfelder_nospam.gmail.com

Im sure the question will be asked, so I will save the trouble:

running Gentoo... nothing else is running at the time.

max open files is 1024

# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 16253
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 16253
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited





dingfelder wrote:
> I posted a message in the main eclipse board but in hindsight, I think
> maybe people here would know better...
>
> I have a brand spanking new install, using a new workspace.
>
> I ran updates today, trying to install all the major features including
> tptp.
>
> starting eclipse, I got the following error:
>
>
> ZoneInfo: /opt/sun-jre-bin-1.6.0.01/lib/zi/ZoneInfoMappings (Too many
> open files)
> ZoneInfo: /opt/sun-jre-bin-1.6.0.01/lib/zi/ZoneInfoMappings (Too many
> open files)
> !SESSION 2007-07-14 03:26:44.656
> -----------------------------------------------
> eclipse.buildId=I20070625-1500
> java.version=1.6.0_01
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86
>
> !ENTRY org.eclipse.tptp.monitoring.profile.server 4 0 2007-07-14
> 03:26:51.000
> !MESSAGE
> !STACK 0
> java.util.zip.ZipException: error in opening zip file
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:114)
> at java.util.zip.ZipFile.<init>(ZipFile.java:131)
> at
> org.eclipse.osgi.framework.util.SecureAction.getZipFile(Secu reAction.java:251)
>
> at
> org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.basicO pen(ZipBundleFile.java:79)
>
> at
> org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getZip File(ZipBundleFile.java:92)
>
> at
> org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.checke dOpen(ZipBundleFile.java:65)
>
> at
> org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEnt ry(ZipBundleFile.java:237)
>
> at org.eclipse.osgi.baseadaptor.BaseData.getEntry(BaseData.java :96)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getE ntry(AbstractBundle.java:1305)
>
> at
> org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.getExtensionURL(EclipseBundleListener.java:110)
>
> at
> org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.addBundle(EclipseBundleListener.java:146)
>
> at
> org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.processBundles(EclipseBundleListener.java:80)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .onStart(RegistryStrategyOSGI.java:211)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:616)
>
> at
> org.eclipse.core.runtime.RegistryFactory.createRegistry(Regi stryFactory.java:55)
>
> at
> org.eclipse.core.internal.registry.osgi.Activator.startRegis try(Activator.java:132)
>
> at
> org.eclipse.core.internal.registry.osgi.Activator.start(Acti vator.java:54)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
>
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>
> at
> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>
> at
> org.eclipse.osgi.framework.internal.core.MultiSourcePackage. loadClass(MultiSourcePackage.java:31)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:161)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:501)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:471)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:430)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:413)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:408)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
> at
> org.eclipse.core.internal.runtime.InternalPlatform.start(Int ernalPlatform.java:753)
>
> at
> org.eclipse.core.internal.runtime.PlatformActivator.start(Pl atformActivator.java:31)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>
>
>
>
> And the log contains:
>
>
> !ENTRY org.eclipse.osgi 4 0 2007-07-14 03:11:12.017
> !MESSAGE
> !STACK 0
> java.io.IOException: Too many open files
> at java.io.UnixFileSystem.createFileExclusively(Native Method)
> at java.io.File.checkAndCreate(File.java:1704)
> at java.io.File.createTempFile(File.java:1793)
> at
> org.eclipse.osgi.framework.internal.reliablefile.ReliableFil e.getOutputStream(ReliableFile.java:327)
>
> at
> org.eclipse.osgi.framework.internal.reliablefile.ReliableFil eOutputStream. <init>(ReliableFileOutputStream.java:96)
>
> at
> org.eclipse.osgi.framework.internal.reliablefile.ReliableFil eOutputStream. <init>(ReliableFileOutputStream.java:47)
>
> at
> org.eclipse.osgi.storagemanager.StorageManager.save(StorageM anager.java:548)
>
> at
> org.eclipse.osgi.storagemanager.StorageManager.update(Storag eManager.java:310)
>
> at
> org.eclipse.osgi.storagemanager.StorageManager.closeOutputSt ream(StorageManager.java:893)
>
> at
> org.eclipse.osgi.storagemanager.ManagedOutputStream.close(Ma nagedOutputStream.java:52)
>
> at java.io.FilterOutputStream.close(FilterOutputStream.java:143 )
> at java.io.FilterOutputStream.close(FilterOutputStream.java:143 )
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundle Datas(BaseStorage.java:515)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllDat a(BaseStorage.java:382)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(B aseStorage.java:372)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver .run(BaseStorage.java:1115)
>
> at java.lang.Thread.run(Thread.java:619)
>
> !ENTRY org.eclipse.osgi 4 0 2007-07-14 03:11:12.951
> !MESSAGE
> !STACK 0
> java.io.FileNotFoundException:
> /opt/eclipse/configuration/org.eclipse.osgi/.state37259.new (Too many
> open files)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
> at
> org.eclipse.osgi.internal.resolver.StateWriter.saveState(Sta teWriter.java:105)
>
> at
> org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.wr iteState(StateObjectFactoryImpl.java:337)
>
> at
> org.eclipse.osgi.internal.baseadaptor.StateManager.writeStat e(StateManager.java:187)
>
> at
> org.eclipse.osgi.internal.baseadaptor.StateManager.update(St ateManager.java:126)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveStateD ata(BaseStorage.java:545)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllDat a(BaseStorage.java:383)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(B aseStorage.java:372)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver .run(BaseStorage.java:1115)
>
> at java.lang.Thread.run(Thread.java:619)
>
> !ENTRY org.eclipse.osgi 4 0 2007-07-14 03:11:13.255
> !MESSAGE
> !STACK 0
> java.io.IOException: Too many open files
> at java.io.UnixFileSystem.createFileExclusively(Native Method)
> at java.io.File.checkAndCreate(File.java:1704)
> at java.io.File.createTempFile(File.java:1793)
> at
> org.eclipse.osgi.framework.internal.reliablefile.ReliableFil e.getOutputStream(ReliableFile.java:327)
>
> at
> org.eclipse.osgi.framework.internal.reliablefile.ReliableFil eOutputStream. <init>(ReliableFileOutputStream.java:96)
>
> at
> org.eclipse.osgi.framework.internal.reliablefile.ReliableFil eOutputStream. <init>(ReliableFileOutputStream.java:47)
>
> at
> org.eclipse.osgi.storagemanager.StorageManager.save(StorageM anager.java:548)
>
> at
> org.eclipse.osgi.storagemanager.StorageManager.update(Storag eManager.java:310)
>
> at
> org.eclipse.osgi.storagemanager.StorageManager.closeOutputSt ream(StorageManager.java:893)
>
> at
> org.eclipse.osgi.storagemanager.ManagedOutputStream.close(Ma nagedOutputStream.java:52)
>
> at java.io.FilterOutputStream.close(FilterOutputStream.java:143 )
> at java.io.FilterOutputStream.close(FilterOutputStream.java:143 )
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundle Datas(BaseStorage.java:515)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllDat a(BaseStorage.java:382)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkS top(BaseStorage.java:772)
>
> at
> org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStop(BaseA daptor.java:273)
>
> at
> org.eclipse.osgi.framework.internal.core.SystemBundleActivat or.stop(SystemBundleActivator.java:64)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$3 .run(BundleContextImpl.java:1040)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:1036)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.s uspendAllBundles(StartLevelManager.java:705)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ecFWSL(StartLevelManager.java:658)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:291)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.s hutdown(StartLevelManager.java:261)
>
> at
> org.eclipse.osgi.framework.internal.core.SystemBundle.suspen d(SystemBundle.java:188)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:622)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.close(Fra mework.java:525)
>
> at
> org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.jav a:41)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl ipseStarter.java:399)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:197)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>
> !ENTRY org.eclipse.osgi 4 0 2007-07-14 03:11:14.267
> !MESSAGE
> !STACK 0
> java.io.FileNotFoundException:
> /opt/eclipse/configuration/org.eclipse.osgi/.state37263.new (Too many
> open files)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
> at
> org.eclipse.osgi.internal.resolver.StateWriter.saveState(Sta teWriter.java:105)
>
> at
> org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.wr iteState(StateObjectFactoryImpl.java:337)
>
> at
> org.eclipse.osgi.internal.baseadaptor.StateManager.writeStat e(StateManager.java:187)
>
> at
> org.eclipse.osgi.internal.baseadaptor.StateManager.shutdown( StateManager.java:107)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveStateD ata(BaseStorage.java:542)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllDat a(BaseStorage.java:383)
>
> at
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkS top(BaseStorage.java:772)
>
> at
> org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStop(BaseA daptor.java:273)
>
> at
> org.eclipse.osgi.framework.internal.core.SystemBundleActivat or.stop(SystemBundleActivator.java:64)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$3 .run(BundleContextImpl.java:1040)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:1036)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.s uspendAllBundles(StartLevelManager.java:705)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ecFWSL(StartLevelManager.java:658)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:291)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.s hutdown(StartLevelManager.java:261)
>
> at
> org.eclipse.osgi.framework.internal.core.SystemBundle.suspen d(SystemBundle.java:188)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:622)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.close(Fra mework.java:525)
>
> at
> org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.jav a:41)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl ipseStarter.java:399)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:197)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>
Re: too many files open [message #104646 is a reply to message #104633] Fri, 13 July 2007 00:47 Go to previous message
Eclipse User
Originally posted by: dingfelder_nospam.gmail.com

solved by setting ulimit to a larger value.

for those who don't know how, you can set the ulimit default in
/etc/security/limits.conf

cheers,

ding

dingfelder wrote:
>
> Im sure the question will be asked, so I will save the trouble:
>
> running Gentoo... nothing else is running at the time.
>
> max open files is 1024
>
> # ulimit -a
> core file size (blocks, -c) 0
> data seg size (kbytes, -d) unlimited
> scheduling priority (-e) 0
> file size (blocks, -f) unlimited
> pending signals (-i) 16253
> max locked memory (kbytes, -l) 32
> max memory size (kbytes, -m) unlimited
> open files (-n) 1024
> pipe size (512 bytes, -p) 8
> POSIX message queues (bytes, -q) 819200
> real-time priority (-r) 0
> stack size (kbytes, -s) 8192
> cpu time (seconds, -t) unlimited
> max user processes (-u) 16253
> virtual memory (kbytes, -v) unlimited
> file locks (-x) unlimited
>
>
>
>
>
> dingfelder wrote:
>> I posted a message in the main eclipse board but in hindsight, I think
>> maybe people here would know better...
>>
>> I have a brand spanking new install, using a new workspace.
>>
>> I ran updates today, trying to install all the major features
>> including tptp.
>>
>> starting eclipse, I got the following error:
>>
>>
>> ZoneInfo: /opt/sun-jre-bin-1.6.0.01/lib/zi/ZoneInfoMappings (Too many
>> open files)
>> ZoneInfo: /opt/sun-jre-bin-1.6.0.01/lib/zi/ZoneInfoMappings (Too many
>> open files)
>> !SESSION 2007-07-14 03:26:44.656
>> -----------------------------------------------
>> eclipse.buildId=I20070625-1500
>> java.version=1.6.0_01
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>> Command-line arguments: -os linux -ws gtk -arch x86
>>
>> !ENTRY org.eclipse.tptp.monitoring.profile.server 4 0 2007-07-14
>> 03:26:51.000
>> !MESSAGE
>> !STACK 0
>> java.util.zip.ZipException: error in opening zip file
>> at java.util.zip.ZipFile.open(Native Method)
>> at java.util.zip.ZipFile.<init>(ZipFile.java:114)
>> at java.util.zip.ZipFile.<init>(ZipFile.java:131)
>> at
>> org.eclipse.osgi.framework.util.SecureAction.getZipFile(Secu reAction.java:251)
>>
>> at
>> org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.basicO pen(ZipBundleFile.java:79)
>>
>> at
>> org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getZip File(ZipBundleFile.java:92)
>>
>> at
>> org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.checke dOpen(ZipBundleFile.java:65)
>>
>> at
>> org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEnt ry(ZipBundleFile.java:237)
>>
>> at
>> org.eclipse.osgi.baseadaptor.BaseData.getEntry(BaseData.java :96)
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.getE ntry(AbstractBundle.java:1305)
>>
>> at
>> org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.getExtensionURL(EclipseBundleListener.java:110)
>>
>> at
>> org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.addBundle(EclipseBundleListener.java:146)
>>
>> at
>> org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.processBundles(EclipseBundleListener.java:80)
>>
>> at
>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .onStart(RegistryStrategyOSGI.java:211)
>>
>> at
>> org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:616)
>>
>> at
>> org.eclipse.core.runtime.RegistryFactory.createRegistry(Regi stryFactory.java:55)
>>
>> at
>> org.eclipse.core.internal.registry.osgi.Activator.startRegis try(Activator.java:132)
>>
>> at
>> org.eclipse.core.internal.registry.osgi.Activator.start(Acti vator.java:54)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
>>
>> at
>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>
>> at
>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.MultiSourcePackage. loadClass(MultiSourcePackage.java:31)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:161)
>>
>> at
>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:501)
>>
>> at
>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:471)
>>
>> at
>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:430)
>>
>> at
>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:413)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:408)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
>> at
>> org.eclipse.core.internal.runtime.InternalPlatform.start(Int ernalPlatform.java:753)
>>
>> at
>> org.eclipse.core.internal.runtime.PlatformActivator.start(Pl atformActivator.java:31)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>
>>
>>
>>
>> And the log contains:
>>
>>
>> !ENTRY org.eclipse.osgi 4 0 2007-07-14 03:11:12.017
>> !MESSAGE
>> !STACK 0
>> java.io.IOException: Too many open files
>> at java.io.UnixFileSystem.createFileExclusively(Native Method)
>> at java.io.File.checkAndCreate(File.java:1704)
>> at java.io.File.createTempFile(File.java:1793)
>> at
>> org.eclipse.osgi.framework.internal.reliablefile.ReliableFil e.getOutputStream(ReliableFile.java:327)
>>
>> at
>> org.eclipse.osgi.framework.internal.reliablefile.ReliableFil eOutputStream. <init>(ReliableFileOutputStream.java:96)
>>
>> at
>> org.eclipse.osgi.framework.internal.reliablefile.ReliableFil eOutputStream. <init>(ReliableFileOutputStream.java:47)
>>
>> at
>> org.eclipse.osgi.storagemanager.StorageManager.save(StorageM anager.java:548)
>>
>> at
>> org.eclipse.osgi.storagemanager.StorageManager.update(Storag eManager.java:310)
>>
>> at
>> org.eclipse.osgi.storagemanager.StorageManager.closeOutputSt ream(StorageManager.java:893)
>>
>> at
>> org.eclipse.osgi.storagemanager.ManagedOutputStream.close(Ma nagedOutputStream.java:52)
>>
>> at java.io.FilterOutputStream.close(FilterOutputStream.java:143 )
>> at java.io.FilterOutputStream.close(FilterOutputStream.java:143 )
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundle Datas(BaseStorage.java:515)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllDat a(BaseStorage.java:382)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(B aseStorage.java:372)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver .run(BaseStorage.java:1115)
>>
>> at java.lang.Thread.run(Thread.java:619)
>>
>> !ENTRY org.eclipse.osgi 4 0 2007-07-14 03:11:12.951
>> !MESSAGE
>> !STACK 0
>> java.io.FileNotFoundException:
>> /opt/eclipse/configuration/org.eclipse.osgi/.state37259.new (Too many
>> open files)
>> at java.io.FileOutputStream.open(Native Method)
>> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>> at
>> org.eclipse.osgi.internal.resolver.StateWriter.saveState(Sta teWriter.java:105)
>>
>> at
>> org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.wr iteState(StateObjectFactoryImpl.java:337)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.StateManager.writeStat e(StateManager.java:187)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.StateManager.update(St ateManager.java:126)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveStateD ata(BaseStorage.java:545)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllDat a(BaseStorage.java:383)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(B aseStorage.java:372)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver .run(BaseStorage.java:1115)
>>
>> at java.lang.Thread.run(Thread.java:619)
>>
>> !ENTRY org.eclipse.osgi 4 0 2007-07-14 03:11:13.255
>> !MESSAGE
>> !STACK 0
>> java.io.IOException: Too many open files
>> at java.io.UnixFileSystem.createFileExclusively(Native Method)
>> at java.io.File.checkAndCreate(File.java:1704)
>> at java.io.File.createTempFile(File.java:1793)
>> at
>> org.eclipse.osgi.framework.internal.reliablefile.ReliableFil e.getOutputStream(ReliableFile.java:327)
>>
>> at
>> org.eclipse.osgi.framework.internal.reliablefile.ReliableFil eOutputStream. <init>(ReliableFileOutputStream.java:96)
>>
>> at
>> org.eclipse.osgi.framework.internal.reliablefile.ReliableFil eOutputStream. <init>(ReliableFileOutputStream.java:47)
>>
>> at
>> org.eclipse.osgi.storagemanager.StorageManager.save(StorageM anager.java:548)
>>
>> at
>> org.eclipse.osgi.storagemanager.StorageManager.update(Storag eManager.java:310)
>>
>> at
>> org.eclipse.osgi.storagemanager.StorageManager.closeOutputSt ream(StorageManager.java:893)
>>
>> at
>> org.eclipse.osgi.storagemanager.ManagedOutputStream.close(Ma nagedOutputStream.java:52)
>>
>> at java.io.FilterOutputStream.close(FilterOutputStream.java:143 )
>> at java.io.FilterOutputStream.close(FilterOutputStream.java:143 )
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundle Datas(BaseStorage.java:515)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllDat a(BaseStorage.java:382)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkS top(BaseStorage.java:772)
>>
>> at
>> org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStop(BaseA daptor.java:273)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.SystemBundleActivat or.stop(SystemBundleActivator.java:64)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$3 .run(BundleContextImpl.java:1040)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:1036)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.s uspendAllBundles(StartLevelManager.java:705)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ecFWSL(StartLevelManager.java:658)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:291)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.s hutdown(StartLevelManager.java:261)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.SystemBundle.suspen d(SystemBundle.java:188)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:622)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.close(Fra mework.java:525)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.jav a:41)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl ipseStarter.java:399)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:197)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>>
>> !ENTRY org.eclipse.osgi 4 0 2007-07-14 03:11:14.267
>> !MESSAGE
>> !STACK 0
>> java.io.FileNotFoundException:
>> /opt/eclipse/configuration/org.eclipse.osgi/.state37263.new (Too many
>> open files)
>> at java.io.FileOutputStream.open(Native Method)
>> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>> at
>> org.eclipse.osgi.internal.resolver.StateWriter.saveState(Sta teWriter.java:105)
>>
>> at
>> org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.wr iteState(StateObjectFactoryImpl.java:337)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.StateManager.writeStat e(StateManager.java:187)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.StateManager.shutdown( StateManager.java:107)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveStateD ata(BaseStorage.java:542)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllDat a(BaseStorage.java:383)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkS top(BaseStorage.java:772)
>>
>> at
>> org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStop(BaseA daptor.java:273)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.SystemBundleActivat or.stop(SystemBundleActivator.java:64)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$3 .run(BundleContextImpl.java:1040)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:1036)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.s uspendAllBundles(StartLevelManager.java:705)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ecFWSL(StartLevelManager.java:658)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:291)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.s hutdown(StartLevelManager.java:261)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.SystemBundle.suspen d(SystemBundle.java:188)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:622)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.close(Fra mework.java:525)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.jav a:41)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl ipseStarter.java:399)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:197)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>>
Previous Topic:Code-Coverage
Next Topic:Can't get Agent Controller running for 4.4 on Linux
Goto Forum:
  


Current Time: Wed Aug 20 10:46:22 EDT 2014

Powered by FUDForum. Page generated in 0.02313 seconds