On Mon, 16 Jul 2001, Adi Fairbank wrote:
Actually, I don't want child processes to inherit the page locks across a
fork. I just wanted to experiment with performance issues when only the
parent process is locked in memory. (I have a theory that when the parent
process swaps to disk, the
Doug MacEachern wrote:
On Tue, 26 Jun 2001, Adi Fairbank wrote:
If this is the case, it would be helpful to prevent the parent process from
*ever* swapping to disk.
The Linux kernel has a system call mlockall() which disables all memory
paging for the current process. This
On Tue, 26 Jun 2001, Adi Fairbank wrote:
Is it correct that when the Apache/mod_perl parent process swaps to disk, a
large part of it (swapped pages) becomes unshared? Even after the kernel
restores the pages from swap, do they remain unshared? So once the parent
process becomes
Is it correct that when the Apache/mod_perl parent process swaps to disk, a
large part of it (swapped pages) becomes unshared? Even after the kernel
restores the pages from swap, do they remain unshared? So once the parent
process becomes unshared, new apache children that are spawned only