Re: DBI and Apache::DBI issues

Alex Hunsaker <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Tue, Feb 8, 2011 at 16:26, Max Pinton <[email protected]> wrote:
> On Feb 8, 2011, at 7:36 AM, Perrin Harkins wrote:
>> That doesn't explain all of your errors though.  I'm guessing that
>> you're opening a connection during startup and forking with it.  You
>> need to find that.  Look for things that might open a connection
>> during startup and move them to ChildInitHandlers instead.
>
> That's puzzling. I'm not forking anywhere in my scripts. I did once try
> using threads for something, but abandoned it because it segfaulted in
> mod_perl and it wasn't db-related anyway. My startup.perl (minus my modules)
> is:

You could always try strace to find if there are any fork/clone calls:
strace -e trace=fork,clone httpd -X

> [startup.perl]

> Does anything there look fishy?

Nothing jumps out at me.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.