Contrary to the expectation of some this is not a reboot issue. I have over
three dozen dropboxes running (all very busy importing cuts - several that
are 30mins to 60mins long) and I open up rdadmin to add two more dropboxes.
Now all the carts that had running busy dropboxes are gone from the
rivendell library (magically deleted); I did double check to see that those
carts did exist before opening up rdadmin and adding the two new dropboxes.
This "magical deletion" even removes the files from /var/snd so I cannot
see how it is a mysql problem.

The machine was not rebooted and no services were stopped/interrupted
during this "magical deletion" of carts.

I am suspicious that the "deleter" is somewhere in rdxport.cgi or some of
the rivendell maintainence code.

This is a new very high end/speed server therefore I do not believe that
this could be hardware related.
Stress tests on this machine don't show the least level of flakyness.

Mysql shows no corruption when I run its maintainence scripts, and neither
does the filesystem.

This happened to me in my previous setup (Ubuntu 10.04 LTS, Rivendell
1.7.2) which is still running on an older machine, and is happening on my
new setup (Ubuntu 11.04, Rivendell 2.1.1) which is about to go live.

FYI in my rd.conf the mysql hostname is set to localhost as this is a
standalone setup.

Running rddbcheck finds no problems either.

-Daniel
Family First Radio Network


P.S. This "magical deletion" just happened without running rdadmin or
stopping any services - carts that did exist minutes before are now gone.
This doesn't happen if I remove all dropboxes from the database (via
rdadmin or manually).



On Fri, Dec 23, 2011 at 12:14 PM, Daniel Bair
<[email protected]>wrote:

> On Fri, Dec 16, 2011 at 10:55 PM, Fred Gleason <[email protected]>
> wrote:
> >
> > Subject: Re: [RDD] Rivendell rdimport and dropbox bug
> > To: User discussion about the Rivendell Radio Automation System
> >        <[email protected]>
> > Message-ID: <[email protected]>
> > Content-Type: text/plain; charset=us-ascii
> >
> > On Dec 16, 2011, at 14:52 06, Daniel Bair wrote:
> >
> > > A rather BIG BUG for us regarding Rivendell 1.7.x and 2.1.x is
> rdimport and its "feature" of deleting whole carts if interrupted. Run
> rdimport from the command line with the --to-cart set for a cart full of
> cuts and then kill the process and that whole cart and all of its cuts will
> be deleted! This happens from the command line and from dropboxes setup in
> rdadmin.
> >
> > Unable to reproduce on 2.1.1.
> >
> > Perhaps you could give us some details about precisely how rdimport(1)
> is being "interrupted".  In my tests here, sending >SIGKILL to a running
> RDImport instance has no adverse effects beyond (obviously) killing that
> instance.
>
> Ok, what happens to the cut that was being imported to the specified
> --to-cart when rdimport is killed? Because rdimport watching an empty
> dropbox isn't a problem.
>
> >
> >
> > > It is a big problem if a machine needs to be rebooted while rdimport
> is running!
> >
> > If you're rebooting the machine, you've got a lot of possible mayhem
> beyond RD that could be in play here.  MySQL >shutting down, the /var/snd
> mount going away, to name just a couple.  Before doing so, you want to be
> sure that any >running RDImport instances are shut down cleanly.  The
> Rivendell init script will do this when called with the 'stop' option.
>
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to