Chinaunix首页 | 论坛 | 博客
  • 博客访问: 665270
  • 博文数量: 52
  • 博客积分: 7065
  • 博客等级: 少将
  • 技术积分: 2361
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-03 16:24
文章分类

全部博文(52)

文章存档

2021年(8)

2019年(2)

2018年(14)

2011年(1)

2010年(3)

2009年(4)

2008年(20)

分类: 其他平台

2018-12-03 16:04:35

APPLIES TO:

Oracle HTTP Server - Version 12.1.2.0.0 to 12.1.3.0.0 [Release 12c]
Linux x86-64
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)
HP-UX Itanium
IBM AIX on POWER Systems (64-bit)

GOAL

Oracle HTTP Server (OHS) 12c is the Web Server based on Apache HTTP Server 2.2.22 and includes modules developed specifically by Oracle. 
Oracle HTTP Server 12c for UNIX Platforms (Linux,Solaris,etc...) supports and ships with two different Multi-Processing Modules (MPMs) as following.

 - Worker 
 - Prefork

For Oracle HTTP Server 12c, the default MPM is "worker".

This document is intended to describe how to switch between the "prefork" MPM and the "worker" MPM in an Oracle HTTP Server 12c.

This note applies to Oracle HTTP Server 12c only.
If you use Oracle HTTP Server 11g or Oracle HTTP Server 10g (based on Apache2.0) bundled with OracleAS 10g Companion CD
see the Document ID:299125.1

 Doc ID 299125.1 Linux Platforms Only: How To Configure Worker MPM In Oracle HTTP Server (Apache 2.0)?

 

SOLUTION

 

Switching to Prefork MPM:

1. Stop Oracle HTTP Server, the Admin Server (if using collocated OHS), and Node Manager

2. Edit $DOMAIN_HOME/config/fmwconfig/components/OHS/ohs1/ohs.plugins.nodemanager.properties file, and add the following line:

mpm = prefork

3. Save the ohs.plugins.nodemanager.properties file.

4. Start the AdminServer (if using collocated OHS), the Node Manager and Oracle HTTP Server.

   

Switching back  to Worker MPM:

1, Follow the steps above but change to:

mpm = worker

 

More information about Multi-Processing Modules (MPMs) and the ohs.plugins.nodemanager.properties file can be found in


阅读(3400) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~