I have two reports of the database starting to return HTTP status 500 after lots of inserts. One user reported that dropping the tables, creating them again and inserting the data fixed the issue, which suggest that the issue does not always happen when inserting lots of data.