On Jul 14, 2004, at 9:12, Chris Stutz wrote: im looking for a way to change read only sysctl setting kern.ipc.maxsockets kern.ipc.nmbclusters im running a high traffic website any the server stops responding when i get high load. everything is pointing to these 2 settings needed to me changed and of course iv tried a sysctl.conf etc with no effect. Well, read-only sorta implies that changing these values (if you could) would not have any effects, except perhaps to screw up the running kernel. These values are used only at startup to allocate memory; they are checked during run-time, but only for "bounds checking". I think you have two choices here: - rebuild the kernel with different values; or - patch the on-disk kernel with different values. The latter is problematic, because it appears that sometimes, a manifest constant is used at run-time, and sometimes, the stored value is used. I think it's a recipe for trouble. I have this fuzzy (but not warm) recollection that you can change at least one of these values at boot-time (using OpenFirmware magic), but I've forgotten the details, and a quick scan of the source didn't lead to anything useful. Perhaps someone closer to the subject will know for sure. Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | Men are from Earth. | Women are from Earth. | Deal with it. *--------------------------------------*-------------------------------* _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Justin Walker