Project

General

Profile

Actions

Bug #2746

closed

"Too many open files" during report generation

Added by Alexey Khoroshilov over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
04/12/2012
Due date:
% Done:

0%

Estimated time:
Detected in build:
0.13.144
Platform:
Published in build:
0.13.152

Description

I have never run to this issue during my runs of the same report generation on the same project. But I use Ubuntu 11.04 with OpenJDK Runtime Environment (IcedTea6 1.10.6) (6b22-1.10.6-0ubuntu1).

[hugues@tetris aadl-qa]$ ./aadl-qa.pl gensrc
Welcome to Requality console mode! Process started...
log4j:WARN No appenders could be found for logger (freemarker.cache).
log4j:WARN Please initialize the log4j system properly.
java.io.FileNotFoundException: /home/hugues/aadl-qa/requirements/AADL-CTS/root/Requirements/04-Examples/11_1_2.json (Too many open files)
at java.io.FileInputStream.open(Native Method)

[..]
at com.unitesk.requality.report.ReportGenerator.generateReport(ReportGenerator.java:56)
at com.unitesk.requality.report.ReportGenerator.generateReport(ReportGenerator.java:67)
at com.unitesk.requality.tools.RequalityCLI.main(RequalityCLI.java:169)

I run Centos 5.6, x86_64if this may help

[hugues@tetris 04-Examples]$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.8) (rhel-1.22.1.9.8.el5_6-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

do you think I need to update my jdk or whatever?

Actions #1

Updated by Alexey Demakov over 12 years ago

  • Assignee set to Yuriy Shekochihin

Надо проверить, закрываются ли json и другие файлы после чтения явным образом.

Actions #2

Updated by Alexey Khoroshilov over 12 years ago

  • Target version set to 0.13
Actions #3

Updated by Alexey Khoroshilov over 12 years ago

  • Status changed from New to Resolved
  • Assignee deleted (Yuriy Shekochihin)
  • Target version deleted (0.13)
  • Detected in build changed from 1.13.144 to 0.13.144
  • Published in build set to 0.13.152

strace shows that close on a json file is called now before the next json file is opened.

Actions #4

Updated by Alexey Khoroshilov over 12 years ago

  • Target version set to 0.13
Actions #5

Updated by Alexey Khoroshilov over 12 years ago

  • Status changed from Resolved to Verified
Actions #6

Updated by Alexey Khoroshilov over 12 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF