On of Magento sites is currently building up sessions files fairly fast and I'm having to clear it once or twice a day just to be safe. The reason for this is because I put sessions in RAM which means if the space gets full then you can no longer create sessions and therefore not add items to cart / login etc.
I've now expanded this space to 256MB (before it was 64MB) but it just keeps filling up.
Traffic is around 2k-5k a day however I think the problem may actually lie in robot spiders scanning the site.
Is there a way to check this and potentially stop it if it is indeed the case or alternatively find out what is the cause of so many sessions?
Specs:
- Magento 1.9.1
- Nginx
- Running on AWS EC2 instance
- 15GB RAM