索引突然停止

时间:2013-05-20 08:54:58

标签: solr lucene

我在Solr中通过一些cron脚本(PHP)进行索引时遇到了问题。问题的奇怪部分是脚本和索引在通过shell手动运行时运行良好,但在通过cron运行时突然停止。文件权限都可以。

我做了一些关于这个问题的搜索,到目前为止还没有找到任何可以导致解决方案的资源。我认为问题可能与solr有关,而不是脚本。

我正在使用solr 4.0。下面是solr索引日志以获取帮助。请求观众在这里取悦。如果我方需要什么,请告诉我。


    IFD 0 [Mon May 20 13:55:22 IST 2013; qtp1388338491-15]: init: current segments file is "segments_8aw"; deletionPolicy=org.apache.solr.core.IndexDeletionPolicyWrapper@51507e7
    IFD 0 [Mon May 20 13:55:22 IST 2013; qtp1388338491-15]: init: load commit "segments_8aw"
    IFD 0 [Mon May 20 13:55:22 IST 2013; qtp1388338491-15]: now checkpoint        "_9wv(4.0.0.2):C18890626/1 _9yf(4.0.0.2):C75000/9000 _9y6(4.0.0.2):C85359/8594 _a06(4.0.0.2):C76729/47053 _9z1(4.0.0.2):C25000/5000 _9yy(4.0.0.2):C1000 _a0n(4.0.0.2):C10007/6000 _a0o(4.0.0.2):C1144 _a0p(4.0.0.2):C8869 _a0q(4.0.0.2):C980 _a0r(4.0.0.2):C9009 _a0s(4.0.0.2):C991 _a0t(4.0.0.2):C9011 _a0u(4.0.0.2):C989 _a0v(4.0.0.2):C9013 _a0w(4.0.0.2):C987 _a0x(4.0.0.2):C9014 _a0y(4.0.0.2):C986 _a0z(4.0.0.2):C8015 _a10(4.0.0.2):C1000 _a11(4.0.0.2):C985 _a12(4.0.0.2):C3462" [22 segments ; isCommit = false]
    IW 0 [Mon May 20 13:55:22 IST 2013; qtp1388338491-15]: init: create=false
    IW 0 [Mon May 20 13:55:22 IST 2013; qtp1388338491- 15]:dir=NRTCachingDirectory(org.apache.lucene.store.MMapDirectory@/reprtsolr/solr/reply/data/index lockFactory=org.apache.lucene.store.NativeFSLockFactory@6bf491a6; maxCacheMB=48.0 maxMergeSizeMB=4.0)
    index=_9wv(4.0.0.2):C18890626/1 _9yf(4.0.0.2):C75000/9000 _9y6(4.0.0.2):C85359/8594  _a06(4.0.0.2):C76729/47053 _9z1(4.0.0.2):C25000/5000 _9yy(4.0.0.2):C1000 _a0n(4.0.0.2):C10007/6000 _a0o(4.0.0.2):C1144 _a0p(4.0.0.2):C8869 _a0q(4.0.0.2):C980 _a0r(4.0.0.2):C9009 _a0s(4.0.0.2):C991 _a0t(4.0.0.2):C9011 _a0u(4.0.0.2):C989 _a0v(4.0.0.2):C9013 _a0w(4.0.0.2):C987 _a0x(4.0.0.2):C9014 _a0y(4.0.0.2):C986 _a0z(4.0.0.2):C8015 _a10(4.0.0.2):C1000 _a11(4.0.0.2):C985 _a12(4.0.0.2):C3462
    version=4.0.0 1394950 - rmuir - 2012-10-06 03:00:40
    matchVersion=LUCENE_40
    analyzer=null
    ramBufferSizeMB=320.0
    maxBufferedDocs=-1
    maxBufferedDeleteTerms=-1
    mergedSegmentWarmer=null
    readerTermsIndexDivisor=1
    termIndexInterval=32
    delPolicy=org.apache.solr.core.IndexDeletionPolicyWrapper
    commit=null
    openMode=APPEND
    similarity=org.apache.lucene.search.similarities.DefaultSimilarity
    mergeScheduler=org.apache.lucene.index.ConcurrentMergeScheduler
    default WRITE_LOCK_TIMEOUT=1000
    writeLockTimeout=1000
    codec=Lucene40
    infoStream=org.apache.lucene.util.PrintStreamInfoStream
    mergePolicy=[TieredMergePolicy:maxMergeAtOnce=20,maxMergeAtOnceExplicit=30,maxMergedSegmentMB=5120.0, floorSegmentMB=2.0,forceMergeDeletesPctAllowed=10.0, segmentsPerTier=20.0, useCompoundFile=false, maxCFSSegmentSizeMB=8.796093022207999E12, noCFSRatio=0.1
indexerThreadPool=org.apache.lucene.index.ThreadAffinityDocumentsWriterThreadPool@7c1c2956 readerPooling=false perThreadHardLimitMB=1945

此外,solr服务器在停止索引时不会抛出错误,所以我真的不确定为什么索引会中断。

0 个答案:

没有答案
相关问题