16 Active Support 14.5 Performance Testing
rake db:version
(in /home/rubys/git/awdwr/work-188-236/depot)
Current version: 20100301000007
edit lib/tasks/db_schema_migrations.rake
namespace :db do
desc "Prints the migrated versions"
task :schema_migrations => :environment do
puts ActiveRecord::Base.connection.select_values(
'select version from schema_migrations order by version' )
end
end
rake db:schema_migrations
(in /home/rubys/git/awdwr/work-188-236/depot)
20100301000001
20100301000002
20100301000003
20100301000004
20100301000005
20100301000006
20100301000007
ls log
development.log
production.log
server.log
test.log
find script -type f
script/generate
script/destroy
script/runner
script/plugin
script/console
script/performance/benchmarker
script/performance/profiler
script/dbconsole
script/server
script/about
echo "puts $:" | IRBRC=tmp/irbrc ruby script/console
*** glibc detected *** irb: realloc(): invalid next size: 0x081e52e8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb75a4803]
/lib/tls/i686/cmov/libc.so.6(realloc+0x10b)[0xb75a675b]
irb(ruby_xrealloc+0x56)[0x8075696]
irb(rb_str_resize+0x53)[0x80bfcc3]
irb[0x80721c7]
irb(rb_find_file_ext+0x1d2)[0x8072a32]
irb(rb_require_safe+0x12d)[0x806726d]
irb[0x8063ab6]
irb[0x8063d81]
irb[0x805ecf3]
irb[0x8067be6]
irb[0x806806b]
irb[0x8059334]
irb[0x8063ab6]
irb[0x8063d81]
irb[0x805ecf3]
irb[0x80639fc]
irb[0x8063d81]
irb[0x805ecf3]
irb[0x805ef39]
irb[0x806b95e]
irb(rb_yield+0x21)[0x806cdc1]
irb(rb_ary_each+0x31)[0x80d1c51]
irb[0x8063ab6]
irb[0x8063d81]
irb[0x8060e11]
irb[0x80618ce]
irb[0x80639fc]
irb[0x8063d81]
irb[0x805ebc6]
irb[0x80639fc]
irb[0x8063d81]
irb[0x805ebc6]
irb[0x80639fc]
irb[0x8063d81]
irb[0x805ebc6]
irb[0x80639fc]
irb[0x8063d81]
irb[0x805ebc6]
irb[0x806d630]
irb(ruby_exec+0x16)[0x806d656]
irb(ruby_run+0x21)[0x806d9a1]
irb[0x805527f]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb754d450]
irb[0x80551d1]
======= Memory map: ========
08048000-08102000 r-xp 00000000 08:05 20446 /home/rubys/.rvm/rubies/ruby-1.8.8-r27984/bin/ruby
08102000-08103000 rw-p 000ba000 08:05 20446 /home/rubys/.rvm/rubies/ruby-1.8.8-r27984/bin/ruby
08103000-081f8000 rw-p 08103000 00:00 0 [heap]
b7300000-b7321000 rw-p b7300000 00:00 0
b7321000-b7400000 ---p b7321000 00:00 0
b7423000-b7450000 r-xp 00000000 08:05 2965573 /lib/libncurses.so.5.6
b7450000-b7453000 rw-p 0002c000 08:05 2965573 /lib/libncurses.so.5.6
b7453000-b747f000 r-xp 00000000 08:05 2965623 /lib/libreadline.so.5.2
b747f000-b7483000 rw-p 0002c000 08:05 2965623 /lib/libreadline.so.5.2
b7483000-b7484000 rw-p b7483000 00:00 0
b7494000-b751f000 rw-p b7494000 00:00 0
b751f000-b7533000 r-xp 00000000 08:05 2998328 /lib/tls/i686/cmov/libpthread-2.7.so
b7533000-b7535000 rw-p 00013000 08:05 2998328 /lib/tls/i686/cmov/libpthread-2.7.so
b7535000-b7537000 rw-p b7535000 00:00 0
b7537000-b7680000 r-xp 00000000 08:05 2998314 /lib/tls/i686/cmov/libc-2.7.so
b7680000-b7681000 r--p 00149000 08:05 2998314 /lib/tls/i686/cmov/libc-2.7.so
b7681000-b7683000 rw-p 0014a000 08:05 2998314 /lib/tls/i686/cmov/libc-2.7.so
b7683000-b7686000 rw-p b7683000 00:00 0
b7686000-b76a9000 r-xp 00000000 08:05 2998318 /lib/tls/i686/cmov/libm-2.7.so
b76a9000-b76ab000 rw-p 00023000 08:05 2998318 /lib/tls/i686/cmov/libm-2.7.so
b76ab000-b76b4000 r-xp 00000000 08:05 2998316 /lib/tls/i686/cmov/libcrypt-2.7.so
b76b4000-b76b6000 rw-p 00008000 08:05 2998316 /lib/tls/i686/cmov/libcrypt-2.7.so
b76b6000-b76de000 rw-p b76b6000 00:00 0
b76de000-b76e0000 r-xp 00000000 08:05 2998317 /lib/tls/i686/cmov/libdl-2.7.so
b76e0000-b76e2000 rw-p 00001000 08:05 2998317 /lib/tls/i686/cmov/libdl-2.7.so
b76e2000-b76e9000 r-xp 00000000 08:05 2998330 /lib/tls/i686/cmov/librt-2.7.so
b76e9000-b76eb000 rw-p 00006000 08:05 2998330 /lib/tls/i686/cmov/librt-2.7.so
b76eb000-b76f5000 r-xp 00000000 08:05 2969156 /lib/libgcc_s.so.1
b76f5000-b76f6000 rw-p 0000a000 08:05 2969156 /lib/libgcc_s.so.1
b76f6000-b76fa000 r-xp 00000000 08:05 8703887 /home/rubys/.rvm/rubies/ruby-1.8.8-r27984/lib/ruby/1.8/i686-linux/readline.so
b76fa000-b76fb000 rw-p 00003000 08:05 8703887 /home/rubys/.rvm/rubies/ruby-1.8.8-r27984/lib/ruby/1.8/i686-linux/readline.so
b76fb000-b76fd000 rw-p b76fb000 00:00 0
b76fd000-b76fe000 r-xp b76fd000 00:00 0 [vdso]
b76fe000-b7718000 r-xp 00000000 08:05 1786011 /lib/ld-2.7.so
b7718000-b771a000 rw-p 00019000 08:05 1786011 /lib/ld-2.7.so
bf8c5000-bf8da000 rw-p bffeb000 00:00 0 [stack]
Aborted