Too many file handles open

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
micronas
Posts: 2
Joined: Wed Dec 08, 2010 7:30 am

Too many file handles open

Post by micronas » Wed Dec 08, 2010 7:46 am

hi there,

we use Source Off Site in version 5.0.3 for server and client and VisualSource Safe 2005 to access a database on a samba server. This samba server has a limitation to 1000 concurrent opened files and the following error occured after i tried to open the database with source off site.
Encountered a VSS Exception on IVSSItem::get_Items(). Too many file handles open

This error occurs not if i open the database with the VSS 2005 client.

is there any way to work around (e. g. to specify how many files are opened at the same time) without increasing the samba server's limit?

thank you,
johannes neumaier

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Too many file handles open

Post by lbauer » Wed Dec 08, 2010 11:45 am

i tried to open the database with source off site.
What specifically are you doing when you get the error? Just trying to log in with the SOS Client?

Doing a large GET?
Linda Bauer
SourceGear
Technical Support Manager

micronas
Posts: 2
Joined: Wed Dec 08, 2010 7:30 am

Re: Too many file handles open

Post by micronas » Thu Dec 09, 2010 12:37 am

yes. I just tried to connect to the SOS server with the sos client

Code: Select all

Connecting to (server:port)...
Server sending 128 bit challenge.
Using 128 bit encryption to communicate with server.
Logging in...
Login successful
Downloading project tree - this may be a lengthy process - please wait...  *
Operation failed - $/
* This is really a lengthy process. The open file handle count at the samba server rises to 1000 and then it breaks the connection. This is when "Operation failed - $/".
SOS server logs:

Code: Select all

Encountered a VSS Exception on IVSSItem::get_Items().  Too many file handles open

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Too many file handles open

Post by lbauer » Thu Dec 09, 2010 11:44 am

The SOS Server communicates with the VSS database through the SourceSafe Automation Component. Most likely the open file problem is due to the way the SourceSafe Automation Component walks the SourceSafe tree.

We do not have a work around for this except to use SOS on a smaller sized VSS database when using Samba drives or change the Samba restriction on open files.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply