[jcifs] NT_STATUS_TOO_MANY_OPENED_FILES error

Joe Kramer jkramer at vivisimo.com
Wed Feb 2 13:56:14 MST 2011


We are experiencing a NT_STATUS_TOO_MANY_OPENED_FILES error when talking
with an EMC NS-960 network storage server.

When using SmbFile.getSecuirty(true) a jcifs.smb.SmbException:
0xC000011F is being thrown.  Has anyone else faced SmbException:
0xC000011F?  If so, how did you solve the problem?


Details:
Our connector is using the JCIFS library to crawl a file share that has
a "homes" directory of 6800+ directories, each with up to 30
sub-directories.  There are 6800+ users in the ACLs for each
file/folder.  We are using JCIFS version 1.3.15.


Stack trace:
jcifs.smb.SmbException: 0xC000011F
at jcifs.dcerpc.msrpc.LsaPolicyHandle.<init>(LsaPolicyHandle.java:36)
at jcifs.smb.SID.resolveSids0(SID.java:137)
at jcifs.smb.SID.resolveSids(SID.java:172)
at jcifs.smb.SmbFile.processAces(SmbFile.java:2861)
at jcifs.smb.SmbFile.getSecurity(SmbFile.java:2898)
at
com.vivisimo.connector.SMBConnector.retrieveACLForFile(SMBConnector.java:352)


Code snippet:
protected Set<String> retrieveACLForFile(SmbFile file)
throws ConnectorException {
ACE aces[];

try {
aces = file.getSecurity(true);   //line 352 that is throwing the error
} catch (IOException ioe) {
throw new ConnectorException("Could not get the ACL", ioe);
}
...

Thanks,
Joe



More information about the jCIFS mailing list