Is there some reason you think replication has stopped?
When you use W=2 it always does this from the primary, where you are
writing. The primary will block on that client connection until the
requirement is satisfied (one other replica has caught up to that
write).
> --
> 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.
>
You can reduce the time the OS waits to close sockets, or enable
keep-alives (with a lower timeout).
http://jira.mongodb.org/browse/SERVER