Skip to content

Instantly share code, notes, and snippets.

[09:56am] mage2k: Bino__: hi
[09:56am] Bino__: hi
[09:57am] mage2k: looks like about an hour ago the load kicked up a bit
[10:01am] You left the chat by being disconnected from the server.
[10:02am] You reconnected to the server.
[10:04am] Bino: yeah, we're heading into peak time
[10:07am] mage2k: do you want to do a quick db restart an re-increase the RAM?
[10:08am] Bino: let me take a look
[10:08am] mage2k: there's actually over 250M of RAM free, so I'd think we'd also want to re-increase the innodb buffers
[10:09am] mage2k: I'm checking to see if it was due to any obvious queries now
[11:50am] Bino: hi
[11:51am] tpol: hi... so I just noticed a long running query as I was logging in to check things over...
[11:52am] Bino: ok, great, just what we're looking for
[11:53am] tpol: the db was basically reading like crazy... whatever the query was that cleared the cache... it probably didn't impact you previously because your cache was so large
[11:59am] Bino: so the query cleared the cache?
[11:59am] Bino: can you find the query?
[12:02pm] tpol: hmm... I'm not seeing it yet
[12:08pm] You left the chat by being disconnected from the server.
[12:08pm] You rejoined the room.
[12:08pm] Bino left the chat room. (Read error: 104 (Connection reset by peer))
.F...F..F.F*.......F*F.F..................F..........ruby(747) malloc: *** vm_allocate(size=1069056) failed (error code=3)
ruby(747) malloc: *** error: can't allocate region
ruby(747) malloc: *** set a breakpoint in szone_error to debug
ruby(747) malloc: *** vm_allocate(size=1069056) failed (error code=3)
ruby(747) malloc: *** error: can't allocate region
ruby(747) malloc: *** set a breakpoint in szone_error to debug
ruby(747) malloc: *** vm_allocate(size=1069056) failed (error code=3)
ruby(747) malloc: *** error: can't allocate region
ruby(747) malloc: *** set a breakpoint in szone_error to debug
ruby(747) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Bino: hi
[11:51am] tpol: hi... so I just noticed a long running query as I was logging in to check things over...
[11:52am] Bino: ok, great, just what we're looking for
[11:53am] tpol: the db was basically reading like crazy... whatever the query was that cleared the cache... it probably didn't impact you previously because your cache was so large
[11:59am] Bino: so the query cleared the cache?
[11:59am] Bino: can you find the query?
[12:02pm] tpol: hmm... I'm not seeing it yet
[12:08pm] You left the chat by being disconnected from the server.
[12:08pm] You rejoined the room.
[12:08pm] Bino left the chat room. (Read error: 104 (Connection reset by peer))
rake aborted!
Command /usr/local/bin/ruby -I"/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/lib" "/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/bin/spec" "spec/controllers/meebo_controller_spec.rb" "spec/controllers/posts_controller_spec.rb" "spec/controllers/tweets_controller_spec.rb" "spec/helpers/meebo_helper_spec.rb" "spec/models/city_spec.rb" "spec/models/coverage_spec.rb" "spec/models/lib/post_finder_spec.rb" "spec/models/lib/rede_twitter_spec.rb" "spec/models/post_spec.rb" "spec/models/tweet_spec.rb" --options "/Users/jasongagne/redeparede/code/trunk/spec/spec.opts" failed
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/lib/spec/rake/spectask.rb:174:in `define'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1003:in `verbose'
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/lib/spec/rake/spectask.rb:150:in `define'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.r
rake aborted!
Command /usr/local/bin/ruby -I"/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/lib" "/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/bin/spec" "spec/controllers/meebo_controller_spec.rb" "spec/controllers/posts_controller_spec.rb" "spec/controllers/tweets_controller_spec.rb" "spec/helpers/meebo_helper_spec.rb" "spec/models/city_spec.rb" "spec/models/coverage_spec.rb" "spec/models/lib/post_finder_spec.rb" "spec/models/lib/rede_twitter_spec.rb" "spec/models/post_spec.rb" "spec/models/tweet_spec.rb" --options "/Users/jasongagne/redeparede/code/trunk/spec/spec.opts" failed
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/lib/spec/rake/spectask.rb:174:in `define'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1088:in `verbose'
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/lib/spec/rake/spectask.rb:150:in `define'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.r
rpwin:~/redeparede/code/trunk jasongagne$ ruby spec/controllers/meebo_controller_spec.rb
.................F.F.F*.......F*F.F..F...
Pending:
MeeboController getinfo should return error when user doesn't exists (Not Yet Implemented)
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec-rails/lib/spec/rails/example/controller_example_group.rb:121:in `initialize'
MeeboController getfriends should return error when user doesn't exists (Not Yet Implemented)
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec-rails/lib/spec/rails/example/controller_example_group.rb:121:in `initialize'
<% content_for("page_header") do %>
<%= "About our Featured Posts" -%>
<% end %>
<div class="tour">
<div class="skype featured">
<div class="tourbox first">
<h2>How do I get one?</h2>
<p>If you don't have a post yet, you can choose any premium option on the <%= link_to "post form", new_post_url %></p>
<p>If you already have a post, you can make it a premium post from the edit page</p>
</div>
sale_bikes_local_premium_rio:
title: 2006 SUZUKI GSX-R1000K6 BLUE, RED & SILVER RIO
body: With a racing pedigree that spans over 20 years, the GSXR range of motorcycles are the rio ultimate race replicas.\n This GSXR1000 is lighter, faster, more powerful than any other bike in it's class... it's that simple!\n For more information call 01782 861100 and ask for Neil Wilson the Sales Manager rio.
body_html: <p>With a racing pedigree that spans over 20 years, the GSXR range of motorcycles rio are the ultimate race replicas.\n This GSXR1000 is lighter, faster, more powerful than any other bike in it's class... it's that simple!\n For more information call 01782 861100 and ask for Neil Wilson the Sales Manager rio.</p>
user: quentin
category: bikes
city: rio
country_city_merge: 1827559498 # brasil id
country: brasil
ip_address: 127.0.0.1
rpwin:~/redeparede/code/trunk jasongagne$ rake spec
(in /Users/jasongagne/redeparede/code/trunk)
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/integration/tasks
...........FFFF........FF.FF............*........*..........................F...^C.^C.
Pending:
MeeboController getfriends should return error when user doesn't exists (Not Yet Implemented)
./spec/controllers/meebo_controller_spec.rb:220