Re: about memcached under mod_perl

2007-02-27 Thread Jonathan Vanasco
On Feb 27, 2007, at 8:40 AM, Perrin Harkins wrote: That seems very unlikely to me, unless you are using it in a way that doesn't cause it to connect before forking. You can't open sockets, fork and then use the same socket in both processes. Right now I connect pre-fork in the parent -- it

Re: about memcached under mod_perl

2007-02-27 Thread Jonathan Vanasco
Ok. I just went through the CPAN code... at least in Cache::Memcached, no socket connection is made until a get. in fact, they all seem to be made as needed, and not cached. in any event, I use this code under MP2 , and do all my get/sets as

Using or working around File::MMagic under mod_perl

2007-02-27 Thread Mark Stosberg
Hello, Recently I ran into a bug with File::MMagic where it returns inconsistent results under mod_perl. I'm interested in getting this bug fixed, or using an alternative module that works. What's interesting is that the same version of File::MMagic works correctly on a different machine. I

Re: Using or working around File::MMagic under mod_perl

2007-02-27 Thread Perrin Harkins
Hi Mark, What's interesting is that the same version of File::MMagic works correctly on a different machine. I suspect that some other module loaded has changed a global variable that File::MMagic depends on. Someone has a bug report and patch to that effect here:

Re: Is Apache2::compat broken?

2007-02-27 Thread Perrin Harkins
On 2/23/07, Josef Karthauser [EMAIL PROTECTED] wrote: The same think happens with 2.0.2, so I'm guessing that it's probably a misunderstanding on my part on how it works -- can someone please fill me in, or point me to the specific documentation please? It looks like you were trying to use it

Re: Using or working around File::MMagic under mod_perl

2007-02-27 Thread Robert Landrum
Mark Stosberg wrote: Hello, Recently I ran into a bug with File::MMagic where it returns inconsistent results under mod_perl. Could it simply be a matter of fixing the use of the DATA handle, as Stats suggest here? http://mail-archives.apache.org/mod_mbox/perl-modperl/200403.mbox/[EMAIL

Re: Is Apache2::compat broken?

2007-02-27 Thread Josef Karthauser
On Tue, Feb 27, 2007 at 05:19:02PM -0500, Perrin Harkins wrote: On 2/23/07, Josef Karthauser [EMAIL PROTECTED] wrote: The same think happens with 2.0.2, so I'm guessing that it's probably a misunderstanding on my part on how it works -- can someone please fill me in, or point me to the