Hi Shayne, I vaguely VPB having inbuilt support for keeping a lid on the number of open file handles. I don't recall the specifics though, it's a couple of years since I wrote this part of VPB, perhaps we need to update the mechanism to query how many open files are supported and adjust it so it's osgdem task has a portion of this total so that when multiple osgdem's run they don't end up eating up all the file handles between them.
Robert. On Thu, Jan 27, 2011 at 12:24 AM, Shayne Tueller <[email protected]> wrote: > Just a follow up to my previous post, I found the problem...and it has > nothing to do with VPB so I apologize for the alarm. > > On Linux (in my case Fedora core 13), the number of files a process can have > open is default to 1024. You can query this info by the command: > > ulimit -n > > To increase the number of files (by 4000 for example), you can do: > > ulimit -n 4000 > > Once I did this, vpbmaster was able to process all 3600 tif files in my > /imagery directory where they are stored. > > Hopefully this will be of benefit to anyone else who may run into this > problem when trying to build a VPB database from a large number of source > content files... > > -Shayne > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=36011#36011 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

