11-22-2006 02:26 PM
00:03:43,186 ERROR [org.alfresco.repo.search.impl.lucene.LuceneBase2] Errorjava.io.FileNotFoundException: ./alf_data/lucene-indexes/workspace/SpacesStore/0e3909ea-79a7-11db-946d-3bededff6578/IndexInfoDeletions (Too many open files)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getDeletions(IndexInfo.java:648)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.createMainIndexReader(IndexInfo.java:1377)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getMainIndexReferenceCountingReadOnlyIndexReader(IndexInfo.java:748)
at org.alfresco.repo.search.impl.lucene.LuceneBase2.getSearcher(LuceneBase2.java:156)
at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.updateFullTextSearch(LuceneIndexerImpl2.java:1772)
at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.index(FullTextSearchIndexerImpl.java:172)
at sun.reflect.GeneratedMethodAccessor503.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy4.index(Unknown Source)
at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSIndexerJob.java:36)
at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
00:03:43,193 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.ftsIndexerJobDetail threw an unhandled Exception:
org.alfresco.repo.search.impl.lucene.LuceneIndexException: Failed FTS update
at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.updateFullTextSearch(LuceneIndexerImpl2.java:1897)
at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.index(FullTextSearchIndexerImpl.java:172)
at sun.reflect.GeneratedMethodAccessor503.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy4.index(Unknown Source)
at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSIndexerJob.java:36)
at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)Caused by: org.alfresco.repo.search.impl.lucene.LuceneIndexException: Failed to open IndexSarcher for ./alf_data/lucene-indexes/workspace/SpacesStore/
at org.alfresco.repo.search.impl.lucene.LuceneBase2.getSearcher(LuceneBase2.java:172)
at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.updateFullTextSearch(LuceneIndexerImpl2.java:1772)
… 14 moreCaused by: java.io.FileNotFoundException: ./alf_data/lucene-indexes/workspace/SpacesStore/0e3909ea-79a7-11db-946d-3bededff6578/IndexInfoDeletions (Too many open files)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:866)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
00:03:43,186 ERROR [org.alfresco.repo.search.impl.lucene.LuceneBase2] Error
java.io.FileNotFoundException: ./alf_data/lucene-indexes/workspace/SpacesStore/0e3909ea-79a7-11db-946d-3bededff6578/IndexInfoDeletions (Too many open files)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getDeletions(IndexInfo.java:648)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.createMainIndexReader(IndexInfo.java:1377)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getMainIndexReferenceCountingReadOnlyIndexReader(IndexInfo.java:748)
at org.alfresco.repo.search.impl.lucene.LuceneBase2.getSearcher(LuceneBase2.java:156)
at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.updateFullTextSearch(LuceneIndexerImpl2.java:1772)
at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.index(FullTextSearchIndexerImpl.java:172)
at sun.reflect.GeneratedMethodAccessor503.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy4.index(Unknown Source)
at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSIndexerJob.java:36)
at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
[root@fidji alfresco]# lsof | grep luc | wc -l
845
[root@fidji alfresco]# lsof | grep lucWhat can I do ?
java 3930 root 807r REG 9,0 21298 18677931 /data/alfresco/alf_data/lucene-indexes/workspace/lightWeightVersionStore/d9838a8f-79a6-11db-946d-3bededff6578/_m.cfs (deleted)
java 3930 root 808r REG 9,0 18657 18678420 /data/alfresco/alf_data/lucene-indexes/workspace/lightWeightVersionStore/f7a4dc0a-79a6-11db-946d-3bededff6578/_j.cfs (deleted)
java 3930 root 809r REG 9,0 22366 18678493 /data/alfresco/alf_data/lucene-indexes/workspace/lightWeightVersionStore/0f1efd2e-79a7-11db-946d-3bededff6578/_n.cfs (deleted)
java 3930 root 810r REG 9,0 21296 18564073 /data/alfresco/alf_data/lucene-indexes/workspace/lightWeightVersionStore/286aab1d-79a7-11db-946d-3bededff6578/_m.cfs (deleted)
java 3930 root 811r REG 9,0 5789 18678520 /data/alfresco/alf_data/lucene-indexes/workspace/SpacesStore/a3bbbacb-79a7-11db-946d-3bededff6578/_4.cfs
java 3930 root 812r REG 9,0 22409 18678521 /data/alfresco/alf_data/lucene-indexes/workspace/lightWeightVersionStore/34e16e87-79a7-11db-946d-3bededff6578/_n.cfs
java 3930 root 813r REG 9,0 4019 18678523 /data/alfresco/alf_data/lucene-indexes/workspace/SpacesStore/a4082d21-79a7-11db-946d-3bededff6578/_2.cfs
java 3930 root 814r REG 9,0 18656 18678536 /data/alfresco/alf_data/lucene-indexes/workspace/lightWeightVersionStore/a4d8eaac-79a7-11db-946d-3bededff6578/_j.cfs
java 3930 root 815r REG 9,0 23181 18678553 /data/alfresco/alf_data/lucene-indexes/workspace/lightWeightVersionStore/11c3e8ff-79a8-11db-946d-3bededff6578/_o.cfs
11-30-2006 06:18 PM
/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties
lucene.indexer.batchSize=2048
12-01-2006 01:35 AM
12-01-2006 03:48 AM
01-12-2007 10:03 AM
01-12-2007 10:24 AM
01-18-2007 01:30 PM
<nestedThrowable class="org.alfresco.service.cmr.repository.ContentIOException" id="17">
<detailMessage>Failed to open stream onto channel:
accessor: Content[ url=file://2006/11/6/bba05348-6deb-11db-8a92-41c1536b4be4.bin, mimetype=application/octet-stream, encoding=null]</detailMessage>
<cause class="org.alfresco.service.cmr.repository.ContentIOException" id="18">
<detailMessage>Failed to open file channel: Content[ url=file://2006/11/6/bba05348-6deb-11db-8a92-41c1536b4be4.bin, mimetype=application/octet-stream, encoding=null]</detailMessage>
<cause class="java.io.FileNotFoundException" id="19">
<detailMessage>/home/tomcat-test/jakarta-tomcat-5.5.9/./alfresco/contentstore/2006/11/6/bba05348-6deb-11db-8a92-41c1536b4be4.bin (Too many open files)</detailMessage>
<cause class="java.io.FileNotFoundException" reference="19"/>
<stackTrace id="20">
<trace id="21">java.io.RandomAccessFile.open(Native Method)</trace>
<trace id="22">java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)</trace>
<trace id="23">org.alfresco.repo.content.filestore.FileContentReader.getDirectReadableChannel(FileContentReader.java:139)</trace>
<trace id="24">org.alfresco.repo.content.AbstractContentReader.getReadableChannel(AbstractContentReader.java:184)</trace>
<trace id="25">org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:201)</trace>
01-18-2007 04:34 PM
Hi
Yes, that's the correct way to rebuild.
Could anyone with this problem let us know which Linux (distro & ver) they are using? We did the 10 million document benchmarks on Red Hat, so it doesn't seem like it should be a general "Linux" problem.
Cheers
Paul.
15:30:46,155 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] Index recovery started: 4,098 transactions.
15:35:34,210 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 10 % complete.
15:36:15,943 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 20 % complete.
15:36:46,570 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 30 % complete.
15:37:56,449 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 40 % complete.
15:40:38,260 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 50 % complete.
15:43:50,647 ERROR [net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection] disconnected unexpectedly
15:45:03,938 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 60 % complete.
15:48:28,601 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 70 % complete.
15:49:38,818 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 80 % complete.
15:50:41,532 ERROR [net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection] disconnected unexpectedly
15:50:42,019 ERROR [org.alfresco.repo.search.impl.lucene.index.IndexInfo] java.io.FileNotFoundException: /opt/alfresco14/alf_data/lucene-indexes/workspace/SpacesStore/8f6026a9-a735-11db-8c48-7b6dddb51ec3/segments (Too many open files)
15:50:42,082 ERROR [org.alfresco.repo.search.impl.lucene.index.IndexInfo] java.lang.NullPointerException
16:01:14,552 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] Index recovery started: 4,098 transactions.
16:01:59,752 ERROR [net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection] disconnected unexpectedly
16:05:06,762 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 10 % complete.
16:06:41,865 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 20 % complete.
16:07:41,861 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 30 % complete.
16:08:56,494 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 40 % complete.
16:11:44,463 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 50 % complete.
16:13:16,176 ERROR [net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection] disconnected unexpectedly
16:16:36,848 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 60 % complete.
16:20:30,813 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 70 % complete.
16:21:33,967 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 80 % complete.
16:23:38,006 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 90 % complete.
16:25:04,739 ERROR [net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection] disconnected unexpectedly
16:26:09,728 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 100 % complete.
16:26:09,729 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] Index recovery completed.
01-18-2007 07:58 PM
…
Could this be a leak in java 6?
01-22-2007 06:58 AM
02-07-2007 12:05 PM
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xb20b8ecd, pid=3688, tid=2061646768
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_08-b03 mixed mode)
# Problematic frame:
# J java.util.HashMap$ValueIterator.next()Ljava/lang/Object;
#
————— T H R E A D —————
Current thread (0x0851c950): JavaThread "Sess_T19_192.168.0.103" daemon [_thread_in_Java, id=8461]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00005510
Registers:
EAX=0xad784f38, EBX=0x00000007, ECX=0x7f940c20, EDX=0x00005500
ESP=0x7ae22458, EBP=0xae0c5130, ESI=0xaecda5a0, EDI=0x00000004
EIP=0xb20b8ecd, CR2=0x00005510, EFLAGS=0x00010246
Top of Stack: (sp=0x7ae22458)
0x7ae22458: 8338fc00 b199c7f0 8338f7c8 aecda5a0
0x7ae22468: ae0c5130 00000004 ad5cb5f0 b1ec7270
0x7ae22478: 7f940bd4 7f9405dc 00000003 7f940520
0x7ae22488: 7f940be0 8339f500 0851c950 7f940520
0x7ae22498: 7f9406d8 7f9404a8 8339f500 8338a758
0x7ae224a8: 7f940c20 00000003 7f940538 7f940bd4
0x7ae224b8: 00000026 7f940370 b7aeb55e b21a7ca4
0x7ae224c8: afdc8078 00000000 7f93e9f8 7f940300
Instructions: (pc=0xb20b8ecd)
0xb20b8ebd: 53 24 8b 59 14 3b d3 0f 85 d7 00 00 00 8b 51 08
0xb20b8ecd: 8b 5a 10 89 74 24 0c 89 6c 24 10 89 7c 24 14 8b
Stack: [0x7ada3000,0x7ae24000), sp=0x7ae22458, free space=509k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J java.util.HashMap$ValueIterator.next()Ljava/lang/Object;
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.