<div dir="ltr">I had similar issues and ended up first breaking out the database to it's own VM, then increasing the Postgres debug logs.  I saw that there were a large number of operations running against the snapshot tables, with locks and so on being set for a long period of time.  In /etc/rhn/rhn.conf, try disabling snapshots with:<div><br></div><div><div>enable_snapshots = 0</div></div><div><br></div><div>I also did quite a bit of Postgres tuning using pgtune, for 5,000 clients or so:</div><div>pgtune -i data/postgresql.conf  -o ./data/postgresql.conf.new -c 5000<br></div><div><br></div><div>Another thing that may help is installing pgbadger to analyze your Postgres logs... it has some nice visualizations of the types of queries and tables involved, which may point you in the right direction if snapshots aren't the reason for the high utilization.</div><div><a href="https://github.com/dalibo/pgbadger">https://github.com/dalibo/pgbadger</a><br></div><div><br></div><div>Hope that helps.</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 10, 2016 at 4:06 PM Konstantin Raskoshnyi <<a href="mailto:konrasko@gmail.com">konrasko@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Because all your systems request information from SP, and default installation doesn't make any sense if you have more that 50 machines, so you need to tyne postgres, tomcat & linux itself</div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Mon, Oct 10, 2016 at 12:34 PM, Allan Moraes <span dir="ltr" class="gmail_msg"><<a href="mailto:allan@allanmoraes.com.br" class="gmail_msg" target="_blank">allan@allanmoraes.com.br</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg">Hi</div><div class="gmail_msg">In my CentOS 7 server, is installed the spacewalk 2.4 and PostgreSQL from default installation. Via iotop, my postgresql write a lot of informations, during all day. Why this occur?</div></div>
<br class="gmail_msg">_______________________________________________<br class="gmail_msg">
Spacewalk-list mailing list<br class="gmail_msg">
<a href="mailto:Spacewalk-list@redhat.com" class="gmail_msg" target="_blank">Spacewalk-list@redhat.com</a><br class="gmail_msg">
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" class="gmail_msg" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br class="gmail_msg"></blockquote></div><br class="gmail_msg"></div>
_______________________________________________<br class="gmail_msg">
Spacewalk-list mailing list<br class="gmail_msg">
<a href="mailto:Spacewalk-list@redhat.com" class="gmail_msg" target="_blank">Spacewalk-list@redhat.com</a><br class="gmail_msg">
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" class="gmail_msg" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div>