[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripts works under CGI but not under mod_perl (and thread stack size)


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 <suppressed> wrote:
On 8/14/07, Manoj Bist <suppressed> 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


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.