Hi Josh,
Yes, we noticed that setting StatScripts to 0 the stat() call decreases and the changes are not rendered by the modified ASPs.
However, we don't get a better CPU performance. Is this correct?
However, we don't get a better CPU performance. Is this correct?
Our configuration of httpd.conf file is shown next:
<Directory /ASP_directory/>
AllowOverride None
AuthType Basic
Order deny,allow
Allow from all
Satisfy any
</Directory>
AllowOverride None
AuthType Basic
Order deny,allow
Allow from all
Satisfy any
</Directory>
<Files ~ (\.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global /configuration_files_directory/
PerlSetVar GlobalPackage GLOBAL
PerlSetVar Debug 0
PerlSetVar TimeHiRes 1
PerlSetVar CookiePath /
PerlSetVar DynamicIncludes 0
PerlSetVar StateDB MLDBM::Sync::SDBM_File
PerlSetVar SessionTimeout 50
PerlSetVar UseStrict 1
PerlSetVar StateSerializer Storable
PerlSetVar SessionSerialize 1
PerlSetVar StatINC 0
PerlSetVar StatScripts 0
PerlFixupHandler STL::SAPI::Util::Timeit
PerlInitHandler TimeIt::Init
PerlLogHandler TimeIt::Log
</Files>
And our configuration of Loader() method in startup.pl file is shown next:
Apache::ASP->Loader(
'/configuration_files_directory/global.asa','',
Global => '/configuration_files_directory/',
GlobalPackage => 'GLOBAL',
Debug => 0,
TimeHiRes => 1,
CookiePath => '/',
DynamicIncludes => 0,
StateDB => 'MLDBM::Sync::SDBM_File',
SessionTimeout => 50,
UseStrict => 1,
StateSerializer => 'Storable',
SessionSerialize => 1,
StatINC => 0,
StatScripts => 0
);
'/configuration_files_directory/global.asa','',
Global => '/configuration_files_directory/',
GlobalPackage => 'GLOBAL',
Debug => 0,
TimeHiRes => 1,
CookiePath => '/',
DynamicIncludes => 0,
StateDB => 'MLDBM::Sync::SDBM_File',
SessionTimeout => 50,
UseStrict => 1,
StateSerializer => 'Storable',
SessionSerialize => 1,
StatINC => 0,
StatScripts => 0
);
Apache::ASP->Loader(
'/ASP_directory/', "(asp)\$",
Global => '/configuration_files_directory/',
GlobalPackage => 'GLOBAL',
Debug => 0,
TimeHiRes => 1,
CookiePath => '/',
DynamicIncludes => 0,
StateDB => 'MLDBM::Sync::SDBM_File',
SessionTimeout => 50,
UseStrict => 1,
StateSerializer => 'Storable',
SessionSerialize => 1,
StatINC => 0,
StatScripts => 0
);
'/ASP_directory/', "(asp)\$",
Global => '/configuration_files_directory/',
GlobalPackage => 'GLOBAL',
Debug => 0,
TimeHiRes => 1,
CookiePath => '/',
DynamicIncludes => 0,
StateDB => 'MLDBM::Sync::SDBM_File',
SessionTimeout => 50,
UseStrict => 1,
StateSerializer => 'Storable',
SessionSerialize => 1,
StatINC => 0,
StatScripts => 0
);
We had observed that size of session object is around 25K. Is correct our configuraction?
Thanks in advance
Regards
Josh Chamas <[EMAIL PROTECTED]> wrote:
Regards
Josh Chamas <[EMAIL PROTECTED]> wrote:
Right, setting StatScripts to Off or 0 can have the changes not load,
which precisely the point. Then you would see the stat() call not
happening, but note that this happens on a *per process* basis, so
depending how many processes you have running, it might take a while
to see the stat calls stop.
Regards,
Josh