|
From: Luna <lun...@ya...> - 2015-05-08 18:11:16
|
Hi Wolfgang,
Yes, initially I use this instance "only for testing purposes" but, as usual, one ended putting there many things not only simple tests...
I modified "$EXIST_HOME/tools/wrapper/conf/wrapper.conf" increasing the value of "wrapper.java.maxmemory" from 3072 until 19456 (!!) and the results are essentially the same, I used these two variants:
sudo java -jar start.jar org.exist.backup.ExportMain -d ~/backup/exist/ -D
sudo java -jar start.jar org.exist.backup.ExportMain -n -d ~/backup/exist/nocheck/
Is there a difference between this way (wrapper.java.maxmemory) and directly passing the -Xmx parameter to java as you mention?
Regards
De: "wol...@gm..." <wol...@gm...>
Para: Luna <lun...@ya...>
CC: "exi...@li..." <exi...@li...>
Enviado: Viernes, 8 de mayo, 2015 4:21:41
Asunto: Re: [Exist-open] Unable to initialize database instance
Hi,
you are using an older eXist version, but it looks to me like an issue in loading the security collection. Using the emergency export to create a backup is the right thing to do, but obviously it did not have sufficient memory. How did you start it? Did you pass a setting for the Java memory, e.g.:
java -jar start.jar -Xmx2048m org.exist.backup.ExportMain
Should the export still fail and you have no other usable backup, feel free to write me in private. I can usually recover even badly damaged data.
Wolfgang
Am 08 May 2015 um 04:36 schrieb Luna <lun...@ya...>:
Hi,
After several months working without problems, I couldn't initialize an eXist instance.
I didn't make any important change in the configuration, the only thing I remember is
that recently run an xquery script that modifies an xml document stored in the database.
I tried the emergency export tool but I only received several "ArrayIndexOutOfBoundsException"
exceptions and finally a "ERROR: Failed to open database: java.lang.OutOfMemoryError: GC
overhead limit exceeded"
What do you suggest me?
Thanks in advance
Environment
================================================
Ubuntu 12.04.4 LTS
Oracle Java RE 1.7.0_55-b13, 64-Bit
Service Wrapper (rev. 3.5.17)
>From $EXIST_HOME/VERSION.txt
================================================
project.version=2.0
project.build=20130207
svn.revision=18252
>From $EXIST_HOME/conf.xml
================================================
cacheSize="800M"
collectionCache="24M"
>From $EXIST_HOME/tools/wrapper/conf/wrapper.conf
================================================
wrapper.java.initmemory=1024
wrapper.java.maxmemory=3072
Tests:
================================================
1) Start/Stop Service:
Start:
~$ sudo $EXIST_HOME/tools/wrapper/bin/exist.sh start
Starting eXist-db Native XML Database. Detected Linux and installed upstart.
eXist-db start/running, process 46039
Waiting for eXist-db Native XML Database...................................
running: PID:46091
(From $EXIST_HOME/webapp/WEB-INF/logs/exist.log)
2015-05-06 17:18:47,938 [WrapperListener_start_runner] INFO (RecoveryManager.java [recover]:108) - Unclean shutdown detected. Scanning journal...
2015-05-06 17:18:47,949 [WrapperListener_start_runner] INFO (RecoveryManager.java [recover]:143) - Dirty transactions: 3
2015-05-06 17:18:47,949 [WrapperListener_start_runner] INFO (RecoveryManager.java [recover]:153) - Running recovery...
2015-05-06 17:18:47,949 [WrapperListener_start_runner] INFO (RecoveryManager.java [doRecovery]:193) - Running recovery ...
2015-05-06 17:18:47,949 [WrapperListener_start_runner] INFO (RecoveryManager.java [doRecovery]:202) - First pass: redoing 3 transactions...
2015-05-06 17:18:47,951 [WrapperListener_start_runner] INFO (RecoveryManager.java [doRecovery]:221) - Redoing journal transaction (52 lines like this one)
2015-05-06 17:18:47,972 [WrapperListener_start_runner] INFO (RecoveryManager.java [doRecovery]:236) - Redo processed 3 out of 3 transactions.
2015-05-06 17:18:47,972 [WrapperListener_start_runner] INFO (RecoveryManager.java [doRecovery]:241) - Second pass: undoing dirty transactions. Uncommitted transactions: 0
2015-05-06 17:18:48,472 [WrapperListener_start_runner] INFO (NativeBroker.java [repair]:3583) - Removing index files ...
2015-05-06 17:18:48,495 [WrapperListener_start_runner] INFO (NativeBroker.java [repair]:3590) - Recreating index files ...
2015-05-06 17:18:48,499 [WrapperListener_start_runner] INFO (NativeBroker.java [repair]:3602) - Reindexing database files ...
2015-05-06 17:18:53,916 [WrapperListener_start_runner] WARN (NativeValueIndex.java [convertToAtomic]:1328) - Node value '' cannot be converted to xs:double (several errors like this one)
2015-05-06 17:18:56,304 [WrapperListener_start_runner] WARN (NativeValueIndex.java [convertToAtomic]:1328) - Node value '2013-12' cannot be converted to xs:date (several errors like this one)
2015-05-06 17:19:16,687 [WrapperListener_start_runner] ERROR (BrokerPool.java [configure]:267) - Unable to initialize database instance 'exist': java.lang.StackOverflowError
org.exist.EXistException: java.lang.StackOverflowError
at org.exist.storage.BrokerPool.<init>(BrokerPool.java:735)
at org.exist.storage.BrokerPool.configure(BrokerPool.java:248)
at org.exist.storage.BrokerPool.configure(BrokerPool.java:224)
at org.exist.jetty.JettyStart.run(JettyStart.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.exist.wrapper.Main.start(Main.java:85)
at org.tanukisoftware.wrapper.WrapperManager$11.run(WrapperManager.java:4042)
Caused by: java.lang.StackOverflowError
at org.exist.dom.QNamePool.get(QNamePool.java:66)
at org.exist.dom.SymbolTable.getQName(SymbolTable.java:145)
at org.exist.dom.ElementImpl.deserialize(ElementImpl.java:282)
at org.exist.dom.StoredNode.deserialize(StoredNode.java:151)
at org.exist.storage.dom.NodeIterator.next(NodeIterator.java:177)
at org.exist.storage.dom.NodeIterator.next(NodeIterator.java:28)
at org.exist.storage.NativeBroker.scanNodes(NativeBroker.java:3493) (1019 lines like this one)
Stop:
~$ sudo /opt/exist/tools/wrapper/bin/exist.sh stop
Stopping eXist-db Native XML Database...
Stopped eXist-db Native XML Database.
(nothing in $EXIST_HOME/webapp/WEB-INF/logs/exist.log)
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________
Exist-open mailing list
Exi...@li...
https://lists.sourceforge.net/lists/listinfo/exist-open
|