Gregory (Grisha) Trubetskoy
grisha at apache.org
Sun Sep 7 18:45:45 EST 2003
On Sat, 6 Sep 2003, Conrad Steenberg wrote: > This prompts a change in the kernel semaphore settings on older linuxes > (redhat 7.3 specifically). Well - I think this is really a redhat problem. I believe I even saw something reporting it as a security problem - it is very easy for someone to deprive an rh box of available semaphores. I wonder what the default is on rh 8 and 9 (anyone?). > As this will likely trip up new sysadmins that just want to try out the > package, It probably will :-( But that's why there is a "Hint" in the error log for Linux users. > is there a way to reduce the number of sessions (or space for > these sessions) by using a directive? Yes, there is a way - adjust MaxClients. Some MPM's (at least worker) will alter MaxClients if the other directives do not add up to or exceed it, so it's possible other values may need adjusting. BTW, mod_python does NOT quit if it was able to allocate *some* locks, but not *all*, it only writes a warning to the error log and proceeds. But what craps out after that is mod_rewrite, which wants a global lock, but mod_python has eaten them all. So perhaps I can adjust it so that if we allocated *some* but not *all*, then to free one (or two?) so that mod_rewrite is happy. (On the other hand doing this may seem like going too far to adress what is really a lousy config default in the kernel....) Grisha > > If there isn't such a directive, is it possible to add one? > > Cheers! > > Conrad > > On Fri, 2003-08-29 at 14:21, Gregory (Grisha) Trubetskoy wrote: > > On Fri, 29 Aug 2003, Conrad Steenberg wrote: > > > > > Hi > > > > > > Tested here to be working under an OpenPKG-1.3 (ish) environment. > > > > > > Any pointers to higher level tools that works with the included version > > > of PSP (such as for constructing a news or blogging site)? There seems > > > to be at least two other projects also calling themselves PSP ;-) > > > > There is even one called Perl Server Pages :-) > > > > I doubt there are any tools, since our PSP is brand new. B > > > > But it's rather simplistic. For everyone's info: > > > > This describes the syntax: > > > > http://www.modpython.org/live/mod_python-3.1.0a/doc-html/pyapi-psp.html > > > > And this describes the psp handler (things like sessions, etc): > > > > http://www.modpython.org/live/mod_python-3.1.0a/doc-html/pyapi-psp.html > > > > Also, if you have any JSP experience, there was an e-mail on the dev list > > regarding how it corresponds to PSP, which I'll forward to this list > > (because I forgot where the dev list archives are). > > > > Grisha > > > > _______________________________________________ > > Mod_python mailing list > > Mod_python at modpython.org > > http://mailman.modpython.org/mailman/listinfo/mod_python > -- > Conrad Steenberg <conrad at hep.caltech.edu> >
|