We've been getting some attacks on our server I think, because our server gets down every day now. I want to monitor what is causing the server to go down or if there is any attack from some site or if its crawler doing the attack.
Is there any tool for this? If not, what should I do to find out what is causing the problem.
Edited
- My server is linux
- I have cpanel control panel
- I haven't checked the logs
- I have done nothing to see what is causing the problem
- That's why i came here to ask how can i find out what is causing the problem. there is guy from our server, he said its server ram, they told us to extend more ram, but there isnt many sites on it and not many load from that sites eaither, so i dont see why our 2gb ram is getting used at. so i want to find out :/
Edited Again
What version of Linux (CentOS, Debian, Redhat, etc)
Answer: CentOS
Explain what you mean by "the server gets down". Does that mean the whole server stops responding and you have to go in and manually restart, or do you mean the server keeps running but only the website stops responding? Does ftp, ssh, etc keep working?
Answer: well we head few times server being down. 1st time when it got down, you can ping it, but apache was not working. then again server got down and guy said it was cause server hosts were wrong, so they fixed it and it wont go down again. then it happen again, even after restarting, server didnt got fixed, someone head to go literly start the server. 4th time, i just did the restart and it got back online. It happens every day now, but usally in the morning, server works fine for complete day, but in morning it gets down
How are you restarting things or does it just eventually start working by itself?
Answer: no we have to restart manually so then it start working, else it wont work.