News for hackers. Stuff that matters.
Re:A Depressive Journey With MongoDB by jeswin on Thursday January 12, 2012 @07:42AM (#3456109)
Among reasons, I see stuff like this: "Appearantly someone set the connection timeout to 9000 secs which means a connection to a MongoDB instance through Netscaler is open for 2.5 hours. I have set it to 20 secs. I am not looking for someone to blame but probably it's our sys admin.

Wouldn't any database give you plain bad performance if settings were badly configured? I understand it was merely one of the reasons, but sometimes all you need is one.

Re:A Depressive Journey With MongoDB by TheSmoke on Thursday January 12, 2012 @07:58AM (#3456142)
this was a reason specific to our stupidity. why on earth would someone keep connections open for 2.5 hours? how he misses this setting?

my point in this is, if you have something that balance connections between servers, check if it kills them or not.

Re:A Depressive Journey With MongoDB by mnutt on Thursday January 12, 2012 @10:11AM (#3456548)
Perhaps it was just some mismatch between the expectation (pooled, long-running connections) and reality. (many, many short-lived connections)

I think another takeaway from this is any time you need to adjust the ulimit, take a step back and ask "Does this make sense? Is my use case exceptional enough that it won't perform within the default limits set by my OS?"

Re:A Depressive Journey With MongoDB by hieronymusN on Thursday January 12, 2012 @08:15AM (#3456189)
Were you doing any connection pooling with Mongo? I'm curious what driver you were using, etc.
Re:A Depressive Journey With MongoDB by alexchamberlain on Thursday January 12, 2012 @09:16AM (#3456352)
He gives the impression in the article that it was PHP.