Re: FlushDatabase Suggestion

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18050
interpreted = N
texte = Bob Minor wrote:> [copyfile path=new/yourdb.db&to=yourdb.db] > [copyfile path=yourdb.db&to=backup/archive.db](just for protection) > [closedatabase path/to/some.db] > [deletefile path=yourdb.db] > [copyfile path=path/to/some.db&to=../somefolder/archive.db]But hits are arriving the entire time these commands are being processed. Immediately after receiving a closedatabase, WC could receive hits prior to receiving the deletefile. There's an old copy loaded in RAM, aimed at blowing away the new copy you have just written to disk, baby. (Sorry, the gun metaphore made my testosterone gland tingle.)I think you have to quit WebStar & WebCat CGI, replace the db & relaunch. It would be great if you could use a tag to flush RAM & stop processing of all WC commands, etc., except for file manipulations, then resume full processing after file manipulations were complete.-Pat Associated Messages, from the most recent to the oldest:

    
  1. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  2. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  3. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  4. Re: FlushDatabase Suggestion (Kenneth Grome 1998)
  5. Re: FlushDatabase Suggestion (bob 1998)
  6. Re: FlushDatabase Suggestion (bob 1998)
  7. Re: FlushDatabase Suggestion (bob 1998)
  8. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  9. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  10. Re: FlushDatabase Suggestion (Kenneth Grome 1998)
  11. Re: FlushDatabase Suggestion (Bob Minor 1998)
  12. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  13. Re: FlushDatabase Suggestion (Bob Minor 1998)
  14. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  15. Re: FlushDatabase Suggestion (Kenneth Grome 1998)
  16. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  17. Re: FlushDatabase Suggestion (Kenneth Grome 1998)
  18. FlushDatabase Suggestion (Pat McCormick 1998)
Bob Minor wrote:> [copyfile path=new/yourdb.db&to=yourdb.db] > [copyfile path=yourdb.db&to=backup/archive.db](just for protection) > [closedatabase path/to/some.db] > [deletefile path=yourdb.db] > [copyfile path=path/to/some.db&to=../somefolder/archive.db]But hits are arriving the entire time these commands are being processed. Immediately after receiving a closedatabase, WC could receive hits prior to receiving the deletefile. There's an old copy loaded in RAM, aimed at blowing away the new copy you have just written to disk, baby. (Sorry, the gun metaphore made my testosterone gland tingle.)I think you have to quit WebStar & WebCat CGI, replace the db & relaunch. It would be great if you could use a tag to flush RAM & stop processing of all WC commands, etc., except for file manipulations, then resume full processing after file manipulations were complete.-Pat Pat McCormick

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:

removing commas from a preformatted number (2000) Bad match! (2002) [click][/click] (1999) This list needs a digest: rant, rave... (1997) Old Topic - [OT] - server speeds. (2002) Kaaaaahhhhhhhnnnnnnn! (1997) Integration? (1999) IIS Brain Dead (1998) Erotic Sites (1997) Most Efficiant Way to do restricted Areas (1997) Rendering out a page (1997) WebCat2 - [SendNews] (1997) suffix mapping for NT? (1997) Wrapping text (1998) more ! testing (1997) A few questions. . . (1997) Running WebCat from a CD-ROM (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) [Sum] function? (1997) flushdatabases (1997)