http://www.perlmonks.org?node_id=524624


in reply to Scraping a website - various problems

Depending on the database, the cursor might be a persistent result set containing the records that matched a given query, and there might be some process that cleared out inactive cursors, so that might well be why the original request works for a while and then stops working.