Subject | Re: [firebird-support] Can I corrupt a database by just stopping firebird guardian while many processes are running. |
---|---|
Author | Ann W. Harrison |
Post date | 2005-05-19T21:35:05Z |
Peter Ypenburg wrote:
If you're using forced writes, that shouldn't corrupt the database,
but it's not a nice thing to do. If there's a bug anywhere in our write
sequencing, that procedure will reveal it by corrupting the database.
Not that anyone whose ever worked on Firebird or InterBase every wrote a
line of code that wasn't perfect...
Cheers,
Ann
The guardian is a utility program associated with SuperServer that
watches for serve death and restarts the server if that happens. In
theory, the server should never crash and the guardian should never be
needed. In practice, things don't always follow theory, so having a
guardian around is a good idea. The developers will tell you it
protects you from errors in UDF's. It also protects you from our
errors. But, there is no guardian in Classic, and fb_inet_server is
part of classic.
> The following code is in a bat file written by someone and I am concernedUnh, you're not killing the guardian, you're killing the actual server.
> about the impact it will have on our database:
> ***********Bat file code start***************
>
> REM *** removes the fb_inet_server process from the task manager
> pskill fb_inet_server.exe
If you're using forced writes, that shouldn't corrupt the database,
but it's not a nice thing to do. If there's a bug anywhere in our write
sequencing, that procedure will reveal it by corrupting the database.
Not that anyone whose ever worked on Firebird or InterBase every wrote a
line of code that wasn't perfect...
Cheers,
Ann
The guardian is a utility program associated with SuperServer that
watches for serve death and restarts the server if that happens. In
theory, the server should never crash and the guardian should never be
needed. In practice, things don't always follow theory, so having a
guardian around is a good idea. The developers will tell you it
protects you from errors in UDF's. It also protects you from our
errors. But, there is no guardian in Classic, and fb_inet_server is
part of classic.