Re: Database monitoring

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63537
interpreted = N
texte = Eric Miller wrote: > Does anyone know of a script or a way to monitor events that happen to a > WebDNA database. We are experiencing some strange things (Field data in > records disappearing, database locking, etc) and it would be nice to catch > what random process is causing this. The only process that accesses WebDNA databases is... WebDNA! If you have eliminated automated triggers (which have a known problem with sandboxes in 6.0 I believe?), then the only other place is some less-well traveled section of your website, possibly caused by some search engine spider walking your pages in an odd fashion. If you can determine some time frame during which this occurs (once an hour, once a day, etc), you can turn on the "Technical Support Information" option on the Preferences page; this writes a line prior to interpreting any page. And then you have to sift though that data for a clue. It will be a lot of data, so don't leave it on for long if you are short of diskspace. In my experience, the majority of problems are code which assumes some external variable is set to reasonable value (for example, code that will work with hostnames but not IP addresses). Believe it or not but it usually is something very stupid and simple, and it will often leap out at you from the debug file. If you make it a habit of always validating all form variables for reasonable values, you will be much less likely to have any problems. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Database monitoring ( "Eric Miller" 2005)
  2. Re: Database monitoring ( John Peacock 2005)
  3. Re: Database monitoring ( "Eric Miller" 2005)
  4. Re: Database monitoring ( John Peacock 2005)
  5. Re: Database monitoring ( Clint Davis 2005)
  6. Database monitoring ( "Eric Miller" 2005)
Eric Miller wrote: > Does anyone know of a script or a way to monitor events that happen to a > WebDNA database. We are experiencing some strange things (Field data in > records disappearing, database locking, etc) and it would be nice to catch > what random process is causing this. The only process that accesses WebDNA databases is... WebDNA! If you have eliminated automated triggers (which have a known problem with sandboxes in 6.0 I believe?), then the only other place is some less-well traveled section of your website, possibly caused by some search engine spider walking your pages in an odd fashion. If you can determine some time frame during which this occurs (once an hour, once a day, etc), you can turn on the "Technical Support Information" option on the Preferences page; this writes a line prior to interpreting any page. And then you have to sift though that data for a clue. It will be a lot of data, so don't leave it on for long if you are short of diskspace. In my experience, the majority of problems are code which assumes some external variable is set to reasonable value (for example, code that will work with hostnames but not IP addresses). Believe it or not but it usually is something very stupid and simple, and it will often leap out at you from the debug file. If you make it a habit of always validating all form variables for reasonable values, you will be much less likely to have any problems. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ John Peacock

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:

WebCatalog2 Feature Feedback (1996) Spiders, robots, whatever you want to call them (1998) RE: [BULK] [WebDNA] [if] or [case] or something else (2012) Multiple catalog databases and showcart (1997) Problem displaying search result (1997) [WebDNA] WebDNA version 7 feature list? (2011) WebCatalog Plug-in for Webstar. (1997) WebCommerce: Folder organization ? (1997) Opinion: [input] should be called [output] ... (1997) Custom formulas.db (1998) upgrade? (1997) Credit card types (1997) redhat 9.0 (2003) [WC 2.1.30] Stack overflow. (2000) I think WebDNA-Talk died ... :( (1997) weird cart #? (1999) Now you see it now you donīt (1997) Location of Browser Info.txt file (1997) Page Breaks in Word (2003) Nesting format tags (1997)