analytics - Problems with mongodb -


i creating application cache tweets of users of application , display them timeline page. using mongodb store tweets. mongodb worked fine number of tweets exceed 10,000 have mongocursor error showing following

uncaught exception 'mongocursortimeoutexception' message 'cursor timed out (timeout: 30000, time left: 0:0, status: 0)

uncaught exception 'mongocursorexception' message 'couldn't send query: broken pipe' uncaught exception 'mongocursorexception' message 'couldn't response header'

i have used proper indexing. problem?

the basic problem line

timeout: 30000

the query has been running long , therefore has been terminated. check following

1) query indexed using explain() 2) whether mongostat reporting "idx miss %" indicate whether indexes in memory , whether had go disk traverse index 3) whether mongostat reporting high "locked %" 4) whether disk bound, try running "iostat -x 2"


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -