from db.currentOp()
...
{
"opid" : 1290985011,
"active" : true,
"lockType" : "write",
"waitingForLock" : false,
"secs_running" : 33554,
"op" : "update",
"ns" : "foursquare.daily",
"query" : {
"ts" : "Sun Aug 08 2010 03:59:59 GMT+0000 (UTC)",
"dataset_id" : ObjectId("4b847454754cc34074347c1c")
},
"client" : "67.202.28.9:36833",
"desc" : "conn"
},
...
This is a normal query that gets run thousands of times a day, but
this one seems to have locked the database.
running killOp has no effect (i've been trying for an hour). I also
killed the client that generated the query.
> db.killOp(1290985011)
{ "info" : "attempting to kill op" }
> db.killOp('1290985011')
{ "err" : "no op number field specified?" }
> db.killOp(1290985011)
{ "info" : "attempting to kill op" }
> db.killOp(1290985011)
{ "info" : "attempting to kill op" }
> db.killOp(1290985011)
{ "info" : "attempting to kill op" }
> db.killOp(1290985011)
{ "info" : "attempting to kill op" }
> db.killOp(1290985011)
{ "info" : "attempting to kill op" }
> db.killOp(1290985011)
{ "info" : "attempting to kill op" }
>
I'd prefer to not have to hard kill the database. I'm running 1.4.4.
> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>
>
I've always had the webconsole disabled, is there info on there that
is not available via the console?
What else can I try? killOp still has no effect.
I guess it is possible an index is corrupt. I can't really run
repairdatabase on the whole server as it is approaching .5 tb and I
can't take the downtime.
from the console if I run:
db.repairDatabase();
will it block the whole server, or just lock that db? (also will the
table still be readable?)
> Also - upgrading to 1.6.0 would be interesting.
I did upgrade to 1.6 the last time this happened.
Thanks so much for the help,
error loading page: timeout getting readlock
the query is :
{
"opid" : 16703858,
"active" : true,
"lockType" : "write",
"waitingForLock" : false,
"secs_running" : 15934,
"op" : "update",
"ns" : "trendrr_data.weekly",
"query" : {
"ts" : "Sat Aug 28 2010 03:59:59 GMT+0000 (UTC)",
"dataset_id" : ObjectId("4c35f778a04bf761eca2e6aa")
},
"client" : "xxxx",
"desc" : "conn"
},
--