Apache::DBI 1.07+ causes seg faults

2011-03-02 Thread Richard Chen
Hi, In order to make use of the ChildExitHandler introduced in Apache::DBI 1.09, we upgraded Apache::DBI from 1.06 to 1.10. But we immediately encounter seg faults errors for every request. The problem is traced back to the line 160 of Apache::DBI 1.10: # We may not actually

Re: Has anyone successfully used Devel::Profiler::Apache under modperl?

2005-02-21 Thread Richard Chen
Hi Geoff, Sam,   I have found out that that the bus error was actually due to a app level bug in perl code. In a sense Devel::DProf is less tolerant of bugs than perl core itself since that code worked without activating the profiling. I wonder if the same is true in your situation in the past.   A

Re: Has anyone successfully used Devel::Profiler::Apache under modperl?

2005-02-18 Thread Richard Chen
speed. I have to kill the modperl server to stop it. Have you seen this kind of problem before? I will try some hacks suggested by Sam later. But so far, it does not look very promising. Thanks Richard --- Geoffrey Young <[EMAIL PROTECTED]> wrote: > > > Richard Che

Has anyone successfully used Devel::Profiler::Apache under modperl?

2005-02-18 Thread Richard Chen
Hi,     I have used Apache::DProf but find that it leads to bus errors on many requests. I found this Devel::Profiler::Apache which is supposed to be a drop-in replacement for Apache::DProf in such bus error cases. However, it does not seem to work right.      First of all, specifyi

Re: Is it safe to share a read-only dbm file opened in parent modperl?

2005-02-16 Thread Richard Chen
15 Feb 2005, Richard Chen wrote:Im a big fan of reading read-only data files, config files, etc at server start up in startup.pl and sharing between children. There could easily be problems with my approach and i welcome the criticism =)The only time I have been burned with parent-child sharing is wi

Is it safe to share a read-only dbm file opened in parent modperl?

2005-02-15 Thread Richard Chen
the few tests I have done using MLDBM, opening the file in the parent process and then sharing that among the child processes seems to work fine. But I would like to knowif there are any potential problems associated with this practice.   Thanks for any info.   Richard Chen Do you Yahoo!? Yahoo

Re: [ANNOUNCE] Apache::Dynagzip 0.13

2004-04-06 Thread Richard Chen
Hi Slava, Thanks a lot for this super fast fix. The new version works fine for me now. Regards Richard On Tue, Apr 06, 2004 at 01:38:58AM -0500, Slava Bizyayev wrote: > This is a bug-fix version. Richard Chen has found this bug that affected > some web clients incapable to spea

Re: A bug in Apache::Dynazip?

2004-04-05 Thread Richard Chen
On Mon, Apr 05, 2004 at 01:21:18PM -0500, Slava Bizyayev wrote: > Hi Richard, > > On Mon, 2004-04-05 at 11:29, Richard Chen wrote: > > ...The problem is that my content generation module does not contain a > > header section. > > Do you mean that your CGI content gene

A bug in Apache::Dynazip?

2004-04-05 Thread Richard Chen
Hi, I am trying out Apache::Dynazip. All is well using the IE browser. However, when I use curl (a nice commandline web client), there are no contents coming back. I have traced the cause of the problem to the fact that I did not specify Accept-Encoding header in curl which invok

Spurious characters due to Apache::Filter and Apache::Compress

2004-04-01 Thread Richard Chen
Hi, We have seen a very disturbing problem when Apache::Filter and Apache::Compress are used for output compression. Most of the time, everything is fine. But occasionally we find that spurious binary characters are introduced in the output. For example, a source line like this: This is a

Re: mod_ssl and mod_perl not compatible?

2004-03-22 Thread Richard Chen
same. Richard On Sun, Mar 21, 2004 at 08:51:03PM -0800, Stas Bekman wrote: > Richard Chen wrote: > > Hi, > > > > I have a working apache server: > > > > SERVER_SOFTWARE="Apache/1.3.29 (Unix) mod_ssl/2.8.16 OpenSSL/0.9.7d" > > >

mod_ssl and mod_perl not compatible?

2004-03-21 Thread Richard Chen
Hi, I have a working apache server: SERVER_SOFTWARE="Apache/1.3.29 (Unix) mod_ssl/2.8.16 OpenSSL/0.9.7d" built like this: cd mod_ssl-2.8.16-1.3.29 ./configure --with-apache=../apache_1.3.29 --enable-shared=ssl cd ../apache_1.3.29 SSL_BASE=/usr/local/ssl ./configure --prefix=/usr/local/