OCLC does seem like the most significant likely bottleneck… but if that doesn’t help, another thing to look at is the ILS driver.  Does it get faster if you switch your driver from “Innovative” to “Sample”?  (Obviously, that’s not a long-term fix – but if the Innovative driver is causing a slowdown, switching temporarily to the do-nothing Sample driver should prove the theory).

 

- Demian

 

From: Eoghan Ó Carragáin [mailto:eoghan.ocarragain@gmail.com]
Sent: Tuesday, April 26, 2011 6:10 AM
To: waynelam
Cc: vufind-general@lists.sourceforge.net
Subject: Re: [VuFind-General] VuFind performance?

 

Hi,
I think this could be to do with your proxy settings. Line 148 ($editions = $this->recordDriver->getEditions();) in /web/services/Record/Record.php attempts to access OCLC/Worldcat to get other editions of the same book (via /web/RecordDrivers/IndexRecord.php and /web/sys/WorldCatUtils.php). Normally this is very quick, but if you are behind a proxy and it isn't configured under [Proxy] in config.ini, I've noticed that this can really slow down the record page, presumably because it is waiting on a timeout for the service. If you can't configure the proxy, try commenting out the following lines in /web/services/Record/Record.php as a test:
            // Find Other Editions
            //$editions = $this->recordDriver->getEditions();
            //if (!PEAR::isError($editions)) {
            //    $interface->assign('editions', $editions);
            //}
All the best,
Eoghan

On 26 April 2011 09:46, waynelam <waynelam@ln.edu.hk> wrote:

Hi,

I have recently freshly installed latest version of VuFind. I've imported
some of the records (around 1000 records). I experienced slow response
while accessing by opening record only but not searching. For instance,

http://my.vufind.address/vufind/Record/37046205

I tried to access solr directly to the specific record (id=37046205), it
response fast without problem.
I suspect the slow may come from the plugins. I tried to disable
them by commenting out "OpenURL", "OAI", "Catalog", etc but still no luck.

Someone know how to track this? The log wouldn't show me anything.



my config.ini:

[System]
available       = true
debug           = true
[Site]
path            = /vufind
url             = http://vufind.my.edu/vufind
local           = /var/www/vufind/web
email           = admin@vufind.my.edu
title           = "vufind.my.edu"
theme           = default
mobile_theme    = mobile
language        = en    ; default -- more options available in
[Languages] below.
locale          = en_US
timezone        = "Asia/Hong_Kong"
defaultModule   = Search
defaultRecordTab= Holdings
[Session]
type                        = MySQLSession
lifetime                    = 3600 ; Session lasts for 1 hour
file_save_path              = /tmp/vufind_sessions
[Catalog]
driver          = Innovative
[Authentication]
method          = ILS
[Statistics]
enabled         = false
solr            = http://localhost:8080/solr
[Index]
engine          = Solr
url             = http://localhost:8080/solr
local           = /var/www/vufind/solr
default_core    = biblio
[Mail]
host            = mail.my.edu
port            = 25
[Database]
database        = mysql://user:pass@localhost/catalog
schema_location = /var/www/vufind/web/conf
class_location  = /var/www/vufind/web/services/MyResearch/lib
require_prefix  =
class_prefix    =
debug           = 0

[Content]
authors         = Wikipedia

[Proxy]
[Spelling]
enabled = true
limit   = 3
phrase = false
expand  = true
simple = false
skip_numeric = true
[Logging]
file           = /var/log/vufind/messages.log:alert,error,notice,debug
[Extra_Config]
facets = facets.ini         ; settings affecting faceting in UI
searches = searches.ini     ; search definitions and preferences
[Languages]
en          = "English"
de          = "German"
es          = "Spanish"
fr          = "French"
it          = "Italian"
ja          = "Japanese"
nl          = "Dutch"
pt-br       = "Brazilian Portugese"
zh-cn       = "Simplified Chinese"
zh          = "Chinese"
tr          = "Turkish"
he          = "Hebrew"
ga          = "Irish"

[Browse]
result_limit    = 100
dewey           = false     ; allow browsing of Dewey Decimal call numbers
lcc             = true      ; allow browsing of LC call numbers

[Export]
RefWorks = true
EndNote = false
MARC = true
RDF = true


[Item_Status]
multiple_call_nos = first
multiple_locations = msg

[Record]
next_prev_navigation = false



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
VuFind-General mailing list
VuFind-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vufind-general