185 reputation
47
bio website
location
age
visits member for 5 years, 5 months
seen Aug 22 at 10:51

Aug
10
revised Peak memory usage of a process
added 436 characters in body
Aug
31
awarded  Notable Question
Nov
28
awarded  Notable Question
Mar
24
awarded  Popular Question
Jan
21
awarded  Popular Question
Jul
22
awarded  Enthusiast
Jun
26
awarded  Beta
Jun
24
accepted Disable all disk caching for apache2 on linux
Jun
23
comment Disable all disk caching for apache2 on linux
With disk caching I am referring to caching disk accesses in RAM, i.e. to cache pages in RAM to avoid unnecessary accesses to disk. I am not referring to swapping, which is a technique to free RAM by saving pages on disk.
Jun
23
revised Disable all disk caching for apache2 on linux
added 452 characters in body
Jun
23
comment Disable all disk caching for apache2 on linux
Actually I want to turn off caching both on the OS level and in Apache. So this answer is helpful as it probably disables caching by Apache. But I am wondering if there is a way to also disable caching by the OS (/proc/sys/vm/drop_caches lets me only drop the cache but not disable it)
Jun
23
awarded  Editor
Jun
23
revised Disable all disk caching for apache2 on linux
further clarification
Jun
23
asked Disable all disk caching for apache2 on linux
Jun
10
awarded  Teacher
Jun
10
answered Peak memory usage of a process
May
28
accepted Running batch jobs and getting a peak memory usage summary for each job
May
26
comment Running batch jobs and getting a peak memory usage summary for each job
Your idea of overriding the child reaper pointed me to a possible solution. I might be able to write a small program that starts each job as a child and then uses wait3 or wait4 to wait for its children. According to the man pages of wait3 and wait4 these system calls additionally return resource usage information about the child in a struct. That struct is described in the getrusage(2) man page, and according to it, it includes the maximum resident set size.
May
26
comment Running batch jobs and getting a peak memory usage summary for each job
Unfortunately GNU time gives me zeros for memory usage statistics :(
May
25
answered Running batch jobs and getting a peak memory usage summary for each job