国内最全IT社区平台 联系我们 | 收藏本站
华晨云阿里云优惠2
您当前位置:首页 > 数据库 > 数据库应用 > weblogic 12C 在HP unix运行CPU 100%

weblogic 12C 在HP unix运行CPU 100%

来源:程序员人生   发布时间:2015-05-04 09:43:44 阅读次数:2760次

    有几个服务发布在HP unix上,weblogic版本是12c,服务器常常100%(多个cpu均是100%)。分析过当前的进程的状态,都是在GC。现象是CPU使用率上去以后就下不来了。

    然后把weblogic降到10g,重新部署系统,CPU就降下来了,推测是服务器和weblogic不兼容。

    打开weblogic的console界面:

    服务器-->选中服务--> 配置-->优化 --> 高级--> muxer类:weblogic.socket.NTSocketMuxer 改成:weblogic.socket.DevPollSocketMuxer

     As per bug 18178560, WebLogic Server provides a non-blocking IO muxer implementation as the default muxer configuration. On 12.1.2 or after, non-blocking IO muxer is default implementation of Muxer. In default configuration, MuxerClass is set to "weblogic.socket.NIOSocketMuxer".
 
     Native Muxers and Java Muxer are old and deprecated. Bug 18178560 also suggests that switching to the native muxer may improve performance on some platforms like windows

     Native muxers use platform-specific native binaries to read data from sockets. The majority of all platforms provide some mechanism to poll a socket for data. For example, Unix systems use the poll system call and the Windows architecture uses completion ports. Native muxers provide superior scalability because they implement a non-blocking thread model. When a native muxer is used, the server creates a fixed number of threads dedicated to reading incoming requests.

    Currently it is just deprecated which means it is still supported at this point in time but may not be in the future To enable these muxers, muxer class name needs to be explicitly configured in MuxerClass.

Solaris/HP-UX Native Muxer : weblogic.socket.DevPollSocketMuxer
POSIX Native Muxer         : weblogic.socket.PosixSocketMuxer
Windows Native Muxer       : weblogic.socket.NTSocketMuxer


生活不易,码农辛苦
如果您觉得本网站对您的学习有所帮助,可以手机扫描二维码进行捐赠
程序员人生
------分隔线----------------------------
分享到:
------分隔线----------------------------
关闭
程序员人生