Srcds Closing By It's Self

I have my own dedicated server, and a few times I have noticed that srcds likes to shut down by it’s self. How come it decides to do this and how can I stop it?