-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-XX:ParallelGCThreads=N #22245
Comments
Some OpenJDK package maintainers (the RedHat line for sure) decided to start shipping their OpenJDK packages with |
Hi, |
There is a file named jvm.options at |
I encounter same issue again and try to follow the idea @KeithTt centos_7_04_64_20G openjdk version "1.8.0_181" |
@flyinghawker You want |
@jasontedor Thanks for the tricky detail notice. And setting -Xms?? and -Xmx?? also matters for me because my testing server RAM is only 1G, have to reduce to be lower than the free part of it. Thanks. |
How do I add -XX:+AssumeMP if I am using a Docker. Where should I search for files |
@SaiDesabathina I am happy to try to help but first I have some questions:
|
@jasontedor Thanks for coming forward to help. I will explain my problem clearly. It should answer your questions. I downloaded elastic search (6.5.0), kibana (6.5.0) and logstash (6.5.0) images from Elastic website. I was successful in launching elastic search and kibana containers and following this I was trying to link logstash with elastic search. I am doing by following a youtube tutorial. To link logstash and elastic search I ran the following command: docker run -h logstash --name logstash_a --link elasticsearch_1:elasticsearch -it This came up with the following error: OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N There is insufficient memory for the Java Runtime Environment to continue.Native memory allocation (mmap) failed to map 986513408 bytes for committing reserved memory.An error report file with more information is saved as:/usr/share/logstash/hs_err_pid1.logCould you please help me in launching logstash container and linking it with elastic search. Do you have any tutorial that I can use to learn. Regards |
I still can not tell if you’re using the official Elastic Docker images or not. It appears not, but I would prefer to not assume. Ultimately your problem is not related to |
thanks! |
@WilburXu You want |
OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
OS: CENTOS7.2
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
failed to start elasticsearch service...
The text was updated successfully, but these errors were encountered: