Skip to content

Instantly share code, notes, and snippets.

-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.1.41-3ubuntu12.10
[OK] Operating on 32-bit architecture with less than 2GB RAM
-------- Storage Engine Statistics -------------------------------------------
[--] Status: -Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 7B (Tables: 1)
[--] Data in InnoDB tables: 312M (Tables: 44)
[!!] Total fragmented tables: 44
sudo ./hma-start "USA, Texas, Dallas (DC1 S1)"
Tue May 24 21:19:35 2011 OpenVPN 2.1.0 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 20 2010
Enter Auth Username:chasetoys
Enter Auth Password:
Tue May 24 21:20:10 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 24 21:20:10 2011 WARNING: file './keys/hmauser.key' is group or others accessible
Tue May 24 21:20:10 2011 /usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted>
Tue May 24 21:20:12 2011 Control Channel MTU parms [ L:1543 D:140 EF:40 EB:0 ET:0 EL:0 ]
Tue May 24 21:20:12 2011 Data Channel MTU parms [ L:1543 D:1450 EF:43 EB:4 ET:0 EL:0 ]
Tue May 24 21:20:12 2011 Local Options hash (VER=V4): 'db02a8f8'
source 'http://rubygems.org'
gem "rails", "2.3.11"
gem 'money', '3.6.1'
gem 'whenever', '0.6.7'
gem 'paperclip', '2.3.11'
gem 'JasonKing-inline_attachment'
gem 'ruby-gmail', '0.2.1'
gem 'rest-client', '1.6.1'
gem 'resque', '1.16.1'
QUEUE=scraper RAILS_ENV=backend rake resque:work --trace
(in /var/www/dev1/releases/20110519010406)
** Invoke resque:work (first_time)
** Invoke resque:setup (first_time)
** Execute resque:setup
** Execute resque:work
rake aborted!
undefined method `get' for nil:NilClass
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.3.11/lib/active_support/whiny_nil.rb:52:in `method_missing'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/redis-namespace-1.0.3/lib/redis/namespace.rb:213:in `send'
~/.my.cnf already exists!
Replace ? [y/N] : y
-- MYSQL PERFORMANCE TUNING PRIMER --
- By: Matthew Montgomery -
MySQL Version 5.0.32-Debian_7etch5-log i486
May 16 20:13:38 phonemyphone kernel: Out of Memory: Kill process 25482 (mysqld) score 32570 and children.
May 16 20:13:38 phonemyphone kernel: Out of memory: Killed process 25482 (mysqld).
May 16 20:13:45 phonemyphone mysqld_safe[25581]: Number of processes running now: 0
May 16 20:13:45 phonemyphone mysqld_safe[25584]: restarted
May 16 20:13:56 phonemyphone mysqld[25587]: 110516 20:13:55 InnoDB: Database was not shut down normally!
May 16 20:13:56 phonemyphone mysqld[25587]: InnoDB: Starting crash recovery.
May 16 20:13:56 phonemyphone mysqld[25587]: InnoDB: Reading tablespace information from the .ibd files...
May 16 20:13:57 phonemyphone mysqld[25587]: InnoDB: Restoring possible half-written data pages from the doublewrite
May 16 20:13:57 phonemyphone mysqld[25587]: InnoDB: buffer...
May 16 20:15:35 phonemyphone kernel: Out of Memory: Kill process 25586 (mysqld) score 19747 and children.
### RAKEFILE
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'simple-rss'
class Parser
puts "parser"
class RssParser
puts "rss_parser"
def self.perform(rss_url)
begin