I have noticed a migrate lock hanging around after loading 1.7M rows into a 2 shard cluster. Is this problem related to the locks not getting cleared on restart? The cluster hasn't been restarted and I can re-create this state every time. currentOp only shows the two writebacklistens.
Running Ubuntu 11.04 64bit on VMware using 2.0. The shards, config, and router are on the same VM.
-- You received this message because you are subscribed to the Google Groups "mongodb-user" group. To post to this group, send email to mongodb-user@googlegroups.com. To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
What locks do you have, and how long have they been around? There is a fix coming out in 2.0.1 where sometimes stale locks aren't cleaned up in certain cases (like the primary failing in a replicaset when used as a shard).
On Mon, Oct 10, 2011 at 11:24 PM, otisz...@yahoo.com <otisz...@yahoo.com> wrote: > Hi,
> I have noticed a migrate lock hanging around after loading 1.7M rows > into a 2 shard cluster. Is this problem related to the locks not > getting cleared on restart? The cluster hasn't been restarted and I > can re-create this state every time. currentOp only shows the two > writebacklistens.
> Running Ubuntu 11.04 64bit on VMware using 2.0. The shards, config, > and router are on the same VM.
> -- > You received this message because you are subscribed to the Google Groups "mongodb-user" group. > To post to this group, send email to mongodb-user@googlegroups.com. > To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
-- You received this message because you are subscribed to the Google Groups "mongodb-user" group. To post to this group, send email to mongodb-user@googlegroups.com. To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
> What locks do you have, and how long have they been around? There is a > fix coming out in 2.0.1 where sometimes stale locks aren't cleaned up > in certain cases (like the primary failing in a replicaset when used > as a shard).
> On Mon, Oct 10, 2011 at 11:24 PM, otisz...@yahoo.com <otisz...@yahoo.com> wrote: > > Hi,
> > I have noticed a migrate lock hanging around after loading 1.7M rows > > into a 2 shard cluster. Is this problem related to the locks not > > getting cleared on restart? The cluster hasn't been restarted and I > > can re-create this state every time. currentOp only shows the two > > writebacklistens.
> > Running Ubuntu 11.04 64bit on VMware using 2.0. The shards, config, > > and router are on the same VM.
> > -- > > You received this message because you are subscribed to the Google Groups "mongodb-user" group. > > To post to this group, send email to mongodb-user@googlegroups.com. > > To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://groups.google.com/group/mongodb-user?hl=en.
-- You received this message because you are subscribed to the Google Groups "mongodb-user" group. To post to this group, send email to mongodb-user@googlegroups.com. To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
> There has been no shard failures and I'm not running replicasets. It > was a clean cluster when I started.
> On Oct 10, 11:37 pm, Scott Hernandez <scotthernan...@gmail.com> wrote: >> What locks do you have, and how long have they been around? There is a >> fix coming out in 2.0.1 where sometimes stale locks aren't cleaned up >> in certain cases (like the primary failing in a replicaset when used >> as a shard).
>> On Mon, Oct 10, 2011 at 11:24 PM, otisz...@yahoo.com <otisz...@yahoo.com> wrote: >> > Hi,
>> > I have noticed a migrate lock hanging around after loading 1.7M rows >> > into a 2 shard cluster. Is this problem related to the locks not >> > getting cleared on restart? The cluster hasn't been restarted and I >> > can re-create this state every time. currentOp only shows the two >> > writebacklistens.
>> > Running Ubuntu 11.04 64bit on VMware using 2.0. The shards, config, >> > and router are on the same VM.
>> > -- >> > You received this message because you are subscribed to the Google Groups "mongodb-user" group. >> > To post to this group, send email to mongodb-user@googlegroups.com. >> > To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. >> > For more options, visit this group athttp://groups.google.com/group/mongodb-user?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "mongodb-user" group. > To post to this group, send email to mongodb-user@googlegroups.com. > To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
-- You received this message because you are subscribed to the Google Groups "mongodb-user" group. To post to this group, send email to mongodb-user@googlegroups.com. To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
No, I'm trying to learn what is normal for a healthy system. I didn't notice they were inactive. Figured that since it was listed then it must be doing something. Is it still in progress or is it finished? Or a better question, does state = 0 always mean finished?
Thanks.
On Oct 10, 11:58 pm, Scott Hernandez <scotthernan...@gmail.com> wrote:
> > There has been no shard failures and I'm not running replicasets. It > > was a clean cluster when I started.
> > On Oct 10, 11:37 pm, Scott Hernandez <scotthernan...@gmail.com> wrote: > >> What locks do you have, and how long have they been around? There is a > >> fix coming out in 2.0.1 where sometimes stale locks aren't cleaned up > >> in certain cases (like the primary failing in a replicaset when used > >> as a shard).
> >> On Mon, Oct 10, 2011 at 11:24 PM, otisz...@yahoo.com <otisz...@yahoo.com> wrote: > >> > Hi,
> >> > I have noticed a migrate lock hanging around after loading 1.7M rows > >> > into a 2 shard cluster. Is this problem related to the locks not > >> > getting cleared on restart? The cluster hasn't been restarted and I > >> > can re-create this state every time. currentOp only shows the two > >> > writebacklistens.
> >> > Running Ubuntu 11.04 64bit on VMware using 2.0. The shards, config, > >> > and router are on the same VM.
> >> > -- > >> > You received this message because you are subscribed to the Google Groups "mongodb-user" group. > >> > To post to this group, send email to mongodb-user@googlegroups.com. > >> > To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. > >> > For more options, visit this group athttp://groups.google.com/group/mongodb-user?hl=en.
> > -- > > You received this message because you are subscribed to the Google Groups "mongodb-user" group. > > To post to this group, send email to mongodb-user@googlegroups.com. > > To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://groups.google.com/group/mongodb-user?hl=en.
-- You received this message because you are subscribed to the Google Groups "mongodb-user" group. To post to this group, send email to mongodb-user@googlegroups.com. To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
Yes, they are fine. They are left over from the last event; if they are non-0 then something is happening/active. You can also look at the changelog collection to see if things are moving along, and how.
On Tue, Oct 11, 2011 at 12:13 AM, otisz...@yahoo.com <otisz...@yahoo.com> wrote: > No, I'm trying to learn what is normal for a healthy system. I didn't > notice they were inactive. Figured that since it was listed then it > must be doing something. Is it still in progress or is it finished? > Or a better question, does state = 0 always mean finished?
> Thanks.
> On Oct 10, 11:58 pm, Scott Hernandez <scotthernan...@gmail.com> wrote: >> They are both inactive (state:0).
>> Is there something which leads you to believe there is a problem?
>> On Mon, Oct 10, 2011 at 11:43 PM, otisz...@yahoo.com <otisz...@yahoo.com> wrote: >> > Here are the current locks:
>> > There has been no shard failures and I'm not running replicasets. It >> > was a clean cluster when I started.
>> > On Oct 10, 11:37 pm, Scott Hernandez <scotthernan...@gmail.com> wrote: >> >> What locks do you have, and how long have they been around? There is a >> >> fix coming out in 2.0.1 where sometimes stale locks aren't cleaned up >> >> in certain cases (like the primary failing in a replicaset when used >> >> as a shard).
>> >> On Mon, Oct 10, 2011 at 11:24 PM, otisz...@yahoo.com <otisz...@yahoo.com> wrote: >> >> > Hi,
>> >> > I have noticed a migrate lock hanging around after loading 1.7M rows >> >> > into a 2 shard cluster. Is this problem related to the locks not >> >> > getting cleared on restart? The cluster hasn't been restarted and I >> >> > can re-create this state every time. currentOp only shows the two >> >> > writebacklistens.
>> >> > Running Ubuntu 11.04 64bit on VMware using 2.0. The shards, config, >> >> > and router are on the same VM.
>> >> > -- >> >> > You received this message because you are subscribed to the Google Groups "mongodb-user" group. >> >> > To post to this group, send email to mongodb-user@googlegroups.com. >> >> > To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. >> >> > For more options, visit this group athttp://groups.google.com/group/mongodb-user?hl=en.
>> > -- >> > You received this message because you are subscribed to the Google Groups "mongodb-user" group. >> > To post to this group, send email to mongodb-user@googlegroups.com. >> > To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. >> > For more options, visit this group athttp://groups.google.com/group/mongodb-user?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "mongodb-user" group. > To post to this group, send email to mongodb-user@googlegroups.com. > To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
-- You received this message because you are subscribed to the Google Groups "mongodb-user" group. To post to this group, send email to mongodb-user@googlegroups.com. To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
> Yes, they are fine. They are left over from the last event; if they > are non-0 then something is happening/active. You can also look at the > changelog collection to see if things are moving along, and how.
> On Tue, Oct 11, 2011 at 12:13 AM, otisz...@yahoo.com <otisz...@yahoo.com> wrote: > > No, I'm trying to learn what is normal for a healthy system. I didn't > > notice they were inactive. Figured that since it was listed then it > > must be doing something. Is it still in progress or is it finished? > > Or a better question, does state = 0 always mean finished?
> > Thanks.
> > On Oct 10, 11:58 pm, Scott Hernandez <scotthernan...@gmail.com> wrote: > >> They are both inactive (state:0).
> >> Is there something which leads you to believe there is a problem?
> >> On Mon, Oct 10, 2011 at 11:43 PM, otisz...@yahoo.com <otisz...@yahoo.com> wrote: > >> > Here are the current locks:
> >> > There has been no shard failures and I'm not running replicasets. It > >> > was a clean cluster when I started.
> >> > On Oct 10, 11:37 pm, Scott Hernandez <scotthernan...@gmail.com> wrote: > >> >> What locks do you have, and how long have they been around? There is a > >> >> fix coming out in 2.0.1 where sometimes stale locks aren't cleaned up > >> >> in certain cases (like the primary failing in a replicaset when used > >> >> as a shard).
> >> >> On Mon, Oct 10, 2011 at 11:24 PM, otisz...@yahoo.com <otisz...@yahoo.com> wrote: > >> >> > Hi,
> >> >> > I have noticed a migrate lock hanging around after loading 1.7M rows > >> >> > into a 2 shard cluster. Is this problem related to the locks not > >> >> > getting cleared on restart? The cluster hasn't been restarted and I > >> >> > can re-create this state every time. currentOp only shows the two > >> >> > writebacklistens.
> >> >> > Running Ubuntu 11.04 64bit on VMware using 2.0. The shards, config, > >> >> > and router are on the same VM.
> >> >> > -- > >> >> > You received this message because you are subscribed to the Google Groups "mongodb-user" group. > >> >> > To post to this group, send email to mongodb-user@googlegroups.com. > >> >> > To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. > >> >> > For more options, visit this group athttp://groups.google.com/group/mongodb-user?hl=en.
> >> > -- > >> > You received this message because you are subscribed to the Google Groups "mongodb-user" group. > >> > To post to this group, send email to mongodb-user@googlegroups.com. > >> > To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. > >> > For more options, visit this group athttp://groups.google.com/group/mongodb-user?hl=en.
> > -- > > You received this message because you are subscribed to the Google Groups "mongodb-user" group. > > To post to this group, send email to mongodb-user@googlegroups.com. > > To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://groups.google.com/group/mongodb-user?hl=en.
-- You received this message because you are subscribed to the Google Groups "mongodb-user" group. To post to this group, send email to mongodb-user@googlegroups.com. To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.