Linux Debian support - how to do "auto-reboot when..."

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > July 2005 > how to do "auto-reboot when..."





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author how to do "auto-reboot when..."
Moby Dick

2005-06-30, 8:46 pm

Hi, just a quickie,
My Debian is on very old machine Pentium 150mhz. 90MB ram.

So,

It crashes sometimes with "FATAL ERROR..." and I have to reboot.

I only use it for web server.

Though this problem don't happen too frequently. Just perhaps once a week or
so. But I don't wanna wait til someone told me I had to reboot.

So is there a way I can set my system, cron? script? something...so that
whenever it is reaching fatal error, or freezing, it will reboot on its own.
Coz I don't have time as to upgrade or fix the fatal error...unless you got
the time and expertise to tell me right away which is even better of course.

Thank you for reading this...and please help me

Tim


Neil Woods

2005-07-02, 2:45 am

>>>>> "MD" == Moby Dick <nycphantom@gmail.com> writes:

MD> Hi, just a quickie,
MD> My Debian is on very old machine Pentium 150mhz. 90MB ram.

MD> So,

MD> It crashes sometimes with "FATAL ERROR..." and I have to reboot.

What is the exact error message you get?

MD> I only use it for web server.

Well I would say that 90 megs is a little on the low side for a web
server (depending on which web server you are running, number of pages
served, etc). It will very likely be using swap, and fatal errors will
occur when running out of swap/virtual memory. How much swap do you have?

MD> Though this problem don't happen too frequently. Just perhaps once a
MD> week or so. But I don't wanna wait til someone told me I had to
MD> reboot.

MD> So is there a way I can set my system, cron? script? something...so
MD> that whenever it is reaching fatal error, or freezing, it will
MD> reboot on its own. Coz I don't have time as to upgrade or fix the
MD> fatal error...unless you got the time and expertise to tell me right
MD> away which is even better of course.

In order to help, it would be really useful if you posted more details
regarding the nature of the fatal error. Is there anything in /var/log
you think may be appropriate?

--
Neil
Moby Dick

2005-07-02, 2:45 am

Well, I'm not talking about fixing it. I'm talking about rebooting it.

"Neil Woods" <cnw+usenet@pobox.com> wrote in message
news:87r7eh296u.fsf@phun.phasmic.org...
>
> MD> Hi, just a quickie,
> MD> My Debian is on very old machine Pentium 150mhz. 90MB ram.
>
> MD> So,
>
> MD> It crashes sometimes with "FATAL ERROR..." and I have to reboot.
>
> What is the exact error message you get?
>
> MD> I only use it for web server.
>
> Well I would say that 90 megs is a little on the low side for a web
> server (depending on which web server you are running, number of pages
> served, etc). It will very likely be using swap, and fatal errors will
> occur when running out of swap/virtual memory. How much swap do you have?
>
> MD> Though this problem don't happen too frequently. Just perhaps once a
> MD> week or so. But I don't wanna wait til someone told me I had to
> MD> reboot.
>
> MD> So is there a way I can set my system, cron? script? something...so
> MD> that whenever it is reaching fatal error, or freezing, it will
> MD> reboot on its own. Coz I don't have time as to upgrade or fix the
> MD> fatal error...unless you got the time and expertise to tell me right
> MD> away which is even better of course.
>
> In order to help, it would be really useful if you posted more details
> regarding the nature of the fatal error. Is there anything in /var/log
> you think may be appropriate?
>
> --
> Neil



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com