Ok one minute is fine, the counters will reset in 5 minutes anyway.

Ok, the problem is in setup_clone / setup_object_clone method which
creates a deep copy of each record for comparison. But I wonder how is
possible you have 20k calls of this clone after just 1 minute.

Tell me more about your infrastructure. How many hosts? What is the
everage count of NICs associated with a host? Don't you have some kind
of broken host with 20k NICs associated? Remember, Puppet fact upload
will cause creation of NIC record for each NIC reported, so you could
have some broken host reporting "ethXYZ_address" each puppet run
causing the NIC table to grow.

Also, can you tell the 100% CPU utilization is by Ruby process itself,
or is that caused by swapping? If this is really the Ruby process
doing some work, please also run

foreman-tracer rails calls

For a minute or two to see where is it looping in. Then pastebin again, thanks.

LZ


On Tue, Nov 1, 2016 at 12:47 PM, Justin Foreman <jfore...@gmail.com> wrote:
> I wasn't sure how long to run them, so I ran each for 60 seconds.
>
> foreman-tracer rails objects-total
> http://pastebin.com/QdZePcWQ
>
> foreman-tracer rails objects
> http://pastebin.com/jVbDRm3c
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-users+unsubscr...@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.



-- 
Later,
  Lukas @lzap Zapletal

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to