Nebulous slow-down problem

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33932
interpreted = N
texte = Mac Plugin - every version of 4.0 (and 4.0.1).I know you're going to love this one, Grant.On two of our sites we have the error page set up to check for a special string (_.html), parse the submitted bad URL to extract a search string, and return a custom page based on that string. The new page is included. So the error page says something like:[SEARCH db=some.db&eqFIELDNAMEdatarq=A PARSED STRING] [HIDEIF [NUMFOUND]=0]] [INCLUDE file=somepage.html?A PARSED STRING] [/HIDEIF] [/SEARCH]This all worked great on WC3.However, on WebCat 4, this produces very bad results on *only one* of the sites. When using NetSplat, the error page only returns 9 hits (those 9 hits takes 15-25 seconds each to process) before returning nothing at all. It's like the threads aren't being closed.The included page is very complicated with a ton of code (mostly [SEARCH]es and [SHOWIF]s). Removing sections of code decreases the severity of the problem. The page will be returned more times and faster, but there's still an incremental slow down. Unfortunately, the complexity of the page makes it almost impossible for me to point to a sequence of tags and say, Aha, there it is.The workaround that I've come up with is to do a redirect to the right page, instead of including it. That works great and fast (each hit takes a fraction of a second).So, to sum up, I've gotten this far:- It only happens when the page is called as part of an include. - It only happens when the include is on the error.html page. - Hitting the page itself works fine (i.e. [REDIRECT special.html?STRING=hello] works, but [INCLUDE file=special.html&STRING=hello] doesn't). - It has nothing to do with nested includesI've spent many hours on this. Is there anything special about how WebCat treats the error.html page when a requested page is not found?Will provide a multitude of dbs and templates upon request.Michael############################################################# 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 To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: Nebulous slow-down problem (Grant Hulbert 2000)
  2. Nebulous slow-down problem (Michael Winston 2000)
Mac Plugin - every version of 4.0 (and 4.0.1).I know you're going to love this one, Grant.On two of our sites we have the error page set up to check for a special string (_.html), parse the submitted bad URL to extract a search string, and return a custom page based on that string. The new page is included. So the error page says something like:[SEARCH db=some.db&eqFIELDNAMEdatarq=A PARSED STRING] [HIDEIF [NUMFOUND]=0]] [INCLUDE file=somepage.html?A PARSED STRING] [/HIDEIF] [/SEARCH]This all worked great on WC3.However, on WebCat 4, this produces very bad results on *only one* of the sites. When using NetSplat, the error page only returns 9 hits (those 9 hits takes 15-25 seconds each to process) before returning nothing at all. It's like the threads aren't being closed.The included page is very complicated with a ton of code (mostly [search]es and [showif]s). Removing sections of code decreases the severity of the problem. The page will be returned more times and faster, but there's still an incremental slow down. Unfortunately, the complexity of the page makes it almost impossible for me to point to a sequence of tags and say, Aha, there it is.The workaround that I've come up with is to do a redirect to the right page, instead of including it. That works great and fast (each hit takes a fraction of a second).So, to sum up, I've gotten this far:- It only happens when the page is called as part of an include. - It only happens when the include is on the error.html page. - Hitting the page itself works fine (i.e. [REDIRECT special.html?STRING=hello] works, but [INCLUDE file=special.html&STRING=hello] doesn't). - It has nothing to do with nested includesI've spent many hours on this. Is there anything special about how WebCat treats the error.html page when a requested page is not found?Will provide a multitude of dbs and templates upon request.Michael############################################################# 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 To switch to the INDEX mode, E-mail to Send administrative queries to Michael Winston

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:

Need a better [elapsedtime] (2000) problems with 2 tags shakur (1997) Separate SSL Server (1997) WebCatalog for guestbook ? (1997) Dynamic PDFs? (2004) NT [delete] (1998) AW: AW: Credit card processing - UK (1997) WebCat2 - Getting to the browser's username/password data (1997) RE: shrink-wrapped version out yet? (1997) Date problems-more (1997) Re2: AAgghh!! Help, please. SSL strikes again. (1997) [shippingtotal] still... (2002) OT: FTP problems (2003) [WebDNA] Amazon S3 (2013) WebCatalog for guestbook ? (1997) Quit revisited (1997) RE: protect tag on NT (1997) Getting total number of items ordered (1997) available times? (2003) WebSTAR and WebSTAR/SSL with WebCatalog plugins (1998)