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 95101 - "too many files open" profiling a netbeans rcp application
Summary: "too many files open" profiling a netbeans rcp application
Status: RESOLVED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-02-09 15:21 UTC by olivernautsch
Modified: 2007-08-13 17:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description olivernautsch 2007-02-09 15:21:41 UTC
I can not profile my Netbeans RCP-Application. If I start the profiler  with my 
module suite project get this message in the output-window

...
Trying to override old definition of task javac
Trying to override old definition of task java
Trying to override old definition of task javadoc
Trying to override old definition of task junit
profile:
profile:
Profiler agent JVM arguments stored in property profiler.jvmargs
/opt/ollin/netbeans-5.5/harness/suite.xml:190: The following error occurred while 
executing this line:
/opt/ollin/netbeans-5.5/harness/run.xml:183: The following error occurred while 
executing this line:
/opt/ollin/netbeans-5.5/harness/run.xml:75: IO error scanning 
directory /opt/ollin/netbeans-5.5
BUILD FAILED (total time: 5 seconds)

The output differs from run to run. I have this too:

...
Trying to override old definition of task javac
Trying to override old definition of task java
Trying to override old definition of task javadoc
Trying to override old definition of task junit
profile:
profile:
Profiler agent JVM arguments stored in property profiler.jvmargs
/opt/ollin/netbeans-5.5/harness/suite.xml:190: The following error occurred while 
executing this line:
/opt/ollin/netbeans-5.5/harness/run.xml:183: The following error occurred while 
executing this line:
/opt/ollin/netbeans-5.5/harness/run.xml:82: 
java.io.FileNotFoundException: /opt/ollin/netbeans-5.5/enterprise3/update_tracking/org-netbeans-modules-tomcat5.xml 
(Zu viele offene Dateien)

Environment:

>dmesg | grep "Linux version"
Linux version 2.6.19-gentoo-r5 (root@bautzen) (gcc-Version 4.1.1 (Gentoo 
4.1.1-r3)) #2 SMP PREEMPT Thu Feb 1 10:35:56 CET 2007

>ulimit
unlimited

>lsof -p 12003 | wc -l
1363
(12003 is a java "org.netbeans.Main" process.)
Comment 1 J Bachorik 2007-03-23 10:57:09 UTC
can't reproduce. plz, try profiling with a clean user dir. you might want to try
it in the latest profiler 6 build to see if it's still happening
Comment 2 Alexander Kouznetsov 2007-08-13 17:06:33 UTC
Closing due to no response on INCOMPLETE status. Please reopen if necessary.