亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
樓主: 無風之谷
打印 上一主題 下一主題

[WebLogic] 中間件WebLogic/Tuxedo/GoldenGate的排錯與優(yōu)化(獲獎名單已公布) [復制鏈接]

論壇徽章:
0
41 [報告]
發(fā)表于 2012-02-15 22:55 |只看該作者
回復 40# 敘利亞


    網上不是貼出來幾頁嘛,別買中文的了,直接買英文的;蛘吒纱嗑涂磂-docs + weblogic.jar中的源代碼。

論壇徽章:
0
42 [報告]
發(fā)表于 2012-02-15 23:53 |只看該作者
回復 41# tdy218


    哦,我以為您已經看到過了,英文+原代碼就算了,要我有那水平早出國混去了。我還是再等等吧,買個中文的 :em39b:

論壇徽章:
33
ChinaUnix元老
日期:2015-02-02 08:55:39CU十四周年紀念徽章
日期:2019-08-20 08:30:3720周年集字徽章-周	
日期:2020-10-28 14:13:3020周年集字徽章-20	
日期:2020-10-28 14:04:3019周年集字徽章-CU
日期:2019-09-08 23:26:2519周年集字徽章-19
日期:2019-08-27 13:31:262016科比退役紀念章
日期:2022-04-24 14:33:24
43 [報告]
發(fā)表于 2012-02-16 09:30 |只看該作者
FAQ: OutOfMemory in WebLogic

From time to time I see questions like this:

Q: "We are seeing OutOfMemory error in the WebLogic log, after that our app becomes inaccessible. The application is not under heavy load. In fact, we can see it even if the server is idle. WebLogic performance console shows that there is plenty of heap available. What's wrong?".

A: Given the symptoms above, the most likely cause of the problem is that the default size of the heap allocated by JVM for long living objects is often too small for a J2EE application is general and for one under WebLogic in particular. Weblogic uses caching a lot, so if you've got many EJBs, there will be plenty of long living object, and they may not fit into perm heap.

To fix this problem, you need to increase MaxPermSize JVM parameter. Go to WebLogic startup script and add -XMaxPermSize=64m or -XMaxPermSize=128m to JVM startup parameters. If you don't have an application memory leak, this change should take care about the problem.

Q: But how do I know if it's not an app memory leak?

A: The first symptom of the app memory leak is that in addition to OutOfMemory, you will see that the memory graph in WebLogic performance console hits the top, and forcing GC doesn't change anything. Fixing this problem is relatively easy. Get a good profiler tool, like OptimizeIt of JProfiler, and run a load test while memory profiling is enabled. Set up a filter to see only your classes and fined ones taking most of memory. It's likely that the same objects will have largest instance counts.

Tips for setting up a profiler.

First, set the JVM memory to as minimum as possible. If you expect WebLogic to run with 1Gb of JVM heap, set it to much lower values at which app can run. It can be 32M, 64M, depending on the app. Is sounds odd, but the reason is that the memory profiler catches JVM GC activities, and as there will be much more object in 1GB than in 64Mb, that GC under profiler will be dead slow, it can be hours, virtually. Set memory to as low as possible.

Second, turn off anything except the memory profiling. Memory profiling itself is slow, so you will want yo avoid any additional overhead in this case. Performance profiling is to be turned off in any case.

論壇徽章:
0
44 [報告]
發(fā)表于 2012-02-16 09:35 |只看該作者
樓上各位朋友好,非常感謝大家的光臨,一并謝過。

關于書,我這廂已經和出版社聯(lián)系確認過,本套三本均已公開發(fā)行;因為流通時有自己的流程和周期,上架的時候的確會有快慢,但無論如何,近日應該是都能展列并被大家搜到見到購到。

再次誠懇感謝給予我支持的各位新老朋友!

論壇徽章:
33
ChinaUnix元老
日期:2015-02-02 08:55:39CU十四周年紀念徽章
日期:2019-08-20 08:30:3720周年集字徽章-周	
日期:2020-10-28 14:13:3020周年集字徽章-20	
日期:2020-10-28 14:04:3019周年集字徽章-CU
日期:2019-09-08 23:26:2519周年集字徽章-19
日期:2019-08-27 13:31:262016科比退役紀念章
日期:2022-04-24 14:33:24
45 [報告]
發(fā)表于 2012-02-16 10:22 |只看該作者
以前做WebSphere的一些經驗:

遇到比較多的問題是OOM和high CPU,除此之外還有很多其它問題,IBM官方網站把它們分類整理了一下:
http://www-01.ibm.com/support/docview.wss?uid=swg21145599

以OOM為例,一般的分析問題步驟是這樣的:
http://www-01.ibm.com/support/docview.wss?uid=swg21145349

1、增大 Maximum Java Heap Value (-Xmx)

2、啟用 Verbose GC,由于使用的JDK不同,在Solaris和HP-UX上還需要一些特別的參數(shù)設置,詳見:
http://www-01.ibm.com/support/docview.wss?uid=swg21114927

3、增加 MaxPermSize 和 MaxNewSize,把它們分別設為 max heap 的四分之一

4、用IBM提供的腳本runISALite.sh收集日志

注:步驟1~3也是性能調優(yōu)的重要部分,IBM的技術支持團隊通常會建議客戶進行這些設置。

http://blog.chinaunix.net/uid-17176286-id-3074364.html

評分

參與人數(shù) 1可用積分 +15 收起 理由
無風之谷 + 15 感謝分享!

查看全部評分

論壇徽章:
0
46 [報告]
發(fā)表于 2012-02-16 10:33 |只看該作者
回復 45# Shell_HAT

謝謝您,分享IBM WebSphere上的經驗和資料


   

論壇徽章:
0
47 [報告]
發(fā)表于 2012-02-16 11:07 |只看該作者
好活動,支持

weblogic內存溢出時,觀察GC也是一種手段,但大型企業(yè)都未配置-verbose:gc,調優(yōu)時可以作為參考

論壇徽章:
0
48 [報告]
發(fā)表于 2012-02-16 11:21 |只看該作者
這個好,路過此地,學習學習。

論壇徽章:
33
ChinaUnix元老
日期:2015-02-02 08:55:39CU十四周年紀念徽章
日期:2019-08-20 08:30:3720周年集字徽章-周	
日期:2020-10-28 14:13:3020周年集字徽章-20	
日期:2020-10-28 14:04:3019周年集字徽章-CU
日期:2019-09-08 23:26:2519周年集字徽章-19
日期:2019-08-27 13:31:262016科比退役紀念章
日期:2022-04-24 14:33:24
49 [報告]
發(fā)表于 2012-02-16 11:26 |只看該作者
回復 47# zorrohu


大型應用里面如果開啟VerboseGC,日志長的太快了,一個小時就是幾G、幾十G,所以一般只在出現(xiàn)問題需要分析的時候才開啟。

論壇徽章:
0
50 [報告]
發(fā)表于 2012-02-16 12:18 |只看該作者
雖然沒學過  但是這個東西還是先關注一下  萬一以后用的著呢
昨天去書店看了一下  確實還沒有看到weblogic這本書
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉載本站內容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP