Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a Centos 4.4 server that is a standard LAMP server and as of recently I have had the server deny all services in the mornings but not every morning consistently. When I look at the physical server, the nic card light does blink but no so much that it is out of the ordinary, the hard disk activity light blinks too but is not solid or excessive, the server seems to be up but it denies every incoming connection other than ping requests. No dns, web, or even SSH
I thought it must be a cron job hogging system resources so I analyzed the cron log and the cron tasks seem to be running properyl even when the server is non responsive to inbound services. I ran every scheduled cron job and non of them bring the server down.
I have looked at the server logs but there is too much info to figure out what could be the problem and what couldn't. Is there a specific type of logging that I need to set or other method that I can use to see what is bringing my server down at night?
BTW, a simple hard reboot solves the problem until the next night/morning.
I am on the same local subnet as the server and I cant access it from the LAN either so its not a router/firewall issue. I just setup service monitoring on the ssh service (on of the inaccessible services) so that I will be emailed and the server will reboot if SSH goes down. It won't tell me why the services are failing but at least it will keep my server up and hopefully I will have something in my syslog just before the reboot that tells me something about why SSH crashed.
Thanks Chris. I gave it a look and it's OK. I think it is a good solution for servers that can only support a small amount of memory compared to the resources required by the services running on the server. If I knew what service(s) were hogging my resources and causing the Dos then I would try to nice them to the lowest priority and see if that fixes it before I move to more drastic measures. Perhaps I can use your idea to log the process that it chooses to terminate if it has logging abilities.