DB down or something?

All your questions about AniDB belong in here.
No download support!

Moderator: AniDB

Amour
Posts: 640
Joined: Fri Oct 08, 2004 5:19 pm
Location: France

Post by Amour »

exp wrote:(load >1000, a simple ssh login takes a couple of hours and a ps axw i started ~17h ago hasn't finished yet x_X)
kill -9 -1 :?:
DonGato
Posts: 1296
Joined: Sun Nov 17, 2002 9:08 pm
Location: The Pampas, The land of the Gaucho!
Contact:

Post by DonGato »

I doubt he has the rights to do so.
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

Amour wrote:kill -9 -1
that would be a VERY bad idea.
it would (if it works) kill sshd but leave the box running -> no way to access it remotely anymore.
however i've already issued a "reboot" command nearly 20h ago.
who knows maybe the server will reboot at some point but right now I think that only a hard reset will get it running again.

BYe!
EXP
rowaasr13
Posts: 415
Joined: Sat Sep 27, 2003 4:57 am

Post by rowaasr13 »

Maybe you should run some really high-prio daemon that would reboot box, when specific string is received on some port?
Amour
Posts: 640
Joined: Fri Oct 08, 2004 5:19 pm
Location: France

Post by Amour »

Or, next time everything works fine, you write down on a piece of paper the id of the Apache process. Like this, no need to do a ps when something bad happens, you can directly kill it.
lucky644
Posts: 45
Joined: Mon Sep 20, 2004 12:31 am
Location: Canada
Contact:

Post by lucky644 »

Bah, this certainly sucks :(
mattmann72
Posts: 1
Joined: Fri Oct 29, 2004 4:21 am

Post by mattmann72 »

Hint of advice. Next time run apache with a Nice level (something like 10+) if it keeps overtaking the CPU usage. By doing so you will still be able to SSH in.

Another thing to consider is running a cron script to check the CPU usage of Apache and if it stays at 99% or greater for more than an hour just have it kill and restart apache.

There are some other options too.


Matt
OnegaiNL
Posts: 80
Joined: Wed Oct 20, 2004 4:38 pm

Post by OnegaiNL »

or some script that auto-reboots when the loads reaches max.
:P

anyways reboot it i can't live without anidb xD
CodeZ
Posts: 6
Joined: Tue Aug 31, 2004 7:57 pm
Location: Finland

Post by CodeZ »

Oh dear.. Too bad that apache is going berserk... killall httpd (maybe not) or killall apache2 (maybe better) would do something :)
I wonder if updating apache would fix something, but of course that depends on accessmethods to server (I mean, if updating it is possible by admins accessing server via ssh and if there is new version of apache available atm).
Hope that reboot-command doesn't take too many hundreds of days to process :?
Take your time. We'll wait :wink:
bata
Posts: 16
Joined: Mon Sep 20, 2004 8:55 pm

Post by bata »

oh well only one thing to do, gotta start taking bets on when it will be back up ^^

So very glad i decided to download AOM just before it went down i have nfi how i would be able 2 keep track of my downloads without it. tho i still prefer to use the webbie over AOM.
VHS_Guy
Posts: 2
Joined: Sun Oct 10, 2004 4:33 am

Post by VHS_Guy »

i had just finished writing a post to the AR forums when i clicked submit and got page cannot be displayed, back down again?
PetriW
AniDB Staff
Posts: 1522
Joined: Sat May 24, 2003 2:34 pm

Post by PetriW »

Just a few server updates to make it less likelly to happen again.
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

After a restart the server is running fine again.
You might still notice short downtimes every now and then today and this WE as I am making some updates.

BYe!
EXP
VHS_Guy
Posts: 2
Joined: Sun Oct 10, 2004 4:33 am

Post by VHS_Guy »

glad its back, was starting to go through a little withdraw from not visiting the site for that long
Locked