JBoss Service startup Failure report: Error occurred during initialization of VM

Source: Internet
Author: User

This afternoon suddenly the company's GTV management platform is not going to

Access is true, prompt cannot find page

Log on to the terminal to view the service process.

Ps-ef | grep JBoss

found no such process. What to do, start to be.

Input nohup/home/cdms/jboss-4.0.5.ga/bin/run.sh &

Review the process again after you start.

Ps-ef | grep JBoss

Then, the process still does not start. Strange, check the log.

Tail-n 200-f nohup.out Discovery reported the following error

=========================================================================  JBoss Bootstrap Environment  Jboss_home:/home/cdms/jboss-4.0.5.ga  JAVA:/home/cdms/jdk1.6.0_32/bin/java  java_opts:-Dprogram.name= Run.sh-server-xms12000m-xmx12000m-xx:newsize=256m-xss128k-xx:maxnewsize=512m-xx:permsize=128m-xx:maxpermsize= 512m-xx:+useconcmarksweepgc-xx:+cmspermgensweepingenabled-xx:+cmsclassunloadingenabled- Djboss.platform.mbeanserver  CLASSPATH:/home/cdms/jboss-4.0.5.ga/bin/run.jar:/home/cdms/jdk1.6.0_32/lib/ Tools.jar=========================================================================please use Cmsclassunloadingenabled in place of cmspermgensweepingenabled in the futureerror occurred during initialization of VMCoul D not reserve enough space for object heap

See the log in front of a few lines no problem, show "normal", see below the time to find an error
Google a little bit of memory is not enough to start.

And then look at the memory remaining space,

Free-m

It's really not enough, so find the problem and start solving it.

Freeing memory

Echo 1 >/proc/sys/vm/drop_caches

Then look at the memory again

Did release a lot and then start the JBoss service again

But...

The error remains the same

Check the log information carefully. The memory size set in the Java_opts configuration above is found to be 12000m in this memory which is not enough, then decisively changed to 512m

Start the JBoss server

Review the process again

Okay, OK.

JBoss Service startup Failure report: Error occurred during initialization of VM

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.