Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

INCREASE HEAP SIZE: service-specific error 2

Status
Not open for further replies.

kazaneh

Technical User
Mar 2, 2004
22
IE
Hi guys,
I am having one of this performance issues that is driving me mad with my Coldfusion 6.1 Application Server running big queries from SQL SERVER 2000. The performance issues normally happen when I have more users connected.
The application Server is Windows 2000 SP4 with 8 GB of RAM and 4 processors.
I am trying to incresea the HEAP SIZE but I keep getting this error “The ColdFusion MX Application Server service terminated with service-specific error 2.”
I have 2 questions:
1/ what is the correct INITIAL and MAX HEAP size that I need for a good performance?
2/ is there something in the JVM arguments that I could modify (see screenshot)
3/Anybody know the reason of the error I’m getting when I’m increase the heap size?

Thanks very much!!!
Kazan
 
Hi Russ,
Thanks very much for your help. These are my JVM values. As you can see the MAX Heap is 1024.

Any suggestion?? It works fine with small queries but when I run 2 or 3 big queries at the same time it takes ages.

Minimum JVM Heap Size (MB):
Maximum JVM Heap Size (MB):1024

JVM Arguments:


-server -Dsun.io.useCanonCaches=false -
Xbootclasspath/a:"{application.home}/../lib/webchartsJava2D
.jar" -XX:MaxPermSize=128m -XX:+UseParallelGC -
Djavax.xml.parsers.SAXParserFactory=com.macromedia.crimson.
jaxp.SAXParserFactoryImpl -
Djavax.xml.parsers.DocumentBuilderFactory=com.macromedia.cr
imson.jaxp.DocumentBuilderFactoryImpl


System information:

Server Product
ColdFusion MX

Version
6,1,0,83762

Edition
Enterprise

Operating System
Windows 2000

OS Version
5.0

JVM Details
Java Version
1.4.2

Java Vendor
Sun Microsystems Inc.

Java Vendor URL

Java Home
C:\CFusionMX\runtime\jre

File Separator
\

Path Separator
;

Line Separator
Chr(13)

User Name
SYSTEM

User Home
C:\Documents and Settings\Default User

User Dir
C:\CFusionMX\runtime\bin

Java VM Specification Version
1.0

Java VM Specification Vendor
Sun Microsystems Inc.

Java VM Specification Name
Java Virtual Machine Specification

Java VM Version
1.4.2-b28

Java VM Vendor
Sun Microsystems Inc.

Java VM Name
Java HotSpot(TM) Server VM

Java Specification Version
1.4

Java Specification Vendor
Sun Microsystems Inc.

Java Specification Name
Java Platform API Specification

Java Class Version
48.0

Java Class Path
C:\CFusionMX\runtime\servers\lib; C:\CFusionMX\runtime\..\lib\cfusion.jar; C:\CFusionMX\runtime\..\lib; C:\CFusionMX\runtime\..\lib\bcel.jar; C:\CFusionMX\runtime\..\lib\cf4was.jar; C:\CFusionMX\runtime\..\lib\cf4was_ae.jar; C:\CFusionMX\runtime\..\lib\cfmx-j2ee.jar; C:\CFusionMX\runtime\..\lib\cfmx-ssl.jar; C:\CFusionMX\runtime\..\lib\cfmx_bootstrap.jar; C:\CFusionMX\runtime\..\lib\cfusion.jar; C:\CFusionMX\runtime\..\lib\cfx.jar; C:\CFusionMX\runtime\..\lib\collections.jar; C:\CFusionMX\runtime\..\lib\crimson.jar; C:\CFusionMX\runtime\..\lib\flashgateway.jar; C:\CFusionMX\runtime\..\lib\httpclient.jar; C:\CFusionMX\runtime\..\lib\izmado.jar; C:\CFusionMX\runtime\..\lib\jakarta-oro-2.0.6.jar; C:\CFusionMX\runtime\..\lib\java2wsdl.jar; C:\CFusionMX\runtime\..\lib\jaxp-api.jar; C:\CFusionMX\runtime\..\lib\jce1_2_1.jar; C:\CFusionMX\runtime\..\lib\jdom.jar; C:\CFusionMX\runtime\..\lib\jintegra.jar; C:\CFusionMX\runtime\..\lib\ldap.jar; C:\CFusionMX\runtime\..\lib\ldapbp.jar; C:\CFusionMX\runtime\..\lib\local_policy.jar; C:\CFusionMX\runtime\..\lib\log4j.jar; C:\CFusionMX\runtime\..\lib\macromedia_drivers.jar; C:\CFusionMX\runtime\..\lib\mail.jar; C:\CFusionMX\runtime\..\lib\msapps.jar; C:\CFusionMX\runtime\..\lib\NetComponents.jar; C:\CFusionMX\runtime\..\lib\pbclient42RE.jar; C:\CFusionMX\runtime\..\lib\pbembedded42RE.jar; C:\CFusionMX\runtime\..\lib\pbserver42RE.jar; C:\CFusionMX\runtime\..\lib\pbtools42RE.jar; C:\CFusionMX\runtime\..\lib\sunjce_provider.jar; C:\CFusionMX\runtime\..\lib\tools.jar; C:\CFusionMX\runtime\..\lib\tt-bytecode.jar; C:\CFusionMX\runtime\..\lib\US_export_policy.jar; C:\CFusionMX\runtime\..\lib\viewer.jar; C:\CFusionMX\runtime\..\lib\webcharts.jar; C:\CFusionMX\runtime\..\lib\webchartsJava2D.jar; C:\CFusionMX\runtime\..\lib\webservices.jar; C:\CFusionMX\runtime\..\lib\wsdl2java.jar; C:\CFusionMX\runtime\..\lib\xalan.jar; C:\CFusionMX\runtime\..\runtime\lib\jrun.jar; C:\CFusionMX\runtime\..\runtime\lib; C:\CFusionMX\runtime\..\runtime\lib\java2wsdl.jar; C:\CFusionMX\runtime\..\runtime\lib\jrun-ant-tasks.jar; C:\CFusionMX\runtime\..\runtime\lib\jrun-xdoclet.jar; C:\CFusionMX\runtime\..\runtime\lib\jrun.jar; C:\CFusionMX\runtime\..\runtime\lib\jspc.jar; C:\CFusionMX\runtime\..\runtime\lib\migrate.jar; C:\CFusionMX\runtime\..\runtime\lib\oem-xdoclet.jar; C:\CFusionMX\runtime\..\runtime\lib\sniffer.jar; C:\CFusionMX\runtime\..\runtime\lib\webservices.jar; C:\CFusionMX\runtime\..\runtime\lib\wsconfig.jar; C:\CFusionMX\runtime\..\runtime\lib\wsdl2java.jar; C:\CFusionMX\runtime\..\runtime\lib\xmlscript.jar; C:\CFusionMX\runtime\..\..\src; C:\CFusionMX\runtime\lib\jrun.jar

Java Ext Dirs
C:\CFusionMX\runtime\jre\lib\ext




Thanks again for your help
Kazan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top