Forum OpenACS Q&A: Re: Tracking down startup delays

Collapse
Posted by Gustaf Neumann on
Hi Dave

is this a recent version of xotcl-core? The actual version of xotcl-core contains just comment lines.
http://cvs.openacs.org/browse/OpenACS/openacs-4/packages/xotcl-core/tcl/object-cache-init.tcl?hb=true

When loading this file takes a long time, it's an indicator that your hard-disc/filesystem has a problem. Having a name starting with "x" might indicate, that something after loading the last file might be slow.

For comparison: We see in our production systems (Intel x86_64) the following times for the calls you are reporting

[17/Mar/2013:04:30:31][18879.7f60078f6f20][-main-] Notice: Loading xotcl-core/tcl/object-cache-init.tcl
[17/Mar/2013:04:30:37][18879.7f60078f6f20][-main-] Notice: Loading packages/acknowledgement/tcl/acknowledgement-procs.tcl...
[17/Mar/2013:04:30:40][18879.7f60078f6f20][-main-] Notice: Loading packages/xowiki/tcl/xowiki-www-procs.tcl...
[17/Mar/2013:04:30:40][18879.7f60078f6f20][-main-] Notice: Zen-state: 5.3.2 or newer
[17/Mar/2013:04:30:40][18879.7f60078f6f20][-main-] Notice: Loaded packages/xowiki/tcl/xowiki-www-procs.tcl.
[17/Mar/2013:04:30:40][18879.7f60078f6f20][-main-] Notice: Loading packages/xowiki-portlet/tcl/xowiki-admin-portlet-procs.tcl...
Both cases, log file entries below 1 sek. Our production system is quite large, we have 116 OpenACS packages loaded.

How many site_nodes do you have? A few years ago, we had problems with slow startups due to many site-nodes (250,000+). I implemented an xotcl-based version which solved this issue (no nsv's involved). Due to the new cose, also mounting/unmounting packages instances is much faster. We have the xotcl-based code in production since more than 2 years.

-gustaf neumann