cpu spikes ruby1.8

16 views
Skip to first unread message

ffa

unread,
Apr 10, 2012, 7:02:21 PM4/10/12
to fat-free-...@googlegroups.com
hey,

 I'm getting some pretty massive cpu spikes using fat free crm. Ranging from 30% to 95% of the cpu. Any idea on why this is occuring? Anyone else experiencing this with the latest master of fat free crm using ruby 1.8?

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND 
722 fatfree     20   0  235m  127m 1936 S   91       25.2      0:18.21 ruby1.8                      
1445 mysql     20   0  337m   21m   3432 S    1       4.2       0:02.42 mysqld

ffa

unread,
Apr 11, 2012, 5:56:29 AM4/11/12
to fat-free-...@googlegroups.com
are the redering times this slow for anyone else? (ruby 1.8)

Started GET "/crm/opportunities" for <ip> at Wed Apr 11 04:54:26 -0500 2012
Processing by OpportunitiesController#index as HTML
  Rendered shared/_inline_styles.html.haml (4.0ms)
  Rendered entities/_condition_fields.html.haml (242.6ms)
  Rendered entities/_condition_fields.html.haml (97.5ms)
  Rendered entities/_grouping_fields.html.haml (348.0ms)
  Rendered entities/_condition_fields.html.haml (98.1ms)
  Rendered entities/_condition_fields.html.haml (265.1ms)
  Rendered entities/_grouping_fields.html.haml (369.4ms)
  Rendered entities/_advanced_search.html.haml (910.5ms)
  Rendered opportunities/_opportunity.html.haml (1699.4ms)
  Rendered shared/_paginate.haml (1.6ms)
  Rendered shared/_export.html.haml (0.9ms)
  Rendered opportunities/index.html.haml within layouts/application (2651.4ms)
  Rendered layouts/_jumpbox.html.haml (2.6ms)
  Rendered layouts/_header.html.haml (5.2ms)
  Rendered shared/_search.html.haml (1.0ms)
  Rendered opportunities/_sidebar_index.html.haml (168.8ms)
  Rendered shared/_recent.html.haml (4.9ms)
  Rendered shared/_recently.html.haml (27.3ms)
  Rendered layouts/_sidebar.html.haml (199.8ms)
  Rendered layouts/_tabbed.html.haml (208.1ms)
  Rendered layouts/_about.html.haml (1.6ms)
  Rendered layouts/_footer.html.haml (2.9ms)
Completed 200 OK in 3088ms (Views: 2828.3ms | ActiveRecord: 77.5ms)

ben tillman

unread,
Apr 10, 2012, 10:09:54 PM4/10/12
to fat-free-...@googlegroups.com
Hi,
We would need a bit more information to help such as what actions are
running, you could try looking at your log for the same time as the
CPU spike(s).

> --
> You received this message because you are subscribed to the Google Groups
> "Fat Free CRM Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/fat-free-crm-users/-/WkdnQ4rccoUJ.
> To post to this group, send email to fat-free-...@googlegroups.com.
> To unsubscribe from this group, send email to
> fat-free-crm-us...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/fat-free-crm-users?hl=en.

ffa

unread,
May 4, 2012, 4:26:20 PM5/4/12
to fat-free-...@googlegroups.com

This turned out to be my fault. I didn't wasn't paying attention to my server logs. Swap space was being used...


On Tuesday, April 10, 2012 4:02:21 PM UTC-7, ffa wrote:
Reply all
Reply to author
Forward
0 new messages