<html>
<head>
<!-- Template generated by Exclaimer Mail Disclaimers on 05:29:15 Thursday, 13 October 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<p>A few things to look at :<br>
</p>
<p>- if you have the database and the web frontend on the same machine , 4 GB to me sounds very minimal... PostgreSQL will become much quicker if it can cache more data so you might want to add some RAM (go to 6 or 8 GB and maybe tweak your PostgreSQL configuration
 a bit) When we were still running virtual the web frontend machine had 8 GB and the PostgreSQL VM had 8 GB, both with 2 cores and things ran fine (granted, with only roughly 70 clients)<br>
</p>
<p>- for us OSA became a lot smoother and more stable by switching it's backend from berkeley DB to SQLite ; I'd recommend this step to everybody using OSA. See <a href="https://www.redhat.com/archives/spacewalk-list/2011-March/msg00048.html">https://www.redhat.com/archives/spacewalk-list/2011-March/msg00048.html</a>
 on how to do this.​<br>
</p>
<p>- you might want to check if the machine is hitting I/O limits ; tools like vmstat can help a lot<br>
</p>
<p><br>
</p>
<p>More CPU's doesn't sound like the solution, as only one core is pegged at 100% ; memory, disk I/O and maybe if it's a remote PostgreSQL instance network sound like more likely candidates.<br>
</p>
<p>--<br>
</p>
<p>Jan-Albert<br>
</p>
<p><br>
</p>
<div dir="ltr" style="color: rgb(33, 33, 33);"></div>
<br>
<font style="font-family: Verdana;font-size:8pt;color:#7D7D7D;font-weight:bold;">Jan-Albert</font><font style="font-family: Verdana;font-size:8pt;color:#7D7D7D;font-weight:bold;">
</font><font style="font-family:Verdana;font-size:8pt;color:#7D7D7D;font-weight:bold;">van Ree</font><font size="3" face="Segoe UI"></font><font style="font-family:Verdana;font-size:8pt;color:#7D7D7D;font-weight:bold;"> |
</font><font style="font-family:Verdana;font-size:8pt;color:#7D7D7D;font-weight:bold;">Linux System Administrator</font><font style="font-family:Verdana;font-size:8pt;color:#7D7D7D;font-weight:bold;"> |
</font><font style="font-family:Verdana;font-size:8pt;color:#7D7D7D;font-weight:bold;">MARIN Support Group</font><br>
<font style="font-family:Verdana;font-size:9pt;color:#7D7D7D;font-weight:bold;">MARIN</font><font style="font-family:Verdana;font-size:8pt;color:#7D7D7D;"> | T
</font><font style="font-family:Verdana;font-size:8pt;color:#7D7D7D;">+31 317 49 35 48</font><font color="#7d7d7d" size="2" face="Segoe UI"></font><font style="font-family:Verdana;font-size:8pt;"> |
</font><span style="font-family:Verdana;font-size:8pt;"><a href="mailto:J.A.v.Ree@marin.nl" title="" target="" style="font-family:Verdana;font-size:8pt;"><span style="font-family:Verdana; font-size:8pt;">J.A.v.Ree@marin.nl</span></a></span><font color="#7d7d7d" size="2" face="Segoe UI"></font><font style="font-family:Verdana;font-size:8pt;"> |
</font><span style="font-family:Verdana;font-size:8pt;"><a href="http://www.marin.nl" title="" target="" style="font-family:Verdana;font-size:8pt;"><span style="font-family:Verdana; font-size:8pt;">www.marin.nl</span></a></span><br>
<br>
<a href="https://www.linkedin.com/company/marin" target=""><img width="16" height="16" style="border: 0px Solid ; " src="cid:image11bc0e.PNG@7381f0ab.439a5b40" alt="LinkedIn"></a> <a href="http://www.youtube.com/marinmultimedia" target=""><img width="16" height="16" style="border: 0px Solid ; " src="cid:imagee95bb6.PNG@4172e809.4c8a24e7" alt="YouTube"></a> <a href="https://twitter.com/MARIN_nieuws" target=""><img width="16" height="16" style="border: 0px Solid ; " src="cid:image4e3140.PNG@839b3c49.428e3613" alt="Twitter"></a> <a href="https://www.facebook.com/marin.wageningen" target=""><img width="16" height="16" style="border: 0px Solid ; " src="cid:image1ea6dc.PNG@d15869bd.46a0f4af" alt="Facebook"></a><br>
<font style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" color="#7d7d7d" size="2" face="Verdana">MARIN news:
<font style="font-family:Verdana;font-size:8pt;"><span style="font-family:Verdana;font-size:8pt;"><a href="http://www.marin.nl/web/News/News-items/Software-seminar-in-Shanghai-for-the-first-time.htm" title="" target="" style="font-family:Verdana;font-size:8pt;"><span style="font-family:Verdana; font-size:8pt;">Software
 seminar in Shanghai for the first time</span></a></span></font></font>
<p></p>
<p></p>
<div dir="ltr" style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> spacewalk-list-bounces@redhat.com <spacewalk-list-bounces@redhat.com> on behalf of Daryl Rose <darylrose@outlook.com><br>
<b>Sent:</b> Thursday, October 13, 2016 16:54<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> [Spacewalk-list] How to improve WUI performance</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>I have 465 servers in my SW environment, and I keep adding more everyday.  When finished, I'll have nearly a thousand servers in the environment.</p>
<p><br>
</p>
<p>My SW server is a virtual RHEL 6.6, SW v2.3.  I have four CPU's and four Gigs of memory allocated to the server. </p>
<p><br>
</p>
<p>Whenever I select "Systems" from the main menu a single CPU pegs at 100%, and it takes several minutes for the page to come up.  <span style="font-size:12pt">It appears that osa-dispatcher is what is using up the CPU.  osa-dispatcher is often at 99 to 100%.</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">Is there  a way to performance tune SW?  Can I configure SW to use all four CPU's, or should I add additional CPU's, can configure SW to use all assigned CPU's?</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">Thanks</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p>Daryl</p>
</div>
</div>
</div>
</EXCLAIMER:ORIGINAL_BODY_AFTER>
<p></p>
</EXCLAIMER:TEXT_ONLY></EXCLAIMER:AD></EXCLAIMER:AD>
</body>
</html>