ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Elliott <Bruce.Elli...@knowledgenet.com>
Subject Too many open files running Ant on RedHat Linux v7.2
Date Mon, 13 May 2002 22:57:43 GMT
Having a problem with antv1.5beta1 and antv1.6alpha on Redhat Linux 7.2.  I
get an error that says "Too many open files in system".

Has anyone else seen this.

details below

[root@mv5build authoring]# !ca
cat /proc/sys/fs/file-nr
381     1       8192
[root@mv5build authoring]# cat /proc/sys/fs/file-max
8192
[root@mv5build authoring]# !an
ant -buildfile mv5build.xml prepare refresh dist
Buildfile: mv5build.xml

Apache Ant version 1.6alpha compiled on May 13 2002
(Apache Ant version 1.5Beta1 also) <<<
Buildfile: mv5build.xml
Detected Java version: 1.3 in: /usr/java/jdk1.3.1_01/jre
Detected OS: Linux
parsing buildfile mv5build.xml with URI =
file:/usr/local/cvs/Monsoon5/authoring/mv5build.xml
Project base dir set to: /usr/local/cvs/Monsoon5/authoring
 [property] Loading Environment env.
Build sequence for target `prepare' is [prepare]
Complete build sequence is [prepare, model, tf, client, server, build, jar,
warUnix, help, test, clean, refresh, dist]
prepare:
     [echo] ---------------------------------------------------
     [echo] Project:     Monsoon5 authoring
     [echo] Version:     HEAD

     [echo] Date:        May 13 2002
     [echo] Time:        1458
     [echo] Basedir:     /usr/local/cvs/Monsoon5/authoring
     [echo] BuildFile:   /usr/local/cvs/Monsoon5/authoring/mv5build.xml
     [echo] JVM Version: 1.3

     [echo] CVSROOT:     :pserver:brucee@poseidon:/cvs/mon01
     [echo] CVSHOME:     /usr/local/cvs
     [echo] ---------------------------------------------------

clean:
   [delete] Deleting directory
/usr/local/cvs/Monsoon5/authoring/modelClasses
   [delete] Deleting directory /usr/local/cvs/Monsoon5/authoring/tfClasses
   [delete] Deleting directory
/usr/local/cvs/Monsoon5/authoring/clientClasses

refresh:
      [cvs] U
Monsoon5/authoring/src/com/knowledgenet/authoring/view/KNAuthoringFrame.java
      [cvs] U
Monsoon5/authoring/src/com/knowledgenet/authoring/view/KNLabMETreePanel.java
      [cvs] U
Monsoon5/authoring/src/com/knowledgenet/authoring/view/KNLabTreeControlPanel
.java
      [cvs] P
Monsoon5/authoring/src/com/knowledgenet/authoring/view/KNPrimaryKeyTreeFrame
.java
      [cvs] P
Monsoon5/authoring/src/com/knowledgenet/authoring/view/KNPrimaryKeyTreeModel
.java
      [cvs] U
Monsoon5/authoring/src/com/knowledgenet/authoring/view/KNProjectInfoPanel.ja
va

model:
    [mkdir] Created dir: /usr/local/cvs/Monsoon5/authoring/modelClasses
    [javac] Compiling 89 source files to
/usr/local/cvs/Monsoon5/authoring/modelClasses

tf:
    [mkdir] Created dir: /usr/local/cvs/Monsoon5/authoring/tfClasses
    [javac] Compiling 14 source files to
/usr/local/cvs/Monsoon5/authoring/tfClasses
    [javac]
/usr/local/cvs/Monsoon5/authoring/src/com/knowledgenet/authoring/factory/Con
soleFrame.java:152: warning: getText() in javax.swing.JPasswordField has
been deprecated
    [javac]     ResultCode rc =
transactionFactory.login((Server)serverCB.getSelectedItem(), "knet",
loginTF.getText(), pwTF.getText());
    [javac]
^
    [javac]
/usr/local/cvs/Monsoon5/authoring/src/com/knowledgenet/authoring/factory/Tra
nsactionFactory.java:15: error while writing
com.knowledgenet.authoring.factory.TransactionFactory:
/usr/local/cvs/Monsoon5/authoring/tfClasses/com/knowledgenet/authoring/facto
ry/TransactionFactory.class (Too many open files in system)
    [javac] (source unavailable)
    [javac]
/usr/local/cvs/Monsoon5/authoring/src/com/knowledgenet/authoring/model/Searc
hCriteria.java:23: cannot access
com.knowledgenet.authoring.model.LanguageImpl
    [javac] bad class file:
/usr/java/jdk1.3.1_01/jre/lib/rt.jar(java/io/FileOutputStream.class)
    [javac] unable to access file:
/usr/local/cvs/Monsoon5/authoring/src/com/knowledgenet/authoring/model/Langu
ageImpl.java (Too many open files in system)
    [javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.
    [javac] (source unavailable)
    [javac] 2 errors
    [javac] 1 warning

BUILD FAILED
/usr/local/cvs/Monsoon5/authoring/mv5build.xml:158: Compile failed; see the
compiler error output for details.

Total time: 35 seconds
[root@mv5build authoring]# cat /proc/sys/fs/file-nr
8192    7812    8192
[root@mv5build authoring]#




System Properties	
java.runtime.name	 <<...OLE_Obj...>> 	
sun.boot.library.path	 <<...OLE_Obj...>> 	
java.vm.version	 <<...OLE_Obj...>> 	
java.vm.vendor	 <<...OLE_Obj...>> 	
java.vendor.url	 <<...OLE_Obj...>> 	
path.separator	 <<...OLE_Obj...>> 	
java.vm.name	 <<...OLE_Obj...>> 	
file.encoding.pkg	 <<...OLE_Obj...>> 	
java.vm.specification.name	 <<...OLE_Obj...>> 	
user.dir	 <<...OLE_Obj...>> 	
java.runtime.version	 <<...OLE_Obj...>> 	
java.awt.graphicsenv	 <<...OLE_Obj...>> 	
os.arch	 <<...OLE_Obj...>> 	
java.io.tmpdir	 <<...OLE_Obj...>> 	
line.separator	 <<...OLE_Obj...>> 	
java.vm.specification.vendor	 <<...OLE_Obj...>> 	
java.awt.fonts	 <<...OLE_Obj...>> 	
os.name	 <<...OLE_Obj...>> 	
java.library.path	 <<...OLE_Obj...>> 	
java.specification.name	 <<...OLE_Obj...>> 	
java.class.version	 <<...OLE_Obj...>> 	
os.version	 <<...OLE_Obj...>> 	
user.home	 <<...OLE_Obj...>> 	
user.timezone	 <<...OLE_Obj...>> 	
java.awt.printerjob	 <<...OLE_Obj...>> 	
file.encoding	 <<...OLE_Obj...>> 	
java.specification.version	 <<...OLE_Obj...>> 	
tomcat.home	 <<...OLE_Obj...>> 	
user.name	 <<...OLE_Obj...>> 	
java.class.path	 <<...OLE_Obj...>> 	
java.vm.specification.version	 <<...OLE_Obj...>> 	
java.home	 <<...OLE_Obj...>> 	
user.language	 <<...OLE_Obj...>> 	
java.specification.vendor	 <<...OLE_Obj...>> 	
java.vm.info	 <<...OLE_Obj...>> 	
java.version	 <<...OLE_Obj...>> 	
java.ext.dirs	 <<...OLE_Obj...>> 	
sun.boot.class.path	 <<...OLE_Obj...>> 	
java.vendor	 <<...OLE_Obj...>> 	
file.separator	 <<...OLE_Obj...>> 	
java.vendor.url.bug	 <<...OLE_Obj...>> 	
sun.cpu.endian	 <<...OLE_Obj...>> 	
sun.io.unicode.encoding	 <<...OLE_Obj...>> 	
user.region	 <<...OLE_Obj...>> 	
sun.cpu.isalist	 <<...OLE_Obj...>> 	



Bruce Elliott
Engineer
KnowledgeNet
e-mail: bruce.elliott@knowledgenet.com
tel: 480 315-4659
fax: 480 315-4007


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message