EmonPi frozen

I’ve a installation with twice USB to Serial and a GSM Modem. I read the data from serial and send it further to serial and GSM. The emonPi works very well for 3-4 weeks, then he freezes. After a restart the EmonPi working again for 3-4 weeks. What’s the problem, can someone help me?