Date: Mon, 24 Mar 2003 14:00:05 -0800 From: "Andrew Kinney" <andykinney@advantagecom.net> To: Igor Sysoev <is@rambler-co.ru> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: shared mem and panics when out of PV Entries Message-ID: <3E7F0F65.7994.11617945@localhost> In-Reply-To: <Pine.BSF.4.21.0303241557420.40788-100000@is> References: <3E7E660C.10419.ECBF5C7@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24 Mar 2003, at 16:02, Igor Sysoev wrote: > How many Apache processes do you have and what's their size ? It varies between 150 and 256 Apache processes. Our MaxClients is set to 256, which seems to work well. Their size varies from 240MB to 290MB depending on how long they've been running. Their resident set size (RSS) is usually between 7MB and 90MB each, though it seems to average about 60MB each (as shown in 'top' and 'ps'). The root Apache process has the same size as the others, but the RSS is only 1.2MB. > kern.ipc.shm_use_phys, kern.ipc.shmmax, etc are for System V shared > memory. They have no relation to the memory that shared between > processes via fork(). That would explain why they've not had any effect on this issue. :-) So, what's the best approach to limiting memory shared via fork() or reducing PV Entry usage by that memory? Is there something I can do with the kernel config or sysctl to accomplish this? Sincerely, Andrew Kinney President and Chief Technology Officer Advantagecom Networks, Inc. http://www.advantagecom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E7F0F65.7994.11617945>