View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001401Orfeo Toolbox (OTB)Generalpublic2017-05-16 15:302017-05-16 16:06
Assigned To 
PriorityurgentSeveritymajorReproducibilityhave not tried
PlatformOSOS Version
Summary0001401: ktrace reports too many file open for any otbapplication
Descriptionotb image classifier application

"/home/rashad/projects/otb/build/bin/otbApplicationLauncherCommandLine" "ImageClassifier" "/home/rashad/projects/otb/build/lib/otb/applications" "-in" "/home/rashad/data/otb-data/Input/Classification/QB_2_ortho.tif" "-imstat" "/home/rashad/data/otb-data/Input/Classification/clImageStatisticsQB1.xml" "-model" "/home/rashad/data/otb-data/Input/Classification/clsvmModelQB1.svm" "-out" "/home/rashad/projects/otb/build/Testing/Temporary/clLabeledImageQB2.tif"

I run ktrace on this application and output is interesting to look

I did a grep for NAMI: grep grep NAMI imageclassifier.log > imageclassifier_ktrace_nami. see attached output

Total 2864 file opens!!. For running an application that takes one input image, one output file, one xml and one model file.

Loading all those .so files make sense because they are needed. But why it opens all those files in otb-data?

anyway seems something to be looked at.
Steps To Reproducerun the above application with ktrace.

Additional Informationobsd amd64.

The bug report only show for otbimageclassifer application but it seems same for any otb application.

If you need more information, let me know
TagsNo tags attached.
Attached Files? file icon imageclassifier_ktrace_nami [^] (246,020 bytes) 2017-05-16 15:30 [Show Content]

- Relationships

-  Notes
rashadkm (developer)
2017-05-16 15:31

total size of imageclassifier.log is 996M
rashadkm (developer)
2017-05-16 15:43

btw, I don't have OTB_LARGEINPUT_ROOT set. so that doesn't goes to largeinput data. I could enable it and re-run. But i don't want to..

- Issue History
Date Modified Username Field Change
2017-05-16 15:30 rashadkm New Issue
2017-05-16 15:30 rashadkm File Added: imageclassifier_ktrace_nami
2017-05-16 15:31 rashadkm Note Added: 0004164
2017-05-16 15:43 rashadkm Note Added: 0004165
2017-05-16 16:06 rashadkm Description Updated View Revisions

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker