码迷,mamicode.com
首页 > 其他好文 > 详细

1-11

时间:2015-01-11 17:36:50      阅读:247      评论:0      收藏:0      [点我收藏+]

标签:

 

技术分享

maxThreads="150"

minSpareThreads="4"

acceptCount="500"  #超过了最大线程数后 超过500直接摒弃

maxSpareThreads="50"

 

<Connector port="30001" protocol="HTTP/1.1"
              connectionTimeout="20000"
              redirectPort="10043"
              maxThreads="150" minSpareThreads="4"
              acceptCount="500" 
              maxSpareThreads="50"
     />

技术分享 

CATALINA_OPTS="$JAVA_OPTS -Djava.rmi.server.hostname=192.168.0.101 -Dcom.sun.management.jmxremote.port=9527 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"

 

[root@centos1 conf]# jmap -heap 3416
Attaching to process ID 3416, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 20.45-b01

using thread-local object allocation.
Mark Sweep Compact GC

Heap Configuration:
   MinHeapFreeRatio = 40   #
   MaxHeapFreeRatio = 70
   MaxHeapSize      = 132120576 (126.0MB)  #
   NewSize          = 1048576 (1.0MB)     #初始化对内存
   MaxNewSize       = 4294901760 (4095.9375MB)
   OldSize          = 4194304 (4.0MB)
   NewRatio         = 2
   SurvivorRatio    = 8
   PermSize         = 12582912 (12.0MB)  持久带
   MaxPermSize      = 67108864 (64.0MB)

Heap Usage:
New Generation (Eden + 1 Survivor Space):
   capacity = 39649280 (37.8125MB)
   used     = 2651896 (2.5290451049804688MB)
   free     = 36997384 (35.28345489501953MB)
   6.688383748708677% used
Eden Space:伊甸园区
   capacity = 35258368 (33.625MB)
   used     = 2651896 (2.5290451049804688MB)
   free     = 32606472 (31.09595489501953MB)
   7.521323732283922% used
From Space:
   capacity = 4390912 (4.1875MB)
   used     = 0 (0.0MB)
   free     = 4390912 (4.1875MB)
   0.0% used
To Space:
   capacity = 4390912 (4.1875MB)
   used     = 0 (0.0MB)
   free     = 4390912 (4.1875MB)
   0.0% used
tenured generation:
   capacity = 88080384 (84.0MB)
   used     = 69407088 (66.19175720214844MB)
   free     = 18673296 (17.808242797851562MB)
   78.79971095493862% used
Perm Generation:
   capacity = 12582912 (12.0MB)
   used     = 11245696 (10.7247314453125MB)
   free     = 1337216 (1.2752685546875MB)
   89.37276204427083% used
[root@centos1 conf]#

 

技术分享

1-11

标签:

原文地址:http://www.cnblogs.com/stay-sober/p/4216787.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!