免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4457 | 回复: 10
打印 上一主题 下一主题

[WebLogic] 请教:oracle+weblogic对内存的占用情况 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-23 14:49 |只看该作者 |倒序浏览
环境:oracle和weblogic在不同的两台小机上,当oracle启动完之后,启动weblogic时,oracle数据库所在机器剩余内存(top看的)又减少了1.2g,请教:这1.2g是什么进程给占用了,本人很菜,请各位不吝赐教呀?

论坛徽章:
0
2 [报告]
发表于 2007-10-23 16:06 |只看该作者
为什么没人回复呀,自己顶一下

论坛徽章:
0
3 [报告]
发表于 2007-10-23 17:20 |只看该作者
把前后的 free -m 的值贴出来

论坛徽章:
0
4 [报告]
发表于 2007-10-24 08:39 |只看该作者
我是hp-ux的机器,free的内存是通过top看到的。中间件weblogic启动前是3689321K,启动后是2454377k。请楼上指点啊

论坛徽章:
0
5 [报告]
发表于 2007-10-24 22:28 |只看该作者
那你有没有注意到前后的top比较中是哪些进程占了内存?

另外,web logic 可能在启动后初始化了一些数据库连接池,需要占用一些资源。

论坛徽章:
0
6 [报告]
发表于 2007-10-24 22:42 |只看该作者
如果Weblogic使用连接池连接到数据库,  则在oracle启动的时候将建立到数据库的连接, 在oracle主机上将启动一些进程, 这些进程将占用一部分内存.

论坛徽章:
0
7 [报告]
发表于 2007-10-25 08:28 |只看该作者
写JAVA程序 一般一定会用到连接池的.

[ 本帖最后由 managergh 于 2007-10-25 08:33 编辑 ]

论坛徽章:
0
8 [报告]
发表于 2007-10-25 15:23 |只看该作者
楼上的仁兄,连接池是在哪里创建的,在oracle所在服务器上,还是weblogic所在服务器上?如果在oracle所在服务器上,300个连接数的weblogic需要占用大约多大的连接池?

论坛徽章:
0
9 [报告]
发表于 2007-10-30 15:33 |只看该作者
http://www.hellodba.com/Doc/Oracle_Memory(1).htm

The SGA_TARGET initialization parameter reflects the total size of the SGA and
includes memory for the following components:
■ Fixed SGA and other internal allocations needed by the Oracle Database instance
■ The log buffer
■ The shared pool
■ The Java pool
■ The buffer cache
■ The keep and recycle buffer caches (if specified)
■ Nonstandard block size buffer caches (if specified)
■ The Streams pool
It is significant that SGA_TARGET includes the entire memory for the SGA, in contrast
to earlier releases in which memory for the internal and fixed SGA was added to the
sum of the configured SGA memory parameters. Thus, SGA_TARGET gives you precise
control over the size of the shared memory region allocated by the database. If
SGA_TARGET is set to a value greater than SGA_MAX_SIZE at startup, then the latter is
bumped up to accommodate SGA_TARGET.

论坛徽章:
0
10 [报告]
发表于 2007-10-30 20:22 |只看该作者
用kmeminfo可以看的很详细。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP