0

I have an Ubuntu 18.04 LTS server and willing to install SOLR on it, note it is a development server with many other software on it.

The installation works well:

java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

Current solr version is solr-6.6.5, but also tried with 7.4.0 with same issue.

Once installed, I'm running:

sudo su - solr -c "/opt/solr/bin/solr create -c gettingstarted -n data_driven_schema_configs"

And the output is:

Copying configuration to new core instance directory:
/var/solr/data/gettingstarted

Creating new core 'gettingstarted' using command:
http://localhost:8983/solr/admin/cores?action=CREATE&name=gettingstarted&instanceDir=gettingstarted

And it stops there, nothing happens, I left it running for 24h.

The logs shows (/var/solr/logs/solr_gc.log.0.current):

2018-08-28T05:53:22.258+0000: 51631.799: Total time for which application threads were stopped: 0.0452489 seconds, Stopping threads took: 0.0000474 seconds
2018-08-28T05:54:38.561+0000: 51708.103: Total time for which application threads were stopped: 0.0008046 seconds, Stopping threads took: 0.0000472 seconds
2018-08-28T05:56:38.573+0000: 51828.114: Total time for which application threads were stopped: 0.0007867 seconds, Stopping threads took: 0.0000490 seconds
2018-08-28T05:58:38.585+0000: 51948.126: Total time for which application threads were stopped: 0.0007913 seconds, Stopping threads took: 0.0000489 seconds
2018-08-28T06:00:38.596+0000: 52068.137: Total time for which application threads were stopped: 0.0007736 seconds, Stopping threads took: 0.0000501 seconds
2018-08-28T06:02:38.608+0000: 52188.149: Total time for which application threads were stopped: 0.0007936 seconds, Stopping threads took: 0.0000626 seconds
2018-08-28T06:04:38.620+0000: 52308.161: Total time for which application threads were stopped: 0.0007923 seconds, Stopping threads took: 0.0000475 seconds
{Heap before GC invocations=58 (full 1):
par new generation   total 2184576K, used 1747720K [0x0000000540000000, 0x00000005e0000000, 0x00000005e0000000)
eden space 1747712K, 100% used [0x0000000540000000, 0x00000005aaac0000, 0x00000005aaac0000)
from space 436864K,   0% used [0x00000005aaac0000, 0x00000005aaac21b8, 0x00000005c5560000)
to   space 436864K,   0% used [0x00000005c5560000, 0x00000005c5560000, 0x00000005e0000000)
concurrent mark-sweep generation total 7864320K, used 16205K [0x00000005e0000000, 0x00000007c0000000, 0x00000007c0000000)
Metaspace       used 30124K, capacity 30952K, committed 31128K, reserved 1077248K
class space    used 3497K, capacity 3730K, committed 3736K, reserved 1048576K
2018-08-28T06:05:52.260+0000: 52381.801: [GC (Allocation Failure) 2018-08-28T06:05:52.260+0000: 52381.801: [ParNew
Desired survivor size 402613856 bytes, new threshold 8 (max 8)
- age   1:       2216 bytes,       2216 total
: 1747720K->8K(2184576K), 0.0456241 secs] 1763925K->16213K(10048896K), 0.0457989 secs] [Times: user=0.18 sys=0.00, real=0.04 secs] 

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.