<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Jan-Albert,</p>
<p><br>
</p>
<p>Thank you for the information, this and your previous reply.  Both very helpful. </p>
<p><br>
</p>
<p>Daryl</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<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 Ree, Jan-Albert van <J.A.v.Ree@marin.nl><br>
<b>Sent:</b> Thursday, October 13, 2016 12:41 PM<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> Re: [Spacewalk-list] How to improve WUI performance</font>
<div> </div>
</div>
<div>
<p></p>
<p>Pushing larger updates to ALL clients at once is a bad idea as soon as you go over 20-30 clients already...<br>
</p>
<p><br>
</p>
<p>Our SW server (Scientific Linux 7, SW 2.5) is physical, with 64GB RAM. 6 cores and a solid RAID drive set. <span style="font-size:12pt">As soon as I for instance update some software on one of our HPC clusters, as soon as I allow more than 20-25 clients
 to pull </span>simultaneous <span style="font-size:12pt">I start getting tracebacks in my mailbox... specially if the updates become larger (new kernels, new nVidia CUDA suite, new LibreOffice)  </span><span style="font-size:12pt">I would try to move to CentOS/RHEL/ScientificLinux
 7 for your new install, the </span><span style="font-size:12pt">later PostgreSQL version</span><span style="font-size:12pt"> in it </span><span style="font-size:12pt">i</span><span style="font-size:12pt">s</span><span style="font-size:12pt"> a lot more efficient
 which helps speed up your SW instance.</span></p>
<p><br>
</p>
<p>When I moved to a new server I didn't want to pull all the history (and some poor choices/mistakes from the past) so I set up a clean new server, with the proper channels/configs/packages and then on the old server selected batches of clients to which I
 pushed a script which registered them with the new server.<br>
</p>
<p>This worked very well for us and allowed us to test and tweak the setup (it was during this phase on the new server that we noticed the OSAD issues and managed to solve it with moving to sqlite3) before moving to full production. <br>
</p>
<p><br>
</p>
<p>What helped us debug/fix OSA issues was the script from post <a href="https://www.redhat.com/archives/spacewalk-list/2014-May/msg00124.html" id="LPlnk591496" previewremoved="true">https://www.redhat.com/archives/spacewalk-list/2014-May/msg00124.html</a>
 ; great to easily track which nodes are not working as expected.<br>
