I have this mongo cursor timeout exception. In fact, I'm making a feed aggregator from social sites like twitter and facebook. I run cron to get tweets every two minutes and save these tweets in my local db. I have another script that analyzes the feeds and extracts the necessary information and transfers them to another database. The problem is that the parser runs continuously and parses the feeds. However, I have an exception to this cursor timeout. I am trying to get only 50 tweets at a time from a local db for parsing. However, it throws a cursor exception. I also indexed the database correctly. FYI my server has an 8 GB hard drive and 700 MB RAM. I think this configuration should have been enough for a start. Currently, I have only 60,000 tweets stored in my database, of which 20,000 need to be parsed. But still, it continuously throws a cursor timeout exception.
Any suggestions.
source share