Re: [WebDNA] Triggers.db wiped completely blank

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107860
interpreted = N
texte = It just occurred to me that a remote backup script filled my storage allotment on this VPS recently. I deleted the backup files a couple hours later, but might the fact that the disk was full have caused this problem? It seems like this would not cause a problem when the exact same file -- with the exact same size -- already exists on disk before the flush. Therefore it's not like WebDNA is trying to write a larger file to disk than already exists. Or is it? Would the existing disk-based copy of the file be wiped blank in this situation? If so, why? Sincerely, Kenneth Grome > Absolutely no idea, except that somebody erased your > triggers either intentionally or accidentally. Even if > you do not flush or commit to disk, and even if WebDNA > crashes, triggers are not erased. > > - chris > > On Dec 30, 2011, at 14:42, Kenneth Grome wrote: > > Hi Chris, > > > > Although this is good news for WebDNA it is not good > > news for my use of WebDNA on the VPS I have it > > installed on. > > > > Do you have any clue why my Triggers.db file would be > > wiped clean like it was for no apparent reason? > > > > Sincerely, > > Kenneth Grome > > > >> Hi Ken! just tested the worst possible situation with > >> the triggers: > >> > >> - WebDNA commits databases to disk only when > >> instructed - added two triggers > >> - kill -9 webdna.fcgi > >> - new call to webdna (to wake it up again) > >> - check that the PID is a new one (confirm that WebDNA > >> has been closed and restarted) - check the triggers: > >> they are still there > >> > >> - chris > >> > >> On Dec 30, 2011, at 12:07, Kenneth Grome wrote: > >>> I just learned that something completely wiped out my > >>> Triggers.db 7 days ago -- it is completely blank -- > >>> and I have no idea what might have caused this. > >>> > >>> Does anyone else have a clue why this might happen? > >>> > >>> Along with other things I was using it to bill > >>> clients automatically. But the bills never went out > >>> last week, which explains why I never got paid this > >>> week. > >>> > >>> I'm going to recreate my triggers, and I'm adding a > >>> new trigger -- one that will send me an email every > >>> day to confirm that triggers are still working. > >>> Then I will know when this happens again from the > >>> lack of a daily email, rather than learning about it > >>> a week later. But this does not make me feel any > >>> more confident about trusting triggers, and that's > >>> why I am hoping for an explanation of how this could > >>> have happened in the first place. > >>> > >>> I have not made any config changes on the server in > >>> months, nor has anyone else -- except possibly the > >>> hosting company -- and I do not understand how the > >>> hosting company's potential changes might have wiped > >>> out my Triggers.db while leaving all the other db's > >>> intact and functioning properly. > >>> > >>> The only thing I can think of is that maybe the > >>> flushdatabases tag does NOT flush the Triggers.db to > >>> disk, so the Triggers.db always remains volatile in > >>> RAM ... and therefore it is subject to being wiped > >>> out when the server crashes or the VPS is moved to a > >>> different computer. > >>> > >>> ??? > >>> > >>> Sincerely, > >>> Kenneth Grome > >>> ----------------------------------------------------- > >>> -- -- This message is sent to you because you are > >>> subscribed to the mailing list . To > >>> unsubscribe, E-mail to: > >>> archives: http://mail.webdna.us/list/talk@webdna.us > >>> Bug Reporting: support@webdna.us > >> > >> ------------------------------------------------------ > >> --- This message is sent to you because you are > >> subscribed to the mailing list . > >> To unsubscribe, E-mail to: > >> archives: http://mail.webdna.us/list/talk@webdna.us > >> Bug Reporting: support@webdna.us > > > > ------------------------------------------------------- > > -- This message is sent to you because you are > > subscribed to the mailing list . > > To unsubscribe, E-mail to: > > archives: http://mail.webdna.us/list/talk@webdna.us > > Bug Reporting: support@webdna.us > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Triggers.db wiped completely blank (christophe.billiottet@webdna.us 2011)
  2. Re: [WebDNA] Triggers.db wiped completely blank (Donovan Brooke 2011)
  3. Re: [WebDNA] Triggers.db wiped completely blank (Kenneth Grome 2011)
  4. Re: [WebDNA] Triggers.db wiped completely blank (Kenneth Grome 2011)
  5. Re: [WebDNA] Triggers.db wiped completely blank (Kenneth Grome 2011)
  6. Re: [WebDNA] Triggers.db wiped completely blank (christophe.billiottet@webdna.us 2011)
  7. Re: [WebDNA] Triggers.db wiped completely blank (Govinda 2011)
  8. Re: [WebDNA] Triggers.db wiped completely blank (Daniel Meola 2011)
  9. Re: [WebDNA] Triggers.db wiped completely blank (chris@usinter.net 2011)
  10. Re: [WebDNA] Triggers.db wiped completely blank (Govinda 2011)
  11. Re: [WebDNA] Triggers.db wiped completely blank (Kenneth Grome 2011)
  12. Re: [WebDNA] Triggers.db wiped completely blank (Kenneth Grome 2011)
  13. Re: [WebDNA] Triggers.db wiped completely blank (christophe.billiottet@webdna.us 2011)
  14. Re: [WebDNA] Triggers.db wiped completely blank (Kenneth Grome 2011)
  15. Re: [WebDNA] Triggers.db wiped completely blank (Donovan Brooke 2011)
  16. Re: [WebDNA] Triggers.db wiped completely blank (christophe.billiottet@webdna.us 2011)
  17. Re: [WebDNA] Triggers.db wiped completely blank (Kenneth Grome 2011)
  18. Re: [WebDNA] Triggers.db wiped completely blank (Govinda 2011)
  19. [WebDNA] Triggers.db wiped completely blank (Kenneth Grome 2011)
