perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Bist" <>
Subject Re: Scripts works under CGI but not under mod_perl (and thread stack size)
Date Thu, 16 Aug 2007 07:01:57 GMT
Thanks a lot Perrin for advising to run prefork.  I switched to prefork and
I am now able to successfully run apache2 under the debugger/valgrind.
 I was finally able to narrow down the problem to symbol clashes between two
shared libraries for which perl bindings were written. Using the right
linker and objcopy options I am able to take care of the problem.

On 8/14/07, Perrin Harkins <> wrote:
> On 8/14/07, Manoj Bist <> wrote:
> > Is it possible to change the stack size in mod_perl(Similar to ulimit -s
> > unlimited etc.)?
> The stack size?  What are you trying to do?  I'm not aware of anything
> special about stack size in mod_perl that would be different from any
> other compiled C program.
> Also, why do you mention threads?  Are you running a threaded MPM?
> Unless you're on Windows, I'd advise you to run prefork.
> - Perrin

View raw message