Several performance-related configuration weblogic (transfer of: tacy lee)

2011-05-24  来源:本站原创  分类:Tech  人气:110 

weblogic.xml
<container-descriptor>

servlet-reload-check-secs

The <servlet-reload-check-secs> element defines whether a WebLogic Server will check to see if a servlet has been modified, and if it has been modified, reloads it.

The value -1 means never check the servlets. This is the default value in a production environment.

The value 0 means always check the servlets.

The value 1 means check the servlets every second. This is the default value in a development environment.

A value specified in the console will always take precedence over a manually specified value.

resource-reload-check-secs

The <resource-reload-check-secs> element is used to perform metadata caching for cached resources that are found in the resource path in the Web application scope. This parameter identifies how often WebLogic Server checks whether a resource has been modified and if so , it reloads it.

The value -1 means metadata is cached but never checked against the disk for changes. In a production environment, this value is recommended for better performance.

The value 0 indicates not to do any metadata caching. Customers who keep changing their files must set this parameter to a value greater than or equal to 0.

The value 1 means reload every second. This is the default value in a development environment.

Values ​​specified for this parameter using the Admin Console are given precedence.

native-io-enabled

To use native I / O while serving static files with weblogic.servlet.FileServlet, which is implicitly registered as the default servlet, set native-io-enabled to true. (The default value is false.) Native-io-enabled element applies only on Windows.

<jsp-descriptor>

page-check-seconds

Sets the interval, in seconds, at which WebLogic Server checks to see if JSP files have changed and need recompiling. Dependencies are also checked and recursively reloaded if changed.

The value -1 means never check the pages. This is the default value in a production environment.

The value 0 means always check the pages.

The value 1 means check the pages every second. This is the default value in a development environment.

In a production environment where changes to a JSP are rare, consider changing the value of pageCheckSeconds to 60 or greater, according to your tuning requirements.

JDBC
Set Initial Capacity equal to the Maximum Capacity

Setting Statement cache (note that for each open statement, DBMS will maintain a cursor, this value is set through the General Assembly led to java.sql.SQLException: ORA-01000: maximum open cursors exceeded similar error. Of course, you know, statement The size of cache to cache for each connection is the statement number, for example, you set the connection pool size = 100, set the Statement Cache = 10, then the system to maintain the cursor to the maximum 100 * 10)

Network connection
Enable Native IO (note, not java's NIO, using Java muxer approach to connectivity, the great impact a large concurrent systems, java need for each connection request from a thread to handle)

Modify the Accept Backlog, when the application server reject the connection when there

Start the weblogic startup script using productmode

Set-xms equal-xmx

To make use jrockit

work manager
After release from the 9, weblogic replaced with the work manager thread queue, by default, weblogic there is a default work manager, the average share method using the thread fair share

Usually you do not need to create a work manager, unless you have the following requirements:

Your application has priority

You need to meet the definition of response time SLA

Need to specify the minimum threads constraint to avoid server deadlock

相关文章
  • Several performance-related configuration weblogic (transfer of: tacy lee) 2011-05-24

    weblogic.xml <container-descriptor> servlet-reload-check-secs The <servlet-reload-check-secs> element defines whether a WebLogic Server will check to see if a servlet has been modified, and if it has been modified, reloads it. The value -1 mea

  • [Change] Spring integration velociy / freemaker related configuration 2010-07-16

    Spring Framework Developer Reference: 14.4. Velocity and FreeMarker Velocity and FreeMarker are two templating languages that can be used as view technologies within Spring MVC applications. Their language style and applies to the object are very sim

  • nutch related configuration in the Nutch-defaul.xml 2010-11-28

    Nutch-default.XML related configuration <property> <name> http.max.delays </ name> <value> 20 </ value> <description> The number of times a thread will delay when trying to fetch a page. Each time it finds that a host i

  • Tomcat configuration optimization transfer 2010-11-03

    1. Tomcat and configuration files to streamline 1.1. Remove unwanted applications management applications and help to improve the tomcat security. # Delete all the files under the webapps # Rm-fr $ CATALINA_HOME / webapps / * # Remove server / wenapp

  • Access performance handling large sites (transfer set) 2011-07-28

    Website performance optimization and high-performance system architecture (ZT) Talk about the large high concurrent high load site architecture reproduced leave Source: Chun Lin Michael's blog (http://www.toplee.com/blog/?p=71) Trackback Url: http://

  • Spring in the Datasource configuration weblogic 2008-10-17

    Jdbc datasource on weblogic configuration please refer to Annex WebLogic + eclipse + oracle framework built using the documentation. In the spring through jndi configure datasource. <!--resourceRef If you do not want to use 'java:comp/env/' The prefi

  • Some testing software and related configuration 2010-08-18

    27. Stress test loadRunner Stress testing jmeter Memory of jmap Analysis of multithreaded memory analysis, code coverage jprobe Our testers used these much, we developers may be less used 28. Typical Chinese Olympics a site to a standstill, he could

  • postgressql performance optimization configuration parameter 2010-11-05

    pg configuration parameters, performance optimization: PostgreSQL configuration file is a database directory (/ opt/PostgresPlus/8.3/data) under the postgresql.conf file, to support future versions 8.0 K, M, G such parameters, as long as modify the p

  • Four kinds of XML parser performance comparison principle and [transfer] 2010-11-24

    Principles of XML parser and Performance Comparison of four kinds of 1: DOM DOM is platform and language independent way, said an official W3C standard XML documents. DOM is a hierarchical organization of nodes or a collection of pieces of informatio

  • The following spring iBATIS transaction management - using AOP XML configuration management [transfer] 2010-12-21

    Spring under the management of things in three ways: programmatic transaction management, declarative transaction management and AOP transaction management. Management which is divided AOP AOP annotations and AOP XML configuration transaction managem

  • redhat4 under oracle10g configuration, weblogic configuration 2010-12-29

    Linux training company some time ago, and then configure the oracle10g redhat4 and weblogic Writing and problems encountered during the configuration process, Annex.

  • vim configuration information (transfer) 2010-07-13

    In the terminal when using vim for editing, by default, edit the interface is not displayed line numbers, syntax highlighting, smart indentation and other features. In order to work under in vim, need to manually set up a configuration file:. Vimrc.

  • visual studio 2010 install OpenCV and related configuration 2010-12-09

    [Note: This article reference] http://www.opencv.org.cn/forum/viewtopic.php?f=1&t=11157 for editing and finishing, while some of the error correction Environment: windows 7 + visual studio 2010 + opencv 2.1 1 download OpenCV2.1 Official Address: http

  • vim related configuration 2011-01-02

    vim to use the default configuration is also not satisfactory, you also need to configure their own default configuration file is: / etc / vim / vimrc We can build your own home directory configuration files Switch home directory # cd ~ touch a file

  • Some test software and related configuration 2010-08-18

    27. Stress test loadRunner Stress testing jmeter Memory analysis jmap Analysis of multi-threaded memory analysis, code coverage jprobe We use much of these testers, we developers may be less used 28 typical Chinese Olympics a site to a standstill, he

  • (1) Oracle installation and related configuration - Oracle DBA training course 2011-03-04

    I am the Oracle learning environment, Centos5.4, Oracle10.2.0.1. 1: Oracle Enterprise Manager Console HTTP port number from the following file to view, $ ORACLE_HOME / install / portlist.ini 2: Start Oracle em emctl start dbconsole Browser address en

  • hibernate configuration weblogic Oracle connection pool 2011-10-13

    ###################### # # # Query Language # # # ###################### hibernate.query.substitutions = yes 'Y', no 'N' hibernate.show_sql = true hibernate.connection.autoReconnect = true hibernate.connection.pool_size = 5 hibernate.proxool.pool_ali

  • MySql linux related configuration 2011-10-25

    1, the character set to UTF8 Modify / etc / my.cnf (If not, under the my-medium.conf mysql copying to / etc, and change the name to, my.cnf) In the [client] and [mysqld] add default-character-set = utf8 You can restart the service 2, modify the MySQL

  • Tuning the Performance of documentum UCF Content Transfer 2011-05-27

    In Documentum applications, the speed at which users can retrieve or add content to the system plays a big part in the overall end user experience. Network latency and bandwidth restrictions, physical architecture and client configuration all have an

  • sendfile principle, to achieve improved file transfer performance 2011-08-02

    In apache, nginx, lighttpd web server, etc. which have a sendfile related configuration, has some online information about sendfile will increase file transfer performance, it sendfile in the end what is it? Its principle is to it? Inside the traditi