Re: is there a TELL method for mod_perl's STDOUT and STDERR

2009-07-15 Thread E R
it seems to work just fine. For now I've just replaced all references to tell(STD(ERR|OUT)) with 0. It's only used for formatting anyway. I've just started to use it, though. Can you think of any issues with using source filters in mod_perl? On Wed, Jul 15, 2009 at 2:28 PM, Perrin Harkins wrote:

Re: is there a TELL method for mod_perl's STDOUT and STDERR

2009-07-15 Thread Perrin Harkins
On Wed, Jul 15, 2009 at 3:23 PM, E R wrote: > I'm trying to use Smart::Comments with mod_perl. The problem is that > STDOUT and STDERR are blessed into the Apache class and they do not > have a TELL method. I would have thought that the problem would be that it uses a source filter. I think you'r

is there a TELL method for mod_perl's STDOUT and STDERR

2009-07-15 Thread E R
I'm trying to use Smart::Comments with mod_perl. The problem is that STDOUT and STDERR are blessed into the Apache class and they do not have a TELL method. The Smart::Comments module has several references to tell(STDOUT) and tell(STDERR). Is there a way to implement a TELL method for these file

Re: first time debugging apache/mod_perl Seg fault

2009-07-15 Thread Perrin Harkins
On Tue, Jul 14, 2009 at 3:29 PM, Alan McKay wrote: >> http://modperlbook.org/html/21-5-8-Noninteractive-Perl-Debugging-Under-mod_perl.html > > OK, I'm doing this, but it seems that the file it produces only ever > gets up to 7.3M and that's it. > > I'm guessing it is because when httpd forks off al

Re: first time debugging apache/mod_perl Seg fault

2009-07-15 Thread Alan McKay
> Are you saying that you can't reproduce the crash by running the same > request again then? The crash is very spurious - no - it cannot be reproduced every time. Which is why getting down into the gdb level would seem to be the best way about this problem -- “Don't eat anything you've ever s

Re: first time debugging apache/mod_perl Seg fault

2009-07-15 Thread Perrin Harkins
On Wed, Jul 15, 2009 at 12:31 PM, Alan McKay wrote: > Nope, I send a snippet of the log it produces to my front-end guy and > he told me that this would not really tell us anything more than we > already know. > > Too high level. Are you saying that you can't reproduce the crash by running the sam

Re: first time debugging apache/mod_perl Seg fault

2009-07-15 Thread Alan McKay
Nope, I send a snippet of the log it produces to my front-end guy and he told me that this would not really tell us anything more than we already know. Too high level. Off to do more googling - unless anyone as any further suggestions. I have a number of outstanding questions now in this thread

Re: graceful restarts, modperl and pre-loaded modules

2009-07-15 Thread Clinton Gormley
> That won't be enough in all cases unless it actually replaces the > interpreter, like PerlFreshRestart used to. > > I would do a graceful shutdown and restart. I've had lots of problems with graceful restarts hanging indefinitely, I think caused by issues with the mod_ssl module. I'd also rec