shard unavailable message in log

55 views
Skip to first unread message

Esteban Feldman

unread,
Nov 13, 2012, 12:16:14 PM11/13/12
to mongod...@googlegroups.com
[Balancer] shard0000 is unavailable

I'm getting that message on the log file for mongos.

I have 6 app machines that each have a mongos to connect locally, and that mongos knows how to route to my shard.
Lately I have been getting those messages.

Any clue why?

Tue Nov 13 17:14:54 [Balancer] shard0000 is unavailable
Tue Nov 13 17:14:54 [Balancer] shard0000 is unavailable
Tue Nov 13 17:14:54 [Balancer] shard0000 is unavailable
Tue Nov 13 17:14:54 [Balancer] shard0000 is unavailable
Tue Nov 13 17:14:54 [Balancer] shard0000 is unavailable
Tue Nov 13 17:14:54 [Balancer] shard0000 is unavailable
Tue Nov 13 17:14:54 [Balancer] distributed lock 'balancer/myhost-celery-1:27017:1352128252:1804289383' unlocked. 
Tue Nov 13 17:14:58 [LockPinger] cluster myhost-mongo-1:27018,myhost-mongo-2:27018,myhost-mongo-3:27018 pinged successfully at Tue Nov 13 17:14:58 2012 by distributed lock pinger 'myhost-mongo-1:27018,myhost-mongo-2:27018,myhost-mongo-3:27018/myhost-celery-1:27017:1352128252:1804289383', sleeping for 30000ms
Tue Nov 13 17:15:18 [Balancer] could not acquire lock 'balancer/myhost-celery-1:27017:1352128252:1804289383' (another update won)
Tue Nov 13 17:15:18 [Balancer] distributed lock 'balancer/myhost-celery-1:27017:1352128252:1804289383' was not acquired.
Tue Nov 13 17:15:31 [Balancer] distributed lock 'balancer/myhost-celery-1:27017:1352128252:1804289383' acquired, ts : 50a28033d02c6ef972249dc0

Sam Helman

unread,
Nov 13, 2012, 2:00:42 PM11/13/12
to mongod...@googlegroups.com
Are you able to connect to the shard directly, or ping its IP address?  Maybe it is down.

Esteban Feldman

unread,
Nov 13, 2012, 2:27:12 PM11/13/12
to mongod...@googlegroups.com
Yes I'm able to connect directly to the shard.

Sam Helman

unread,
Nov 13, 2012, 4:28:40 PM11/13/12
to mongod...@googlegroups.com
Are you getting these errors from all of the mongos's, or just a subset?

Esteban Feldman

unread,
Nov 13, 2012, 4:30:05 PM11/13/12
to mongod...@googlegroups.com
Just checked and is all of them.

Sam Helman

unread,
Nov 13, 2012, 4:39:54 PM11/13/12
to mongod...@googlegroups.com
Are you able to post some recent logs from the shard member (or the primary, if it is a replica set) at the time when it went down?

Eka (Esteban Feldman)

unread,
Nov 13, 2012, 4:59:01 PM11/13/12
to mongod...@googlegroups.com
It's not going down. I'm having those messages on the log but the
master is always up.

That shard member is busy on writing/reading

On Tue, Nov 13, 2012 at 4:39 PM, Sam Helman <sam.h...@10gen.com> wrote:
> Are you able to post some recent logs from the shard member (or the primary,
> if it is a replica set) at the time when it went down?
>
> --
> 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
> See also the IRC channel -- freenode.net#mongodb



--
Chant Hare Krishna and Be Happy

Eka

Sam Helman

unread,
Nov 16, 2012, 11:54:13 AM11/16/12
to mongod...@googlegroups.com
Do you have any logs from the primary then, at the time when the mongos's are thinking it is unavailable?
Reply all
Reply to author
Forward
0 new messages