Aaron -
I have run into this problem as well, but have had no luck tracking it down.
NT services DO work OK w/ Apache 1.3.6 and mod_perl 1.21 - but then you don't
get the nice improvements to the service registration that were added to
Apache 1.3.9 (different service names, etc.)
One thing I noticed is that Apache 1.3.9 works fine as a service as long as I
leave out the line that loads ApacheModulePerl.dll from the config file, so
the problem seems to be with interaction between Apache 1.3.9 and
mod_perl.
Do any of the gurus out there have any tips as to what I could do to
debug this problem? ;-)
Thanks,
-Rob von Behren
On Sat, 2 Oct 1999, Aaron Johnson wrote:
> I am having an interesting problem with the latest version of Apache
> (1.3.9) and mod_perl (1.21) on the windows platform.
>
> When I install it as a service under NT, Apache starts eating all my
> memory and the children keep dying. When started from the console all
> is fine.
>
> Summary of my perl5 (5.0 patchlevel 5 subversion 03) configuration:
> Platform:
> osname=MSWin32, osvers=4.0, archname=MSWin32-x86
> uname=''
> hint=recommended, useposix=true, d_sigaction=undef
> usethreads=undef useperlio=undef d_sfio=undef
> Compiler:
> cc='cl.exe', optimize='-Od -MD -DNDEBUG', gccversion=
> cppflags='-DWIN32'
> ccflags ='-Od -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT '
> stdchar='char', d_stdstdio=define, usevfork=false
> intsize=4, longsize=4, ptrsize=4, doublesize=8
> d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
> alignbytes=8, usemymalloc=n, prototype=define
> Linker and Libraries:
> ld='link', ldflags ='-nologo -nodefaultlib -release -machine:x86'
> libpth=\lib
> libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
> comdlg32.lib advapi32.lib shell32.lib o
> le32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib
> winmm.lib version.lib odbc32.lib odbccp32.li
> b PerlCRT.lib
> libc=PerlCRT.lib, so=dll, useshrplib=yes, libperl=perl.lib
> Dynamic Linking:
> dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
> cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release
> -machine:x86'
>
>
> Characteristics of this binary (from libperl):
> Built under MSWin32
> Compiled at Oct 1 1999 18:27:01
> @INC:
> C:\Perl\lib/MSWin32-x86
> C:\Perl\lib
> C:\Perl\site\5.00503\lib
> C:\Perl\site\lib/MSWin32-x86
> C:\Perl\site\lib
> .
>
> What other information would be helpful?
>
> Aaron Johnson
>
>
>