16 Active Support 14.5 Performance Testing
rake db:version
(in /home/rubys/git/awdwr/work-188-239/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-239/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[0xb7615803]
/lib/tls/i686/cmov/libc.so.6(realloc+0x10b)[0xb761775b]
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)[0xb75be450]
irb[0x80551d1]
======= Memory map: ========
08048000-08102000 r-xp 00000000 08:05 754237 /home/rubys/.rvm/rubies/ruby-1.8.8-r28169/bin/ruby
08102000-08103000 rw-p 000ba000 08:05 754237 /home/rubys/.rvm/rubies/ruby-1.8.8-r28169/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
b7494000-b74c1000 r-xp 00000000 08:05 2965573 /lib/libncurses.so.5.6
b74c1000-b74c4000 rw-p 0002c000 08:05 2965573 /lib/libncurses.so.5.6
b74c4000-b74f0000 r-xp 00000000 08:05 2965623 /lib/libreadline.so.5.2
b74f0000-b74f4000 rw-p 0002c000 08:05 2965623 /lib/libreadline.so.5.2
b74f4000-b74f5000 rw-p b74f4000 00:00 0
b7505000-b7590000 rw-p b7505000 00:00 0
b7590000-b75a4000 r-xp 00000000 08:05 2998328 /lib/tls/i686/cmov/libpthread-2.7.so
b75a4000-b75a6000 rw-p 00013000 08:05 2998328 /lib/tls/i686/cmov/libpthread-2.7.so
b75a6000-b75a8000 rw-p b75a6000 00:00 0
b75a8000-b76f1000 r-xp 00000000 08:05 2998314 /lib/tls/i686/cmov/libc-2.7.so
b76f1000-b76f2000 r--p 00149000 08:05 2998314 /lib/tls/i686/cmov/libc-2.7.so
b76f2000-b76f4000 rw-p 0014a000 08:05 2998314 /lib/tls/i686/cmov/libc-2.7.so
b76f4000-b76f7000 rw-p b76f4000 00:00 0
b76f7000-b771a000 r-xp 00000000 08:05 2998318 /lib/tls/i686/cmov/libm-2.7.so
b771a000-b771c000 rw-p 00023000 08:05 2998318 /lib/tls/i686/cmov/libm-2.7.so
b771c000-b7725000 r-xp 00000000 08:05 2998316 /lib/tls/i686/cmov/libcrypt-2.7.so
b7725000-b7727000 rw-p 00008000 08:05 2998316 /lib/tls/i686/cmov/libcrypt-2.7.so
b7727000-b774f000 rw-p b7727000 00:00 0
b774f000-b7751000 r-xp 00000000 08:05 2998317 /lib/tls/i686/cmov/libdl-2.7.so
b7751000-b7753000 rw-p 00001000 08:05 2998317 /lib/tls/i686/cmov/libdl-2.7.so
b7753000-b775a000 r-xp 00000000 08:05 2998330 /lib/tls/i686/cmov/librt-2.7.so
b775a000-b775c000 rw-p 00006000 08:05 2998330 /lib/tls/i686/cmov/librt-2.7.so
b775c000-b7766000 r-xp 00000000 08:05 2969156 /lib/libgcc_s.so.1
b7766000-b7767000 rw-p 0000a000 08:05 2969156 /lib/libgcc_s.so.1
b7767000-b776b000 r-xp 00000000 08:05 1098477 /home/rubys/.rvm/rubies/ruby-1.8.8-r28169/lib/ruby/1.8/i686-linux/readline.so
b776b000-b776c000 rw-p 00003000 08:05 1098477 /home/rubys/.rvm/rubies/ruby-1.8.8-r28169/lib/ruby/1.8/i686-linux/readline.so
b776c000-b776e000 rw-p b776c000 00:00 0
b776e000-b776f000 r-xp b776e000 00:00 0 [vdso]
b776f000-b7789000 r-xp 00000000 08:05 1786011 /lib/ld-2.7.so
b7789000-b778b000 rw-p 00019000 08:05 1786011 /lib/ld-2.7.so
bf996000-bf9ab000 rw-p bffeb000 00:00 0 [stack]
Aborted