On Mon, 2005-10-17 at 10:27 -0400, Jonathan wrote:
> perrin: great - i couldn't find any documentation on this!

The Apache::DBI source is short and simple, so don't be afraid to read
it if you are wondering about how it handles something.  (Not that you
shouldn't ask questions, but reading the source can be pretty
informative.)  You will get a warning in your error_log about the
connection being opened at startup, but it's harmless.  Just make sure
you close the connection when you're done with it and don't put it in a
global.

> all: can i wishlist some more documentation on the forking process

Here is some:
http://modperlbook.org/html/ch01_02.html

> maybe something like the compression faq, where we go into detail  
> about exactly when where why you do things before/after the fork

The bottom line is that you shouldn't share sockets or filehandles
between forked processes.

> i'd be happy to start on an outline and contribute, but i'm still  
> wary on this issue and don't have much to contribute just yet.

I'd be happy to offer suggestions and fixes if you start it up.

- Perrin

Reply via email to