Re: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC



collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

I've read that this is mainly caused by Apache spawning too many processes.
Everyone seems to suggest to decrease the MaxClients directive in Apache(set
to 450 at the moment), but here's the problem...i need to increase it !
During peaks all the processes are in use, we even have little drops
sometime because there isn't enough processes to serve the requests. Our
traffic is increasing slowly over time so i'm affraid that it'll become a
real problem soon. Any tips on how I could deal with this situation,
Apache's or FreBSD's side ?

On page 85 of Michael Lucas' "Absolute BSD", there is a solution to
your problem that someone else had come across before. The solution
involves (1) increasing the PMAP_SHPGPERPROC parameter in the kernel
to a higher value and rebuilding the kernel, and (2) increasing the
amount of physical RAM to complement it.

For more details, go to

http://books.google.com/books?id=vebgS-r9fP8C&pg=PA85&lpg=PA85&dq=Michael+Lucas+collecting+pv+entries&source=web&ots=9Fl2T_Uyqi&sig=6LgchiUI5r0NTL6PaK3sxnFuIBI&hl=en&sa=X&oi=book_result&resnum=1&ct=result

Good luck,

Simon Chang
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: VStudio 2008 EE C# UI blocked with strange message,...
    ... windows driver, ... output comming with fresh symbols for xp kernel. ... SFU Services where the SFU cant even run without ... [Not a real problem] ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Linux 2.6.29
    ... userspace can get closer than the kernel can. ... Not by user space they aren't, ... Name _one_ case where even simple tuning has happened, ... the real problem isn't even the tuning. ...
    (Linux-Kernel)
  • Re: [klibc] klibc and whats the next step?
    ... Until recently for most developers klibc was not much more than a cool ... current patch set as it is does not solve a single real problem yet, ... from the current kernel approach of coding purely userspace activities ... complex boot and root-mounting scenarios like iSCSI and multi-path. ...
    (Linux-Kernel)
  • Re: wont boot off iso cd
    ... Alexander Dalloz wrote: ... >>I updated to 2.6.12 kernel without updating something else necessary, ... The real problem is that it won't ... The only differences between the two are disk size and sw/hw raid. ...
    (Fedora)
  • Re: problem in cat /proc/meminfo
    ... nick wrote: ... > Now, I want to decrease the memory reserved for the kernel, ie decrease ... > the 4724K from used by the kernel. ... This memory is in use. ...
    (comp.os.linux.development.system)