Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
- Subject: Re: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context
- From: Chuck Hill <email@hidden>
- Date: Mon, 26 Apr 2010 17:37:39 -0700
On Apr 26, 2010, at 5:11 PM, Mark Ritchie wrote:
On 26/Apr/2010, at 4:07 PM, Chuck Hill wrote:
As the fix is likely to be very environment and configuration
specific, I took the approach of reporting that there was a
problem rather then trying to guess at what the context specific
solution should be! ;-)
That was my take on it. Do you know what changed? Did Leopard
change the permissions of the parent and children Apache processes?
It was a change to the adaptor code so that the log files are not
world writable.
svn diff -r 8053:8054 ~Wonder/Utilities/Adaptors/Adaptor/log.c
That does not seem like a good change. While the added security is
nice in theory, the lack of working in practice seems to out weight it.
To start with, I've changed the Adaptor to report serious error
messages to the Apache logs in addition to the WO logs. It looks
like this code has been inactive for sometime (read decade) due to
upper case vs mixed case mismatch.
Testing: priceless.
Well, actually, in this case, having a test case which would catch
this case would be an interesting trick! ;-)
It would have to be a manual test. If it is not worth testing, it is
not worth writing. :-)
Chuck
(Given that the adaptor is written to load into multiple webserver
and sometimes multiple versions.)
M.
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden