Description
Create 85 databases with a single doc.
var numDbs = 85;
|
|
|
// insert 1 single doc in each db
|
for ( i=0; i<numDbs; i++ ) {
|
t = db.getSisterDB('boom-' + i)['boom'];
|
t.drop();
|
t.insert({_id:1, x:1});
|
}
|
then run mongotop with no args (--locks doesn't crash)
dan:(git)mongo[master]/$ ./mongotop
|
connected to: 127.0.0.1
|
Segmentation fault
|