Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rt-pmc] [URGENT] Indigo bug causes framework to keep bundle file handles open for lifetime of framework instance.

Hi Tom,


Riena is planing to deliver another build anyway, since we have a fix for a problem that we like to be includeded in Indigo. However we deliver only p2 repos with Riena itself (and core.net and core.variables) and we deliver a complete target platform (that includes Equinox and RCP) for windows only. So I am not sure if that is affected.

So I think I am fine with any direction this takes......(I personaly vote for anything that makes it easier to use Eclipse, so I believe that would be mean fixing this issue)

christian

Am 13.06.2011 um 23:42 schrieb Thomas Watson:

Please see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=349105

There has been a regression in the Equinox framework with respect to the file handles it keeps open for each installed bundle. In Helios the framework defaulted to keeping at most 100 bundle jar files open at a time. In Indigo a bug has been introduced that basically disables this functionality and causes the framework to keep every bundle jar file which gets something loaded from it to be left open until the framework is shutdown.

This mostly effects platforms like Linux where the ulimit (number of files a process can have open at a time) is limited. I have been told that some common Linux distributions limit this to 1024 by default. The result is that the platform will not be able to start successfully the first time if there are over 1000 bundles installed. This is because the framework must open every bundle jar to parse its manifest and then the jar file is left open until the framework shuts down. The bug is rather severe, but there is a work around on some systems by increasing the ulimit. I am not sure if that is always feasible and it is far from obvious to the typical user.

We have started a build of the eclipse/equinox in preparation incase we decide that this must be fixed for the Indigo release. Let me emphasize the statement that "we must decide" if this is important enough to fix for Indigo. The Equinox and Eclipse project leadership is asking for input on the need to fix this in Indigo and the ability for others to react in time to consume the fix. For example, I know all the EPPs will have to be respun. I am fairly certain other projects will have to respin if they have prebuilt targets that they deliver with their tools. For example, I think RAP falls into this category and perhaps Riena. If these projects cannot react in time then we may have no choice but to wait for SR1 to fix.

Tom

<ATT00001..c>

-------------------------------------------------------------
compeople AG
Untermainanlage 8
60329 Frankfurt/Main
fon: +49 (0) 69 / 27 22 18 0
fax: +49 (0) 69 / 27 22 18 22
web: www.compeople.de

Vorstand: Jürgen Wiesmaier
Aufsichtsratsvorsitzender: Christian Glanz

Sitz der Gesellschaft: Frankfurt/Main
Handelsregister Frankfurt HRB 56759
Ust-Ident.-Nr: DE207665352
-------------------------------------------------------------

Back to the top