Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

java.io.IOException: error=24, Too many open files #141

@rwest

Description

@rwest

My QMTP job just died with the following exception:

Ea raised by 38.7 from 43.7 to dHrxn(298K)=82.4 kcal/mol.
Pre-existing successful quantum result for FZBISMRNOHHVPK-UHFFFAOYAQ (InChI=1/C3H4O6/c4-2(5)8-3(9-2)6-1-7-3/h4-5H,1H2) has been found. This log file will be used.
Point group: Cs
Thermo for FZBISMRNOHHVPK-UHFFFAOYAQ: -235.73   89.11   32.08   38.96   44.65   49.13   55.44   59.59   65.47   
HBI-based thermo for XGQQZMNHCWBJKP-UHFFFAOYAGmult4(InChI=1/C3HO6/c4-2(5)8-3(9-2)6-1-7-3/h1H/mult4): -82.81 88.8    29.35   35.0    39.52   42.95   47.52   50.25   53.63   
Created new species: C3HO6JJJ(14995)
Created new reaction: C2HO3J(1751) + CO3JJ(994) --> C3HO6JJJ(14995)
Error running cINChI-1: java.io.IOException: Cannot run program "/home/rwest/RMG-Java/bin/cInChI-1" (in directory "InChI"): java.io.IOException: error=24, Too many open files
Pre-existing successful quantum result for YRLKOWLKIUXBTJ-UHFFFAOYAK (InChI=1/C3H4O6/c4-2(5)3(9-8-2)6-1-7-3/h4-5H,1H2) has been found. This log file will be used.
java.io.IOException: Cannot run program "python": java.io.IOException: error=24, Too many open files
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
    at java.lang.Runtime.exec(Runtime.java:610)
    at java.lang.Runtime.exec(Runtime.java:448)
    at java.lang.Runtime.exec(Runtime.java:345)
    at jing.chem.QMTP.getPM3MM4ThermoDataUsingCCLib(QMTP.java:1659)
    at jing.chem.QMTP.parseGaussianPM3(QMTP.java:1454)
    at jing.chem.QMTP.generateQMThermoData(QMTP.java:313)
    at jing.chem.QMTP.generateThermoData(QMTP.java:148)
    at jing.chem.ChemGraph.generateThermoData(ChemGraph.java:1300)
    at jing.chem.ChemGraph.getThermoData(ChemGraph.java:1795)
    at jing.chem.Species.findStablestThermoData(Species.java:338)
    at jing.chem.Species.(Species.java:118)
    at jing.chem.Species.make(Species.java:878)
    at jing.rxn.ReactionTemplate.reactTwoReactants(ReactionTemplate.java:1196)
    at jing.rxn.TemplateReactionGenerator.react(TemplateReactionGenerator.java:181)
    at jing.rxnSys.RateBasedPDepRME.addSpeciesToCore(RateBasedPDepRME.java:317)
    at jing.rxnSys.RateBasedPDepRME.enlargeReactionModel(RateBasedPDepRME.java:235)
    at jing.rxnSys.ReactionModelGenerator.enlargeReactionModel(ReactionModelGenerator.java:3963)
    at jing.rxnSys.ReactionModelGenerator.modelGeneration(ReactionModelGenerator.java:1452)
    at RMG.main(RMG.java:57)
Caused by: java.io.IOException: java.io.IOException: error=24, Too many open files
    at java.lang.UNIXProcess.(UNIXProcess.java:164)
    at java.lang.ProcessImpl.start(ProcessImpl.java:81)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
    ... 19 more

Could it be that some of the QMTP code is forgetting to close files after it's read from them? On linux you can try running the command lsof to see a list of open files at any given time. Pipe this to grep to filter out lines of interest, eg. lsof | grep QMfiles. On pharos you may need to ssh into the node that is running the RMG calculation first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions