All,
I have been developing a web application with apache, mod_perl and Apache::ASP
on a Linux box for some time now and have experienced no problems until today.
Today I was unable to bounce apache server. I had just copied a newly-developed
.asp module to the Apache::ASP Global directory so I figured that was the
culprit. However, after some experimentation I realized the new module wasn't
the problem since I was able to get the apache server to startup by removing
any one module from the Global directory (while leaving the new module).
The PC I am using has 128K of memory. I'm guessing I am running out of memory
during apache server startup since I can achieve server startup by removing any
one module. The application works fine after server startup as long as I avoid
invoking any module I omitted. The apache error_log shows no errors.
Are there any other reasons this may happen outside of lack of memory? Are
there some apache, mod_perl, or Apache::ASP configuration settings that could be
related to this problem? At this point my entire application consists of 30
scripts/modules.
I figure I'll have to break down and get a new development PC since my current
machine has no more memory capacity.
Below are my relevant apache htppd.conf entries:
<Files ~ (ADK.+\.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar UseStrict 1
PerlSetVar Global /usr/local/apache/ADDRKEEP/asp
# PerlSetVar GlobalPackage main
PerlSetVar StateDir /tmp/ADDRKEEP
PerlSetVar StateDB MLDBM::Sync::SDBM_File
PerlSetVar StateSerializer Storable
PerlSetVar StateCache 1
PerlSetVar Debug 2
PerlSetVar SessionTimeout 1440
PerlSetVar StateManager 4
PerlSetVar StatScripts 0
</Files>
<Files ~ (ADK.+\.pm)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar UseStrict 1
# PerlSetVar Global /usr/local/apache/ADDRKEEP/asp
PerlSetVar GlobalPackage main
PerlSetVar StateDir /tmp/ADDRKEEP
PerlSetVar StateDB MLDBM::Sync::SDBM_File
PerlSetVar StateSerializer Storable
PerlSetVar StateCache 1
PerlSetVar Debug 2
PerlSetVar SessionTimeout 1440
PerlSetVar StateManager 4
PerlSetVar StatScripts 0
</Files>
<Files ~ (ADK.+\.html)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar UseStrict 1
PerlSetVar Global /usr/local/apache/ADDRKEEP/asp
# PerlSetVar GlobalPackage main
PerlSetVar StateDir /tmp/ADDRKEEP
PerlSetVar StateDB MLDBM::Sync::SDBM_File
PerlSetVar StateSerializer Storable
PerlSetVar StateCache 1
PerlSetVar Debug 2
PerlSetVar SessionTimeout 1440
PerlSetVar StateManager 4
PerlSetVar StatScripts 0
PerlSetVar RegisterIncludes 1
</Files>
<Perl>
use Apache::ASP;
Apache::ASP->Loader( '/usr/local/apache/ADDRKEEP/asp',
"(asp|html|pm)\$",
'Global' => '/usr/local/apache/ADDRKEEP/asp',
'Debug' => 2,
);
use lib "/usr/local/ADDRKEEP/perl";
</Perl>
PerlModule JIHbuildPageCode
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]