[Common-dev] RE: CR: Pass through out of file decriptors error on UNIX
Sean Robinson srobinson at real.comThis has been checked in. > -----Original Message----- > From: Sean Robinson [mailto:srobinson at real.com] > Sent: Friday, August 12, 2005 12:30 PM > To: 'dev at common.helixcommunity.org'; 'dev at filesystem.helixcommunity.org' > Subject: CR: Pass through out of file decriptors error on UNIX > > Synopsis > ======== > Fix for 145140 > > Branches: head, SERVER_11_0_STABLE > > Description > =========== > Now that the helix server runs on a threaded environment in linux, we can > no longer launch a new streamer if we run out of file descriptors. So we > need to make sure that we behave as gracefully as possible and provide > reasonable error messages in the situation that we run out. The following > diff simply creates a new error HXR_NO_MORE_FILES and passes it out of > smplfsys. > > Files Affected > ============== > RCS file: /cvsroot/common/fileio/platform/unix/mmapdatf.cpp,v > RCS file: /cvsroot/common/include/hxresult.h,v > RCS file: /cvsroot/filesystem/local/full/smplfsys.cpp,v > > Testing Performed > ================= > Stress tests under linux. > Artificial forced error testing under windows. > Leak check on linux >