PK04429: IBM HTTP SERVER HIGH CPU USAGE DUE TO INEFFICIENT READING OF REWRITEMAP FILES.

APAR status
Closed as fixed if next.

Error description
The configuration of IBM HTTP Server includes RewriteMap
directives.
The server is slow to process requests and CPU usage is up to
100%. When the test is canceled, CPU remains high for hours.
Local fix
A potential work-around is to specify RewriteMap files on local
disks.
Problem summary
mod_rewirte was opening RewriteMap text files
without specifying that buffered I/O should be used, and then
invoking a function that searches for a newline character one
byte at a time.  This resulted in one byte read() system calls
which consume a lot of CPU when the RewriteMap text files are
large.
Problem conclusion Temporary fix Comments
APAR information
APAR number PK04429
Reported component name WAS HTTP SERVER
Reported component ID 5630A3603
Reported release 00I
Status CLOSED FIN
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2005-04-19
Closed date 2005-04-20
Last modified date 2005-04-20

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
MOD_REWR ITE.SO        

Publications Referenced

Fix information

Applicable component levels
R00I PSN    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > IBM HTTP Server > Runtime
Operating system(s):
Software version: 00I
Software edition:
Reference #: PK04429
IBM Group: Software Group
Modified date: Apr 20, 2005