This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 181731 - [69cat] "Too many open files" at log file when trying to add a new Action for module
Summary: [69cat] "Too many open files" at log file when trying to add a new Action for...
Status: RESOLVED WONTFIX
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 normal (vote)
Assignee: dlipin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 16:18 UTC by Michel Graciano
Modified: 2010-03-09 16:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file (2.78 MB, text/plain)
2010-03-09 16:18 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2010-03-09 16:18:34 UTC
Created attachment 94945 [details]
Log file

The IDE freezes and when I take a look at messages.log, I can see this thousands message:
java.io.FileNotFoundException: /home/hmichel/.netbeans/6.8/var/log/uigestures (Too many open files)
	at java.io.FileOutputStream.openAppend(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
	at org.netbeans.modules.uihandler.Installer.logStream(Installer.java:824)
	at org.netbeans.modules.uihandler.Installer.writeOut(Installer.java:436)
	at org.netbeans.modules.uihandler.UIHandler$1WriteOut.run(UIHandler.java:121)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)

I will attach my log too. This is an P1 because after that I need to kill the IDE and I lost data, as commit messages, some configurations as Project Groups and many other stuffs as well there is no way to add a new action.
Comment 1 Jesse Glick 2010-03-09 16:44:26 UTC
Not an issue in apisupport; you had exceptions from all sorts of things in your log.

You need to increase your open file limit. For example, add to /etc/security/limits.conf:

* soft nofile 4000
* hard nofile 4000

(Ideally a NB installer would do this for you, though there are different kinds of installers and packages, and you can just unpack and run a ZIP file.)
Comment 2 Jesse Glick 2010-03-09 16:45:39 UTC
(I actually meant to put this in the 'ide' product, but my mouse must have slipped. Anyway 'installer' may be a more appropriate place.)