https://bz.apache.org/bugzilla/show_bug.cgi?id=69589
Bug ID: 69589
Summary: OutOfMemory in Apache with mod_ext_filter (with LARGE
data)
Product: Apache httpd-2
Version: 2.4.63
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: mod_ext_filter
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
How reproduce:
--- config ---
ExtFilterDefine dummy-in mode=input \
cmd="/usr/bin/cat" PreservesContentLength
ExtFilterDefine dummy-out mode=output \
cmd="/usr/bin/cat" PreservesContentLength
SetInputFilter dummy-in
SetOutputFilter dummy-out
<Location />
ExtFilterOptions LogStderr Onfail=remove
</Location>
---
Create LARGE file in htdocs:
> /usr/bin/yes | /usr/bin/dd of=dummy.txt bs=1K count=1M # 1GB
do a GET
> curl -si http://foobar/dummy.txt | head -10
Track Apache process and see how eats memory like cookie monster until
OOM-Killer.
> [19630.617598] Out of memory: Killed process 33625 (httpd)
> total-vm:1915188kB, anon-rss:695952kB, file-rss:128kB, shmem-rss:0kB, UID:33
> pgtables:1600kB oom_score_adj:0
> [19634.368154] oom_reaper: reaped process 33625 (httpd), now anon-rss:0kB,
> file-rss:128kB, shmem-rss:0kB
This can be tested with last stable docker image (today, 2.4.63):
> httpd:2.4
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]