</p>
<p>Regards,<br>
</p>
<p>--<br>
</p>
<p>Jan-Albert<br>
</p>
<p><br>
</p>
<div 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 naturalheight="16" naturalwidth="16" width="16" height="16" alt="LinkedIn" style="border: 0px solid; -webkit-user-select: none;" aria-expanded="false" tabindex="0" src="cid:imageabcd9b.PNG@ec239d20.4bb91603"></a> <a href="http://www.youtube.com/marinmultimedia" target=""><img naturalheight="16" naturalwidth="16" width="16" height="16" alt="YouTube" style="border: 0px solid; -webkit-user-select: none;" aria-expanded="false" tabindex="0" src="cid:imagec70e4d.PNG@ae523a51.4da15102"></a> <a href="https://twitter.com/MARIN_nieuws" target=""><img naturalheight="16" naturalwidth="16" width="16" height="16" alt="Twitter" style="border: 0px solid; -webkit-user-select: none;" aria-expanded="false" tabindex="0" src="cid:imageacccc5.PNG@96dccc0c.49969d23"></a> <a href="https://www.facebook.com/marin.wageningen" target=""><img naturalheight="16" naturalwidth="16" width="16" height="16" alt="Facebook" style="border: 0px solid; -webkit-user-select: none;" aria-expanded="false" tabindex="0" src="cid:image7fd843.PNG@42d952fc.47a5d568"></a><br>
<font color="#7d7d7d" size="2" face="Verdana" style="font-family:Verdana; font-size:8pt">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 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 Konstantin Raskoshnyi <konrasko@gmail.com><br>
<b>Sent:</b> Thursday, October 13, 2016 19:19<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> Re: [Spacewalk-list] How to improve WUI performance</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hm..do you use osad? Just try to push updates for all of your clients and see what happens ;)</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Oct 13, 2016 at 10:08 AM, Coffman, Anthony J <span dir="ltr">
<<a href="mailto:Tony.Coffman@snapon.com" target="_blank">Tony.Coffman@snapon.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div lang="EN-US">
<div class="m_-4933825359331440690WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">Spacewalk 2.5 (with 3 remote proxies)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">CentOS 6.8 VM (running stock Postgres 8.4)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">4 vCPUs<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">12GB memory<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">550 clients (CentOS/OracleLinux/EL5/6/7 with a sprinkling of Ubuntu and SuSE thrown in)A<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">The System page in the WebUI loads in about 4-6 seconds (faster when the cache is warm).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">I’ve done essentially no tuning except for changing the proxy timeout (due to issue with the large updateinfo size for Oracle Linux).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">Looking at our memory utilization we could probably get away with 6-8GB of memory for our workload.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">Hope this data point is useful.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">--Tony<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><a name="m_-4933825359331440690__MailEndCompose"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></a></p>
<div>
<div style="border:none; border-top:solid #e1e1e1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">
<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.<wbr>com</a> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-<wbr>bounces@redhat.com</a>]
<b>On Behalf Of </b>Daryl Rose<br>
<b>Sent:</b> Thursday, October 13, 2016 12:25 PM<span class=""><br>
<b>To:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
<b>Subject:</b> Re: [Spacewalk-list] How to improve WUI performance<u></u><u></u></span></span></p>
</div>
</div>
<span class="">
<p class="MsoNormal"><u></u> <u></u></p>
<div id="m_-4933825359331440690divtagdefaultwrapper">
<p><span style="font-family:"Calibri",sans-serif; color:black">I am actually leaning to moving to a physical server.  I have a server in the closet that is dual CPU, 8 core, 64GB of RAM.  I was originally thinking that it was a bit of over kill, but after reading
 this reply, perhaps its sized correctly.<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">If I do move to a physical, can I migrate everything from the original SW server to the replacement server?  Can I export the database and import it over?  Migrate repositories over?  I am using
 a signed certificates, and I would like to continue using the same machine name and configuration.  Do I have to re-register these servers?  Its taken me a while to get 465 added in, and I don't want to have to re-register everything, especially since I continue
 adding on a daily bases.<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">Thanks<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">Daryl<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"><u></u> <u></u></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Calibri",sans-serif; color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="m_-4933825359331440690divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">
</span><a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">spacewalk-list-bounces@redhat.<wbr>com</span></a><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">
 <</span><a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">spacewalk-list-bounces@<wbr>redhat.com</span></a><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">>
 on behalf of Konstantin Raskoshnyi <</span><a href="mailto:konrasko@gmail.com" target="_blank"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">konrasko@gmail.com</span></a><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">><br>
<b>Sent:</b> Thursday, October 13, 2016 10:43 AM<br>
<b>To:</b> </span><a href="mailto:spacewalk-list@redhat.com" target="_blank"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">spacewalk-list@redhat.com</span></a><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"><br>
<b>Subject:</b> Re: [Spacewalk-list] How to improve WUI performance</span><span style="font-family:"Calibri",sans-serif; color:black">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif; color:black"> <u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif; color:black">You need bare metal high performance machine. 
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif; color:black">We have 400 machines and use xeon7 24cores with 64 of ram.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif; color:black">Plus tuning: Postgres, Linux, tomcat<br>
<br>
On Thursday, October 13, 2016, Daryl Rose <</span><a href="mailto:darylrose@outlook.com" target="_blank"><span style="font-family:"Calibri",sans-serif">darylrose@outlook.com</span></a><span style="font-family:"Calibri",sans-serif; color:black">> wrote:<u></u><u></u></span></p>
<blockquote style="border:none; border-left:solid #cccccc 1.0pt; padding:0in 0in 0in 6.0pt; margin-left:4.8pt; margin-top:5.0pt; margin-right:0in; margin-bottom:5.0pt">
<div>
<div>
<p><span style="font-family:"Calibri",sans-serif; color:black">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.<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">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. <u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">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.  It appears that osa-dispatcher is what is using up the CPU.  osa-dispatcher
 is often at 99 to 100%.<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">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?<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">Thanks<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">Daryl<u></u><u></u></span></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</span></div>
</div>
<br>
______________________________<wbr>_________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://portal.marin.nl/mailman/listinfo/,DanaInfo=www.redhat.com,SSL+spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/spacewalk-<wbr>list</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<p></p>
</div>
</div>
</div>
</body>
</html>