<html xmlns="http://www.w3.org/TR/REC-html40" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
</head>
<body vlink="purple" link="blue" lang="EN-US">
Is top showing that you really are using the 4 CPUs available?<br />
Pressing the numeral 1 will toggle multiple CPU lines in top.<br />
To display the CPU a program is running on first press 'f' then 'J' to add the CPU in use column (P) to top's display.<br />
What is your load average?<br />
<br />
Does 'uname -a' show that you're running the SMP version of Debian?<br />
<br />
<br />
<p>Randy Rowe<br />
Lincoln City Libraries I.T.<br />
<br />
<br />
</p>
<br />
<br />
-----Original Message-----<br />
From: "IBS Computer Support" <ibssupport@Colorado.EDU><br />
Sent 10/27/2011 10:35:36 AM<br />
To: "Randall Rowe" <r.rowe@lincolnlibraries.org>, "ibs computer support" <ibssupport@colorado.edu>, "koha@lists.katipo.co.nz" <koha@lists.katipo.co.nz>, "Chris Cormack" <chris@bigballofwax.co.nz><br />
Subject: RE: [Koha] Introduction and incredibly slow searches<br />
<br />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="Microsoft Word 14 (filtered medium)" name="Generator" />
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color: #1f497d;">To answer the questions from Randy and Chris and add more detail. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">Koha was installed following these directions:<o:p></o:p></span></p>
<p class="MsoNormal"><a href="http://wiki.koha-community.org/wiki/Koha_3.2_on_Debian_Squeeze">http://wiki.koha-community.org/wiki/Koha_3.2_on_Debian_Squeeze</a><span style="color: #1f497d;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">and the install notes towards the bottom of this page starting at “Step: Install Koha”<o:p></o:p></span></p>
<p class="MsoNormal"><a href="http://wiki.koha-community.org/wiki/Setting_Up_Koha_in_Virtual_Environment_%2B_Using_That_as_a_Development_Environment">http://wiki.koha-community.org/wiki/Setting_Up_Koha_in_Virtual_Environment_%2B_Using_That_as_a_Development_Environment</a><span style="color: #1f497d;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">The server is a virtual machine on ESXi v4.1.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">It is the only virtual machine on the host ESXi server. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">It has 4 CPUs dedicated to it, as well as 1GB RAM<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">Watching “top” it doesn’t use enough RAM to get to need to swap<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">Top shows:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">opac-search.pl for however many tabs I open from the initial search screen<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">followed up with <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">opac-detail.pl<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">ping requests are <1ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">Machines are on the same physical network, just different subnets. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;">Jeremy<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><o:p> </o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; border-color: #b5c4df -moz-use-text-color -moz-use-text-color; -moz-border-top-colors: none; -moz-border-right-colors: none; -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-image: none; padding: 3pt 0in 0in;">
<p class="MsoNormal"><strong><span style="font-size: 10pt; font-family: "tahoma","sans-serif";">From:</span></strong><span style="font-size: 10pt; font-family: "tahoma","sans-serif";"> Randall Rowe [mailto:r.rowe@lincolnlibraries.org] <br />
<strong>Sent:</strong> Thursday, October 27, 2011 5:47 AM<br />
<strong>To:</strong> ibs computer support; koha@lists.katipo.co.nz<br />
<strong>Subject:</strong> Re: [Koha] Introduction and incredibly slow searches<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p style="margin-bottom: 12pt;" class="MsoNormal">What version of koha are you running? Where did you download it?<br />
I noticed that you went "through the examples on liblime.com".<br />
If that is where you downloaded koha then you are not running the community version of koha.<br />
<br />
Regardless of what koha you are running, check the output of the command "top".<br />
That should give you an idea of what is taking up time in the process.<br />
<br />
Are all these machines on a local network? Is ping response between the machines reasonable?<o:p></o:p></p>
<p style="margin-bottom: 12pt;">Randy Rowe<br />
Lincoln City Libraries I.T.<br />
<br />
<o:p></o:p></p>
<p style="margin-bottom: 12pt;" class="MsoNormal"><br />
-----Original Message-----<br />
From: "IBS Computer Support" <<a href="mailto:ibssupport@Colorado.EDU">ibssupport@Colorado.EDU</a>><br />
Sent 10/26/2011 3:47:54 PM<br />
To: "<a href="mailto:koha@lists.katipo.co.nz">koha@lists.katipo.co.nz</a>" <<a href="mailto:koha@lists.katipo.co.nz">koha@lists.katipo.co.nz</a>><br />
Subject: [Koha] Introduction and incredibly slow searches<span style="font-size: 12pt; font-family: "times new roman","serif";"><o:p></o:p></span></p>
<p class="MsoNormal">Hello Everyone, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">New to the list, new to Koha, increasingly frustrated :}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve built a koha server for our in-house library which seems to have gone over fine but I’m having issues with incredibly slow search response. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m running the latest stable koha-common 3.6 (updated a few minutes ago) on Debian 6.0.3. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have successfully entered in a record for one book. When I search from the initial koha page it takes ~4 seconds to find this item. Then once the item has loaded if I click one of the links for a searchable item (author, details, etc.) it takes ~4-5 seconds for it to load. When I open all of these options at the same time in new tabs it takes forever. It seems to be an almost linear increase in the time it takes for the searches to complete. Also, each new tab running a different search will continue to run until one has finished, then once one has finished another will go. This process is ~4 seconds for each search. Seems like all searches are in a very slow queue.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So for this example book I have in the system there are 7 items that are searchable. If I go through and open each in a separate tab the total process for all of this is 30+seconds. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I tried running a webserver load test with just 10 users clicking on a different link each time the new page loaded and it failed horribly with an average page load wait of 50 seconds<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I really don’t know where to go to look for what’s causing this.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I use the “browse by author or subject search”, the authority search results page comes back in less than 2 seconds. Though it does show 0 biblios records (no clue what that is)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve gone through many example sites found here:<o:p></o:p></p>
<p class="MsoNormal"><a href="http://www.liblime.com/demos">http://www.liblime.com/demos</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And they don’t seem to have this same issue. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any help. Thought, direction would be greatly appreciated!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Jeremy<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Koha mailing list <a target="_blank" href="http://koha-community.org">http://koha-community.org</a><o:p></o:p></pre>
<pre><a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><o:p></o:p></pre>
<pre><a target="_blank" href="http://lists.katipo.co.nz/mailman/listinfo/koha">http://lists.katipo.co.nz/mailman/listinfo/koha</a><o:p></o:p></pre>
</div>
</body>
</html>