Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

πŸš— You set the rental price
πŸ” Secure bookings with verified renters
πŸ“ Track your vehicle with GPS integration
πŸ’° Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

ElasticSearch Error – this can cause resize pauses and prevents mlockall from locking the entire heap

Error Message

[ec2-user@es-data01 bin]$ OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
ERROR: [1] bootstrap checks failed
[1]: initial heap size [1048576000] not equal to maximum heap size [2097152000]; this can cause resize pauses and prevents mlockall from locking the entire heap
ERROR: Elasticsearch did not exit normally - check the logs at /home/ec2-user/elasticsearch-7.6.0/logs/devopsschool.logCode language: JavaScript (javascript)

Solutions

Setting the parameter -Xms to the same value of -Xmx in /etc/elasticsearch/jvm.options solved the problem πŸ™‚ Thanks

export ES_HEAP_SIZE=2024m
echo $ES_HEAP_SIZE
export ES_JAVA_OPTS="-Xms1000m -Xmx2000m" /home/ec2-user/elasticsearch-7.6.0/bin/elasticsearch

$ cd /home/ec2-user/elasticsearch-7.6.0/config
$ vi jvm.options # Make -Xmx1g to -Xmx1g
$ more /home/ec2-user/elasticsearch-7.6.0/config/jvm.options | grep Xm
CLIENT
.........
-Xms1g
-Xmx1g

Master
........
-Xms2g
-Xmx2g

DATA
.......
-Xms1g
-Xmx1gCode language: PHP (php)

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.