manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From takagig <takagi.motosh...@gmail.com>
Subject Re: SmbException
Date Mon, 19 Mar 2012 00:54:31 GMT
Thank you very much for your email.

I read ManifoldCF Source Code.

SharedDriverConnector.java
  +processSMBException()

This method don't handle "No process is on the other end of the pipe."
What will happen if ManifoldCF catch this error message and throw
ServiceInterruption.

I want to continue the job even in the event.
  (1)Exception Type is "SmbException"
  (2)ErrorMessage is "No process is on the other end of the pipe."

Sincerely,

takagig

2012/3/17 Karl Wright <daddywri@gmail.com>:
> Hi,
>
> The problem you are seeing is a server-side error of some kind. The
> jcifs connector will retry documents that fail to fetch properly after
> some period of time, usually five minutes. Warning messages are
> nevertheless recorded in the log for every retry. So, unless the job
> aborts, or ceases to make progress, everything may actually be ok.
>
> If the job does abort or stops moving forward it means that certain
> documents are having consistent errors. You can find an example of such
> a document easily enough by reviewing the Simple History. Then, see if
> you can reach the doc via windows, or if you get errors also.
>
> Please let us know what you find.
>
> Karl
>
> Sent from my Windows Phone
> From: takagig
> Sent: 3/17/2012 1:48 AM
> To: connectors-user@incubator.apache.org
> Subject: SmbException
> Hi, everyone
>
> I am using ManifoldCF(from trunk build. 0.5?) for crawling Windows
> Share Folder for our application.
> When I run ManifoldCF sometimes I am getting SmbException.
> SmbException occur more often around crawling 70,000 files over.
>
> Please suggest a method of solving this problem.
>
> 1)My Environment
> -Windows 2003 R2 SE SP2
> -ManifoldCF (from trunk | 2012-03-01)
>
> 2)Case
> crawling target => 100,000 files.
> max complete files => 79503 files.
>
> 3)ManifoldCF Status (showjobstatus.jsp)
> Error: SmbException thrown: No process is on the other end of the pipe.
>
> 4)Log
> ++++++++++++++++++++++
> WARN 2012-03-16 17:58:55,731 (Worker thread '8') - JCIFS: Possibly
> transient exception detected on attempt 1 while getting share
> security: 0x0000
> jcifs.dcerpc.DcerpcException: 0x0000
>        at jcifs.dcerpc.DcerpcBind.getResult(DcerpcBind.java:40)
>        at jcifs.dcerpc.DcerpcHandle.sendrecv(DcerpcHandle.java:249)
>        at jcifs.dcerpc.DcerpcHandle.bind(DcerpcHandle.java:126)
>        at jcifs.dcerpc.DcerpcHandle.sendrecv(DcerpcHandle.java:140)
>        at jcifs.smb.SmbFile.getShareSecurity(SmbFile.java:2943)
>        at org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.getFileShareSecurity(SharedDriveConnector.java:2342)
>        at org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.describeDocumentSecurity(SharedDriveConnector.java:1003)
>        at org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.getDocumentVersions(SharedDriveConnector.java:546)
>        at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:318)
>  WARN 2012-03-16 17:58:55,731 (Worker thread '8') - JCIFS: Possibly
> transient exception detected on attempt 2 while getting share
> security: No process is on the other end of the pipe.
> jcifs.smb.SmbException: No process is on the other end of the pipe.
>        at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:563)
>        at jcifs.smb.SmbTransport.send(SmbTransport.java:663)
>        at jcifs.smb.SmbSession.send(SmbSession.java:238)
>        at jcifs.smb.SmbTree.send(SmbTree.java:119)
>        at jcifs.smb.SmbFile.send(SmbFile.java:775)
>        at jcifs.smb.SmbFile.open0(SmbFile.java:989)
>        at jcifs.smb.SmbFile.open(SmbFile.java:1006)
>        at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:142)
>        at jcifs.smb.TransactNamedPipeOutputStream.<init>(TransactNamedPipeOutputStream.java:32)
>        at jcifs.smb.SmbNamedPipe.getNamedPipeOutputStream(SmbNamedPipe.java:187)
>        at jcifs.dcerpc.DcerpcPipeHandle.doSendFragment(DcerpcPipeHandle.java:68)
>        at jcifs.dcerpc.DcerpcHandle.sendrecv(DcerpcHandle.java:190)
>        at jcifs.dcerpc.DcerpcHandle.bind(DcerpcHandle.java:126)
>        at jcifs.dcerpc.DcerpcHandle.sendrecv(DcerpcHandle.java:140)
>        at jcifs.smb.SmbFile.getShareSecurity(SmbFile.java:2943)
>        at org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.getFileShareSecurity(SharedDriveConnector.java:2342)
>        at org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.describeDocumentSecurity(SharedDriveConnector.java:1003)
>        at org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.getDocumentVersions(SharedDriveConnector.java:546)
>        at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:318)
>
> ++++++++++++++++++++++
>
> What kind of other information should I provide ?

Mime
View raw message