Re: [WebDNA] sem_open solved

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108304
interpreted = N
texte = Thanks Chris, way better explanation....... but if it crashes in a week, it "may" not be ram... its all new... ;-) On Jan 26, 2012, at 3:16 PM, christophe.billiottet@webdna.us wrote: > I will reply for Rob: > > This is a Mac OSX server with 6.2 and we had two applications crashing randomly: WebDNA and applevncserver. The server had been up for 210 days, and during that time either a semaphore leak has used up all available semaphores, or bad ram has caused the memory to become corrupted and the server to lose track of how many semaphores are available and in use. So it could be the lack of semaphores is causing both applications to not be able to acquire locks and they are corrupting themselves and crashing. > > A reboot was the first solution, and it seems it fixed the problem. The version of 6.2 will not create anymore semaphore with identical names and hopefully the problem should not reappear. However, if the server crashes again within a week, then the problem is most likely a bad RAM chip. > > - chris > > > On Jan 26, 2012, at 18:58, Govinda wrote: > >> >>> I'd like to personally thank Chris and Josh for all their help on this one, and Thierry for his part in getting it going and splitting the costs of the executable. >>> >>> Just for anyones info, it was a 2 (maybe 3) part problem. >>> >>> 1) The executable itself >>> 2) The fact that you have to restart a server after 210 days(who knew... it's a server...sheeesh... lol ) >>> 3) Maybe bad ram contributing to it, but thats a wait and see moment. >>> >>> Prior servers to this have run for over a year without restart, but I understand the reasoning for this, as everything related to semaphores was all heaped up. Sometimes you get so wrapped up in this crap, you don't think of things like that, especially when everything else seems to run fine. >>> >>> Anyway, its fixed, and thank you to everyone for their input and help. >> >> Rob >> >> Sorry if I am being foggy.. but I did not understand very well.. and am curious. So say again, what exactly was causing your crashes? And you solved it? How exactly? ...primarily by paying WSC for a new version of 6.x , minus the semaphore bug? >> >> -Govinda >> >> >> --------------------------------------------------------- >> 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: [BULK] Re: [WebDNA] sem_open solved (Donovan Brooke 2012)
  2. Re: [BULK] Re: [WebDNA] sem_open solved (Rob 2012)
  3. [BULK] Re: [WebDNA] sem_open solved (Donovan Brooke 2012)
  4. Re: [WebDNA] sem_open solved (christophe.billiottet@webdna.us 2012)
  5. Re: [WebDNA] sem_open solved (Kenneth Grome 2012)
  6. Re: [WebDNA] sem_open solved (Rob 2012)
  7. Re: [WebDNA] sem_open solved (Kenneth Grome 2012)
  8. Re: [WebDNA] sem_open solved (Rob 2012)
  9. Re: [WebDNA] sem_open solved (christophe.billiottet@webdna.us 2012)
  10. Re: [WebDNA] sem_open solved (Rob 2012)
  11. Re: [WebDNA] sem_open solved (Govinda 2012)
  12. [WebDNA] sem_open solved (Rob 2012)
Thanks Chris, way better explanation....... but if it crashes in a week, it "may" not be ram... its all new... ;-) On Jan 26, 2012, at 3:16 PM, christophe.billiottet@webdna.us wrote: > I will reply for Rob: > > This is a Mac OSX server with 6.2 and we had two applications crashing randomly: WebDNA and applevncserver. The server had been up for 210 days, and during that time either a semaphore leak has used up all available semaphores, or bad ram has caused the memory to become corrupted and the server to lose track of how many semaphores are available and in use. So it could be the lack of semaphores is causing both applications to not be able to acquire locks and they are corrupting themselves and crashing. > > A reboot was the first solution, and it seems it fixed the problem. The version of 6.2 will not create anymore semaphore with identical names and hopefully the problem should not reappear. However, if the server crashes again within a week, then the problem is most likely a bad RAM chip. > > - chris > > > On Jan 26, 2012, at 18:58, Govinda wrote: > >> >>> I'd like to personally thank Chris and Josh for all their help on this one, and Thierry for his part in getting it going and splitting the costs of the executable. >>> >>> Just for anyones info, it was a 2 (maybe 3) part problem. >>> >>> 1) The executable itself >>> 2) The fact that you have to restart a server after 210 days(who knew... it's a server...sheeesh... lol ) >>> 3) Maybe bad ram contributing to it, but thats a wait and see moment. >>> >>> Prior servers to this have run for over a year without restart, but I understand the reasoning for this, as everything related to semaphores was all heaped up. Sometimes you get so wrapped up in this crap, you don't think of things like that, especially when everything else seems to run fine. >>> >>> Anyway, its fixed, and thank you to everyone for their input and help. >> >> Rob >> >> Sorry if I am being foggy.. but I did not understand very well.. and am curious. So say again, what exactly was causing your crashes? And you solved it? How exactly? ...primarily by paying WSC for a new version of 6.x , minus the semaphore bug? >> >> -Govinda >> >> >> --------------------------------------------------------- >> 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 Rob

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:

Authenticate (1997) [Sum] function? (1997) Number of Open Databases (1998) [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018) Further tests with the infamous shipCost (1997) AOL and webcat (1998) ConvertChars (Emailer file formats) (1998) unable to launch acgi in WebCat (1997) WebCat2 beta 11 - new prefs ... (1997) [if] and [showif] - A solution (2002) Using Plug-In while running 1.6.1 (1997) Authorize.net, SIM, tcpconnect and applescript (2003) More DateMath problems (1997) Paypal merchant code tricks or pitfalls (2003) Exclude by date - multiple (1997) Too Much Rootbeer Free Offer (1997) Core Database integration (2001) For you Unix gurus [OT] (2002) SSI *nix 4.5 build (2002) Error.html (1997)