Subject | RE: [firebird-support] Can I corrupt a database by just stoppingfirebird guardian while many processes are running. |
---|---|
Author | Peter Ypenburg |
Post date | 2005-05-20T11:14:26Z |
>But, there is no guardian in Classic, and fb_inet_server isDo I understand it correctly that if you have installed classic then
>part of classic.
guardian has no effect if a fb_inet_server.exe crashes?
We only install classic and we have a guardian process running, or am I
missing something ...
Does this also mean that if you have classic installed that shutting down
guardian will not kill the fb_inet_server.exe processes running elegantly?
Peter Ypenburg
AGM: Product Development
Barloworld Optimus
Tel +2711 286 1587 Fax +2711 286 1630 Cell +2782 789 9167
www.barloworldoptimus.com
Disclaimer
The information transmitted is the property of Barloworld Optimus Pty (Ltd)
and is intended only for the person or entity to which it is addressed and
may contain confidential and/or privileged material. Statements and opinions
expressed in this e-mail may not represent those of the company. Any review,
retransmission, dissemination and other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited. If you received this in error, please
contact the sender immediately and delete the material from any computer.
-----Original Message-----
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Ann W. Harrison
Sent: Thursday, May 19, 2005 11:35 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Can I corrupt a database by just
stoppingfirebird guardian while many processes are running.
Peter Ypenburg wrote:
> 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.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://firebird.sourceforge.net and click the Resources item
on the main (top) menu. Try Knowledgebase and FAQ links !
Also search the knowledgebases at http://www.ibphoenix.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links