16 Active Support 14.5 Performance Testing
rake db:version
(in /home/rubys/git/awdwr/work-188-238/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-238/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[0xb75ea803]
/lib/tls/i686/cmov/libc.so.6(realloc+0x10b)[0xb75ec75b]
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)[0xb7593450]
irb[0x80551d1]
======= Memory map: ========
08048000-08102000 r-xp 00000000 08:05 3443180 /home/rubys/.rvm/rubies/ruby-1.8.8-r28050/bin/ruby
08102000-08103000 rw-p 000ba000 08:05 3443180 /home/rubys/.rvm/rubies/ruby-1.8.8-r28050/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
b7469000-b7496000 r-xp 00000000 08:05 2965573 /lib/libncurses.so.5.6
b7496000-b7499000 rw-p 0002c000 08:05 2965573 /lib/libncurses.so.5.6
b7499000-b74c5000 r-xp 00000000 08:05 2965623 /lib/libreadline.so.5.2
b74c5000-b74c9000 rw-p 0002c000 08:05 2965623 /lib/libreadline.so.5.2
b74c9000-b74ca000 rw-p b74c9000 00:00 0
b74da000-b7565000 rw-p b74da000 00:00 0
b7565000-b7579000 r-xp 00000000 08:05 2998328 /lib/tls/i686/cmov/libpthread-2.7.so
b7579000-b757b000 rw-p 00013000 08:05 2998328 /lib/tls/i686/cmov/libpthread-2.7.so
b757b000-b757d000 rw-p b757b000 00:00 0
b757d000-b76c6000 r-xp 00000000 08:05 2998314 /lib/tls/i686/cmov/libc-2.7.so
b76c6000-b76c7000 r--p 00149000 08:05 2998314 /lib/tls/i686/cmov/libc-2.7.so
b76c7000-b76c9000 rw-p 0014a000 08:05 2998314 /lib/tls/i686/cmov/libc-2.7.so
b76c9000-b76cc000 rw-p b76c9000 00:00 0
b76cc000-b76ef000 r-xp 00000000 08:05 2998318 /lib/tls/i686/cmov/libm-2.7.so
b76ef000-b76f1000 rw-p 00023000 08:05 2998318 /lib/tls/i686/cmov/libm-2.7.so
b76f1000-b76fa000 r-xp 00000000 08:05 2998316 /lib/tls/i686/cmov/libcrypt-2.7.so
b76fa000-b76fc000 rw-p 00008000 08:05 2998316 /lib/tls/i686/cmov/libcrypt-2.7.so
b76fc000-b7724000 rw-p b76fc000 00:00 0
b7724000-b7726000 r-xp 00000000 08:05 2998317 /lib/tls/i686/cmov/libdl-2.7.so
b7726000-b7728000 rw-p 00001000 08:05 2998317 /lib/tls/i686/cmov/libdl-2.7.so
b7728000-b772f000 r-xp 00000000 08:05 2998330 /lib/tls/i686/cmov/librt-2.7.so
b772f000-b7731000 rw-p 00006000 08:05 2998330 /lib/tls/i686/cmov/librt-2.7.so
b7731000-b773b000 r-xp 00000000 08:05 2969156 /lib/libgcc_s.so.1
b773b000-b773c000 rw-p 0000a000 08:05 2969156 /lib/libgcc_s.so.1
b773c000-b7740000 r-xp 00000000 08:05 754126 /home/rubys/.rvm/rubies/ruby-1.8.8-r28050/lib/ruby/1.8/i686-linux/readline.so
b7740000-b7741000 rw-p 00003000 08:05 754126 /home/rubys/.rvm/rubies/ruby-1.8.8-r28050/lib/ruby/1.8/i686-linux/readline.so
b7741000-b7743000 rw-p b7741000 00:00 0
b7743000-b7744000 r-xp b7743000 00:00 0 [vdso]
b7744000-b775e000 r-xp 00000000 08:05 1786011 /lib/ld-2.7.so
b775e000-b7760000 rw-p 00019000 08:05 1786011 /lib/ld-2.7.so
bfe8c000-bfea1000 rw-p bffeb000 00:00 0 [stack]
Aborted