Re: Callback called exit.

2004-11-24 Thread Stas Bekman
of memory! message and/or Callback called exit. Common causes of this -are never-ending loops, deep recursion, or calling an -undefined subroutine. Here's one way to catch the problem: See Perl's -INSTALL document for this item: +are never-ending loops, deep recursion, or calling an undefined

Re: Callback called exit.

2004-05-07 Thread Glenn
of Memory once, the the process sucks up all available cpu print Callback called exit. to the log file until it hit's it's 2GB max size. I'm just guessing here, but this is probably because apache is trying to spawn new processes, and they keep dying because there's no memory. Thanks

Re: Callback called exit.

2004-05-06 Thread Perrin Harkins
On Wed, 2004-05-05 at 22:11, Brian Hirt wrote: I've been running across a problem lately where a child process terminates because of an out of memory error. It prints Out of Memory once, the the process sucks up all available cpu print Callback called exit. to the log file until

Re: Callback called exit.

2004-05-06 Thread Brian Hirt
why mod_perl can get into an infinite loop writtitng Callback called exit.In perl.c, when that happens my_exit_jump(); is called which should presumably exit the process, but somehow that doesn't happen and some sort of infinite loop occurs outside of my code that fills the log

Re: Callback called exit.

2004-05-06 Thread Brian Hirt
called exit. to the log file until it hit's it's 2GB max size. I'm just guessing here, but this is probably because apache is trying to spawn new processes, and they keep dying because there's no memory. Thanks for the response, interesting insight into the history of $^M. When I've seen

Re: Callback called exit.

2004-05-06 Thread Stas Bekman
patches are always welcome here. Please patch against the source pod. http://perl.apache.org/download/docs.html#Download I'd still like to know why mod_perl can get into an infinite loop writtitng Callback called exit.In perl.c, when that happens my_exit_jump(); is called which should

Re: Callback called exit.

2004-05-06 Thread Stas Bekman
Glenn wrote: [...] http://perl.apache.org/docs/1.0/guide/troubleshooting.html#Callback_called_exit I've followed that advice and explicitly allocated memory into $^M. I have the following in my mod_perl_startup.pl, which I run from httpd.conf with PerlRequire /path/to/mod_perl_startup.pl If 64K

Re: Callback called exit.

2004-05-06 Thread Brian Hirt
/guide/troubleshooting.pod 5 May 2004 03:29:38 - 1.28 +++ src/docs/1.0/guide/troubleshooting.pod 6 May 2004 22:40:07 - @@ -589,27 +589,45 @@ If something goes really wrong with your code, Perl may die with an Out of memory! message and/or Callback called exit. Common

Re: Callback called exit.

2004-05-06 Thread Stas Bekman
Brian Hirt wrote: I've typed up my suggestions to the troubleshooting doc, and incorporated glen's suggestions too. Stas wants me to post to the list to see if there are any comments / corrections. I wasn't sure if I should put a comment in about __DIE__ handlers and their use with evals, it

Callback called exit.

2004-05-05 Thread Brian Hirt
I've been running across a problem lately where a child process terminates because of an out of memory error. It prints Out of Memory once, the the process sucks up all available cpu print Callback called exit. to the log file until it hit's it's 2GB max size. I have some Apache::Resource