Re: Strange intermittent WebDNA problems
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 70082
interpreted = N
texte = Palle Bo Nielsen wrote:> Are you saying that you have found a method which makes WebDNA > compatible with Leopard - and furthermore maybe on an Intel Mac?> > Palleleopard on G5..O.K., I'll start,6.0a, unix-Linux Intel RedHat (on Fedora)About 2 weeks ago to this day, I started having issues witha clients WebSite where the CPU usage would hop up to 100%usage, the http processes would also build up.This started soon after (about an hour) a data/time stampwas munged on the OS server (it was speculated that it syncedto a time server). I am not the admin of the server... justthe WebDNA guy, so I don't have all the details there.It was also speculated that this time-stamp messed withthe safe-write system in WebDNA. So, for the databasesthat were utilizing the safe-write system (you can tellif they are utilizing the safe write system by the buildup of -tmp suffixed databases in the same directory as yourregular database). One database was entirely gone and wereplaced by using an existing -tmp file that the "safe-write"system had written. I turned off "safe-write" at that time. From there, we were still having problems. I chased afterseg-fault issues (bad code) that I found using the filecreated from the signal catcher in the pref. (it appearsthat many builds are not as verbose as the one I am using(listed above)). I can't really use the "log error messages"preference because the site I am dealing with uses theerrorlogmessages.db to create dynamic pages from callsthat are not found... (so turning it on creates a hugefile of mostly acceptable stuff really quickly).I also did some strace's when I noticed the httpd processesjump up.In the end, these helped keep the site up longer, butdid not solve the problem. I then started taking a lookat the databases. Since I had turned off "safe-write" thedatabase issues made themselves better known. I startedgetting some truncated databases. I looked further.There were a lot of control characters andsuch... zapping gremlins and cleaning out the databases againseemed to help performance. However, these are greater than30MB databases and there is still some remaining odd charactersbecause I left the encrypted passwords in there. I wasstill getting truncated databases but not as often. At thispoint, I then took a look at how these passwords were beingencrypted and found they they were not being saved to thedatabase in the correct way that we (on the list) havecome to know. So I am currently in the process of havingeveryone reset their passwords and saving them correctly!I turned back on the safe-write system as well... becausewe needed to give our customers a respite from all theproblems!This is a new site I acquired so I am just getting used toit. Lots of database interactions! One thing that we discoveredis that upon reboot, the WebDNAMonitor was not starting(it shows up as another "webcatalog" in our process readings).Once we realized this and manually start it each timewe reboot, the WebServer amazingly stays up and the httpbuilds ups do not happen!It appears to me that the Safe-Write system and theWebDNAMonitor act as big brother and hide a lot of littlemistakes that are harmful to a healthy operating WebDNA site.I am not stopping now with healing this site just becauseit appears to be working. I am going to install exclusivelockson just about every crucial database interaction ([appends..],[deletes..][replaces..] etc..) I am also going to cleanse the existingdata (part of the password resetting process).So you see, there is a lot that can go into stalling aserver!Other things to consider are large files that are being interactedwith regarding apache. (I think there is a 2gig default limit onapache served files).Your turn!DonovanP.S. wrote this really fast!.. so sorry about spelling.-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
Palle Bo Nielsen wrote:> Are you saying that you have found a method which makes WebDNA > compatible with Leopard - and furthermore maybe on an Intel Mac?> > Palleleopard on G5..O.K., I'll start,6.0a, unix-Linux Intel RedHat (on Fedora)About 2 weeks ago to this day, I started having issues witha clients WebSite where the CPU usage would hop up to 100%usage, the http processes would also build up.This started soon after (about an hour) a data/time stampwas munged on the OS server (it was speculated that it syncedto a time server). I am not the admin of the server... justthe WebDNA guy, so I don't have all the details there.It was also speculated that this time-stamp messed withthe safe-write system in WebDNA. So, for the databasesthat were utilizing the safe-write system (you can tellif they are utilizing the safe write system by the buildup of -tmp suffixed databases in the same directory as yourregular database). One database was entirely gone and wereplaced by using an existing -tmp file that the "safe-write"system had written. I turned off "safe-write" at that time. From there, we were still having problems. I chased afterseg-fault issues (bad code) that I found using the filecreated from the signal catcher in the pref. (it appearsthat many builds are not as verbose as the one I am using(listed above)). I can't really use the "log error messages"preference because the site I am dealing with uses theerrorlogmessages.db to create dynamic pages from callsthat are not found... (so turning it on creates a hugefile of mostly acceptable stuff really quickly).I also did some strace's when I noticed the httpd processesjump up.In the end, these helped keep the site up longer, butdid not solve the problem. I then started taking a lookat the databases. Since I had turned off "safe-write" thedatabase issues made themselves better known. I startedgetting some truncated databases. I looked further.There were a lot of control characters andsuch... zapping gremlins and cleaning out the databases againseemed to help performance. However, these are greater than30MB databases and there is still some remaining odd charactersbecause I left the encrypted passwords in there. I wasstill getting truncated databases but not as often. At thispoint, I then took a look at how these passwords were beingencrypted and found they they were not being saved to thedatabase in the correct way that we (on the list) havecome to know. So I am currently in the process of havingeveryone reset their passwords and saving them correctly!I turned back on the safe-write system as well... becausewe needed to give our customers a respite from all theproblems!This is a new site I acquired so I am just getting used toit. Lots of database interactions! One thing that we discoveredis that upon reboot, the WebDNAMonitor was not starting(it shows up as another "webcatalog" in our process readings).Once we realized this and manually start it each timewe reboot, the WebServer amazingly stays up and the httpbuilds ups do not happen!It appears to me that the Safe-Write system and theWebDNAMonitor act as big brother and hide a lot of littlemistakes that are harmful to a healthy operating WebDNA site.I am not stopping now with healing this site just becauseit appears to be working. I am going to install exclusivelockson just about every crucial database interaction ([appends..],[deletes..][replaces..] etc..) I am also going to cleanse the existingdata (part of the password resetting process).So you see, there is a lot that can go into stalling aserver!Other things to consider are large files that are being interactedwith regarding apache. (I think there is a 2gig default limit onapache served files).Your turn!DonovanP.S. wrote this really fast!.. so sorry about spelling.-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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:
Multiple Users.db Possible? (1997)
no [include]s with encryption? (1998)
Databases inside [SHOWIF] (1998)
Meet your competition (2000)
[date] inside orderfile (2000)
Snake Bites (1997)
Credit card arrangement (2005)
Help Wanted (2005)
can WC render sites out? (1997)
Authentication (1998)
How do I handle extra spaces? (2002)
Mac: [ListFiles] bug alert (1997)
WebCat2 beta 11 - new prefs ... (1997)
Unix line endings (2003)
Fedora Core 3 and WebDNA (2005)
Merging databases (1997)
using showpage and showcart commands (1996)
Dark Horse Comics success story (1997)
Multiple Pulldowns (1997)
HEADER AND FOOTER (1997)