It just occurred to me that a remote backup script filled my storage allotment on this VPS recently. I deleted the backup files a couple hours later, but might the fact that the disk was full have caused this problem? It seems like this would not cause a problem when the exact same file -- with the exact same size -- already exists on disk before the flush. Therefore it's not like WebDNA is trying to write a larger file to disk than already exists. Or is it? Would the existing disk-based copy of the file be wiped blank in this situation? If so, why? Sincerely, Kenneth Grome > Absolutely no idea, except that somebody erased your > triggers either intentionally or accidentally. Even if > you do not flush or commit to disk, and even if WebDNA > crashes, triggers are not erased. > > - chris > > On Dec 30, 2011, at 14:42, Kenneth Grome wrote: > > Hi Chris, > > > > Although this is good news for WebDNA it is not good > > news for my use of WebDNA on the VPS I have it > > installed on. > > > > Do you have any clue why my triggers.db file would be > > wiped clean like it was for no apparent reason? > > > > Sincerely, > > Kenneth Grome > > > >> Hi Ken! just tested the worst possible situation with > >> the triggers: > >> > >> - WebDNA commits databases to disk only when > >> instructed - added two triggers > >> - kill -9 webdna.fcgi > >> - new call to webdna (to wake it up again) > >> - check that the PID is a new one (confirm that WebDNA > >> has been closed and restarted) - check the triggers: > >> they are still there > >> > >> - chris > >> > >> On Dec 30, 2011, at 12:07, Kenneth Grome wrote: > >>> I just learned that something completely wiped out my > >>> triggers.db 7 days ago -- it is completely blank -- > >>> and I have no idea what might have caused this. > >>> > >>> Does anyone else have a clue why this might happen? > >>> > >>> Along with other things I was using it to bill > >>> clients automatically. But the bills never went out > >>> last week, which explains why I never got paid this > >>> week. > >>> > >>> I'm going to recreate my triggers, and I'm adding a > >>> new trigger -- one that will send me an email every > >>> day to confirm that triggers are still working. > >>> Then I will know when this happens again from the > >>> lack of a daily email, rather than learning about it > >>> a week later. But this does not make me feel any > >>> more confident about trusting triggers, and that's > >>> why I am hoping for an explanation of how this could > >>> have happened in the first place. > >>> > >>> I have not made any config changes on the server in > >>> months, nor has anyone else -- except possibly the > >>> hosting company -- and I do not understand how the > >>> hosting company's potential changes might have wiped > >>> out my triggers.db while leaving all the other db's > >>> intact and functioning properly. > >>> > >>> The only thing I can think of is that maybe the > >>> flushdatabases tag does NOT flush the triggers.db to > >>> disk, so the triggers.db always remains volatile in > >>> RAM ... and therefore it is subject to being wiped > >>> out when the server crashes or the VPS is moved to a > >>> different computer. > >>> > >>> ??? > >>> > >>> Sincerely, > >>> Kenneth Grome > >>> ----------------------------------------------------- > >>> -- -- This message is sent to you because you are > >>> subscribed to the mailing list . To > >>> unsubscribe, E-mail to: > >>> archives: http://mail.webdna.us/list/talk@webdna.us > >>> Bug Reporting: support@webdna.us > >> > >> ------------------------------------------------------ > >> --- This message is sent to you because you are > >> subscribed to the mailing list . > >> To unsubscribe, E-mail to: > >> archives: http://mail.webdna.us/list/talk@webdna.us > >> Bug Reporting: support@webdna.us > > > > ------------------------------------------------------- > > -- This message is sent to you because you are > > subscribed to the mailing list . > > To unsubscribe, E-mail to: > > archives: http://mail.webdna.us/list/talk@webdna.us > > Bug Reporting: support@webdna.us > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Weird error/limit - something amiss? (1997) [CART] (1997) Bug or syntax error on my part? (1997) WebCat2.0b15-to many nested [xx] tags (1997) Help name our technology! (1997) help with http upload again (2000) unable to launch acgi in WebCat (1997) Separate SSL Server (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) URGENT - CPU usage OSXS (2001) 'does not contain' operator needed ... (1997) Alternative to Authorize.net (2002) WebCat2 several catalogs? (1997) SQL db type (2006) Multiple Replaces (1997) Price recalc based on quantity (1997) Further on formula.db failure to calculate shipCost (1997) Emailer setup (1997) Roundup function? (1997) [purchase] question (2000)