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