Is it possible to change the stack size in mod_perl(Similar to ulimit -s unlimited etc.)?
Thanks, Manoj. On 8/13/07, Manoj Bist <[EMAIL PROTECTED]> wrote: > > Hi Perrin, > > Is there some recommended way to detect if STDOUT is being manipulated? > This is what I am doing. > > 1. Build a standalone binary that uses this lib. > 2. Run this binary in the debugger and insert breakpoints in read, write, > open and close. > > The library is using TCP sockets to communicate with the server. > > Is there some way to debug apache/mod_perl in the debugger? > > Thanks a lot, > > Manoj. > > > On 8/13/07, Perrin Harkins <[EMAIL PROTECTED]> wrote: > > > > On 8/13/07, Manoj Bist <[EMAIL PROTECTED]> wrote: > > > Thanks for the response. The C library is a third party library which > > does > > > the following: > > > > > > - Connect to a server running on port 7000 on the local machine. > > > - Make an initialize call > > > <==============================This call is consistently > > > failing under mod_perl. > > > > Okay, so that's what you need to focus on. Do you know if it's > > connecting over TCP sockets or pipes? There may be issues if it's > > trying to manipulate STDOUT. > > > > > The startup.pl that we are using has only 5 lines. > > > > I don't see how this could cause you trouble, unless you are loading > > other things directly from httpd.conf. It probably has to do with > > STDOUT. > > > > - Perrin > > > >