A fix is available
APAR status
Closed as program error.
Error description
IHS memory leak if files being served are truncated
Local fix
Do not modify static files while the webserver processes is running.
Problem summary
A file was truncated while mod_include was reading the file. The EOF error was not signalled to the caller, and it kept reading from the end of the file, allocating storage each time, resulting in a fast-growing memory leak. Secondarily, when the support library aprutil was changed to return an error to mod_include, an I/O error code could be logged for the request in the access log, instead of the HTTP response code. Additional symptom: 100% CPU in a worker process until all memory is consumed.
Problem conclusion
The support library apr-util was changed to report an error to the caller when an EOF was encountered. This is the error condition triggered when a file is truncated while being read by mod_include and mmap is disabled. The normal file handler was modified to report 500 in the condition where mod_include reports an error due to the EOF condition.
Temporary fix
Comments
APAR Information
APAR number
PK22485
Reported component name
IBM HTTP SERVER
Reported component ID
5724J0801
Reported release
60A
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2006-03-30
Closed date
2006-04-24
Last modified date
2007-05-23
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
APRUTIL HTTPD
Fix information
Fixed component name
IBM HTTP SERVER
Fixed component ID
5724J0801
Applicable component levels
R60A PSN
UP
R60H PSN
UP
R60P PSN
UP
R60I PSN
UP
R60S PSN
UP
R60W PSN
UP
R60Z PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTJ","label":"IBM HTTP Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
07 September 2022