Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: services databases..  (Read 2374 times)

0 Members and 1 Guest are viewing this topic.

paulmer2003

  • Guest
services databases..
« on: June 17, 2007, 07:00:06 PM »

Why does it seem like when ever services crash, that services are incredibly liable to currupt their databases? I wake up, seems like services have gone down...I start them up with -nofork -debug and they die again, I backup the current *db's and mv them and it starts up fine..Same shit happened a few months ago.

[Edited on 17-6-2007 by paulmer2003]
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #1 on: June 17, 2007, 07:23:48 PM »

that would only happen if services crash while they are writing to the database. anope stores all modifications in runtime memory and writes everything to disk at a configured interval.
in any case, you can always restore from the last backup....
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

paulmer2003

  • Guest
(No subject)
« Reply #2 on: June 17, 2007, 07:42:39 PM »

Alright..so I woke up this morning and services had crashed...I try to start it up again and it crashes...however, if I delete the db's it starts up fine..I tried using backup db's and it also still crashed..
Logged
Pages: [1]   Go Up