Re: apache restart and memory

2007-02-14 Thread Jonathan Vanasco
On Feb 14, 2007, at 4:36 PM, Frank Wiles wrote: I only use apacectl on dev/testing code, which is probably why I haven't see it. I don't think there is anything we can do about the internal restart that happens on start however. i don't think there's anything we can do either. i'm j

Re: apache restart and memory

2007-02-14 Thread Frank Wiles
On Wed, 14 Feb 2007 16:30:34 -0500 Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > > On Feb 14, 2007, at 4:12 PM, Frank Wiles wrote: > > >apachectl restart just does a stop/start for you IIRC. > > no, it sends the restart flag to the pid Yup you're right, sorry I was getting apachectl co

Re: apache restart and memory

2007-02-14 Thread Jonathan Vanasco
On Feb 14, 2007, at 4:12 PM, Frank Wiles wrote: apachectl restart just does a stop/start for you IIRC. no, it sends the restart flag to the pid But wasn't there some memory leak issue with graceful restarts in mp1? happens on graceful or not, and happens on mp2 as well. // Jon

PerlProcessConnectionHandler and APR::Socket->poll()

2007-02-14 Thread Colin Meyer
Hi, I am building a mod_perl PerlProcessConnectionHandler, and am using nonblocking sockets, for fine-grained error control. My first question is regarding a bit of documentation ambiguity about the poll() method. 'perldoc APR::Socket' says that the timeout is milliseconds, but the example sugges

Re: apache restart and memory

2007-02-14 Thread Jonathan Vanasco
On Feb 14, 2007, at 3:36 PM, Perrin Harkins wrote: You mean when you stop the server and then start it? There can never be a leak from doing that. no, from the implicit /silent restart that happens on start -- using apachectl restart there is a leak. using apachectl stop / start there is

Re: apache restart and memory

2007-02-14 Thread Frank Wiles
On Wed, 14 Feb 2007 15:36:01 -0500 "Perrin Harkins" <[EMAIL PROTECTED]> wrote: > On 2/14/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > > There's a known memory leak on apachectl restart because of the way > > it happens. Run mod_perl, don't use apachectl restart -- fine. > > But is there any

Re: apache restart and memory

2007-02-14 Thread Perrin Harkins
On 2/14/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: There's a known memory leak on apachectl restart because of the way it happens. Run mod_perl, don't use apachectl restart -- fine. But is there any known leak on that immediate restart ? You mean when you stop the server and then start it

Re: Strange characters in output when filtered through mod_perl

2007-02-14 Thread Jonathan Vanasco
On Feb 13, 2007, at 6:36 PM, Aaron Hawryluk wrote: So, it can't be header... this is getting truly bizarre... The system default charset for the linux box is ISO-8859-1. MySQL is using ISO-8859-1 as its default charset. Dunno what else to check. Here's another weird thing - the characters a

apache restart and memory

2007-02-14 Thread Jonathan Vanasco
On Feb 14, 2007, at 9:59 AM, Clinton Gormley wrote: You also have the option of avoiding loading everything on the first start (because apache starts, and then immediately restarts, just to check that it can). But then there is no STDOUT, so you don't get immediate feedback about any failures.

Re: [mp2] apachectl configtest

2007-02-14 Thread Clinton Gormley
On Wed, 2007-02-14 at 14:57 +, Carl Johnstone wrote: > Hi, > > I'm moving to mod_perl2 and looking at the new startup where perl can be > loaded either pre-config or postconfig. I've been trying both options. > > If I start perl pre-config, I'm getting output from the perl stuff to the > sc

[mp2] apachectl configtest

2007-02-14 Thread Carl Johnstone
Hi, I'm moving to mod_perl2 and looking at the new startup where perl can be loaded either pre-config or postconfig. I've been trying both options. If I start perl pre-config, I'm getting output from the perl stuff to the screen as well as the error log. It's also fairly slow and runs even if