Re: [WebDNA] sem_open bugfix for os x version 6.2

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108244
interpreted = N
texte = Oops...I guess I shouldn't have sent the attachment, anyway... its 5 times so far in the last hour. Rob On Jan 25, 2012, at 10:33 AM, Rob wrote: > Crashes in the last hour... as load increases in the morning, and its all the WebCatalog Process...Light load it crashes about every couple hours. > > > > Rob > > > On Jan 25, 2012, at 10:24 AM, christophe.billiottet@webdna.us wrote: > >> Rob, just curiosity: what formatting do you use for your drive? (thinking about Returned ENOSPC) >> >> About the semaphore bug, here a little more explanations: >> >> It was due to a poor method of generating the semaphore names. The semaphore name was generated this way: >> >> sprintf(mSemName, "webcat_%ld_%ld", this, times(&start)); >> >> The name therefore is "webcat_" + address space location of current object + current time in seconds. >> >> The issue is that on non-ASLR platforms the address spaces are identical each time the program runs. And since Apache starts all of the FastCGI processes at the same time, the times are also often identical. >> >> So basically WebDNA is trying to open semaphores at the same times with the same names. When it doesn't work, it starts spewing out all kinds of errors. After it fails to open the semaphore, it keeps trying to use it anyway and try over and over to use a semaphore it never opened >> >> - chris >> >> >> On Jan 25, 2012, at 14:13, Rob wrote: >> >>> Donovan, >>> >>> There are two of us, that I know of, that are having all kinds of weird issues that a lot of times don't even relate to any website, and are willing to pay Chris for a solution as it's consuming all are time. For example, I can go to one of my sites home page one time, and it crashes WebCatalog, then the next time I go its fine. The next time I go to the Preferences in the admin, and its fine, if I go again it crashes. This is in the middle of the night with low to no traffic. >>> >>> I've reinstalled about three times, I've gone through all the sites and made sure there was no issues, and checked all the permissions on the db's and files etc. All of these sites run perfectly fine on my development box, which is actually Lion, and I don't get the issue in terminal, like I do in Snow Leopard. If there was one file I could replace, or even remove in Apache or something, I would do that, but there is nothing I can put my finger on. Whatever it is is related to whats happening in terminal, which shows the following when you restart WebDNA: >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> >>> Rob >>> >>> >>> On Jan 25, 2012, at 9:41 AM, Donovan Brooke wrote: >>> >>>> First, I wouldn't call something a bug unless I can confirm and reproduce it. Why exactly are "we" calling this a bug in 6.2? How is it reproduced? >>>> >>>> To answer below: >>>> >>>> [snip] >>>> >>>> Also, we don't know if there are other revisions or fixes Donovan team may have done for 6.2 that aren't in our SVN. >>>>>> >>>>>> I suggest you speak privately (or publicly) with Rob Forest who has the same problem with his 6.2 copy: a group of several users could club together to get it fixed. Our charge would be somewhere between $800 to $1200 >>>> >>>> >>>> I think Chris knows that I'd be interested in a build/patch to CICADA.. not for the stated "bug" really, but for the Apache2 fixes that we made to the plugin (content type text/XML), and the SMTP auth fixes. Those should both already be done in the 6x branch and awaiting a build. >>>> >>>> There may be some other fixes that were made, and there may be some loose end's as well... since there was some "changes" going on with WSC policy about the time 6x was tagged and when I left. I don't know exactly what state 6.2 was tagged at, but it should be doable without too much problem. The developer would want to make sure they use the apache module with the fix on the content type. >>>> >>>> We were also playing around with process isolation.. much like how WebDNA7 works. WebDNA 6.2 does not have to be installed server-wide and we did have a build working that would allow multiple installs on a single server. Not sure if this was kept or not. >>>> >>>> Anyway... ahh, memories. :-) >>>> >>>> Donovan >>>> >>>> >>>> -- >>>> Donovan Brooke >>>> Euca Design Center >>>> www.euca.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 >>> >>> --------------------------------------------------------- >>> 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: [WebDNA] sem_open bugfix for os x version 6.2 (Donovan Brooke 2012)
  2. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Rob 2012)
  3. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Rob 2012)
  4. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Govinda 2012)
  5. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Rob 2012)
  6. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Daniel Meola 2012)
  7. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Donovan Brooke 2012)
  8. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Rob 2012)
  9. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Rob 2012)
  10. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Donovan Brooke 2012)
  11. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Govinda 2012)
  12. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Rob 2012)
  13. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Donovan Brooke 2012)
  14. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Robert Minor 2012)
  15. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Rob 2012)
  16. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Donovan Brooke 2012)
  17. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Rob 2012)
  18. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Rob 2012)
  19. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Rob 2012)
  20. Re: [WebDNA] sem_open bugfix for os x version 6.2 (christophe.billiottet@webdna.us 2012)
  21. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Rob 2012)
  22. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Donovan Brooke 2012)
  23. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Thierry Almy 2012)
  24. Re: [WebDNA] sem_open bugfix for os x version 6.2 (Rob 2012)
  25. [WebDNA] sem_open bugfix for os x version 6.2 (Thierry Almy 2012)
Oops...I guess I shouldn't have sent the attachment, anyway... its 5 times so far in the last hour. Rob On Jan 25, 2012, at 10:33 AM, Rob wrote: > Crashes in the last hour... as load increases in the morning, and its all the WebCatalog Process...Light load it crashes about every couple hours. > > > > Rob > > > On Jan 25, 2012, at 10:24 AM, christophe.billiottet@webdna.us wrote: > >> Rob, just curiosity: what formatting do you use for your drive? (thinking about Returned ENOSPC) >> >> About the semaphore bug, here a little more explanations: >> >> It was due to a poor method of generating the semaphore names. The semaphore name was generated this way: >> >> sprintf(mSemName, "webcat_%ld_%ld", this, times(&start)); >> >> The name therefore is "webcat_" + address space location of current object + current time in seconds. >> >> The issue is that on non-ASLR platforms the address spaces are identical each time the program runs. And since Apache starts all of the FastCGI processes at the same time, the times are also often identical. >> >> So basically WebDNA is trying to open semaphores at the same times with the same names. When it doesn't work, it starts spewing out all kinds of errors. After it fails to open the semaphore, it keeps trying to use it anyway and try over and over to use a semaphore it never opened >> >> - chris >> >> >> On Jan 25, 2012, at 14:13, Rob wrote: >> >>> Donovan, >>> >>> There are two of us, that I know of, that are having all kinds of weird issues that a lot of times don't even relate to any website, and are willing to pay Chris for a solution as it's consuming all are time. For example, I can go to one of my sites home page one time, and it crashes WebCatalog, then the next time I go its fine. The next time I go to the Preferences in the admin, and its fine, if I go again it crashes. This is in the middle of the night with low to no traffic. >>> >>> I've reinstalled about three times, I've gone through all the sites and made sure there was no issues, and checked all the permissions on the db's and files etc. All of these sites run perfectly fine on my development box, which is actually Lion, and I don't get the issue in terminal, like I do in Snow Leopard. If there was one file I could replace, or even remove in Apache or something, I would do that, but there is nothing I can put my finger on. Whatever it is is related to whats happening in terminal, which shows the following when you restart WebDNA: >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> sem_open failed: returned ENOSPC: No space left on device >>> >>> Rob >>> >>> >>> On Jan 25, 2012, at 9:41 AM, Donovan Brooke wrote: >>> >>>> First, I wouldn't call something a bug unless I can confirm and reproduce it. Why exactly are "we" calling this a bug in 6.2? How is it reproduced? >>>> >>>> To answer below: >>>> >>>> [snip] >>>> >>>> Also, we don't know if there are other revisions or fixes Donovan team may have done for 6.2 that aren't in our SVN. >>>>>> >>>>>> I suggest you speak privately (or publicly) with Rob Forest who has the same problem with his 6.2 copy: a group of several users could club together to get it fixed. Our charge would be somewhere between $800 to $1200 >>>> >>>> >>>> I think Chris knows that I'd be interested in a build/patch to CICADA.. not for the stated "bug" really, but for the Apache2 fixes that we made to the plugin (content type text/XML), and the SMTP auth fixes. Those should both already be done in the 6x branch and awaiting a build. >>>> >>>> There may be some other fixes that were made, and there may be some loose end's as well... since there was some "changes" going on with WSC policy about the time 6x was tagged and when I left. I don't know exactly what state 6.2 was tagged at, but it should be doable without too much problem. The developer would want to make sure they use the apache module with the fix on the content type. >>>> >>>> We were also playing around with process isolation.. much like how WebDNA7 works. WebDNA 6.2 does not have to be installed server-wide and we did have a build working that would allow multiple installs on a single server. Not sure if this was kept or not. >>>> >>>> Anyway... ahh, memories. :-) >>>> >>>> Donovan >>>> >>>> >>>> -- >>>> Donovan Brooke >>>> Euca Design Center >>>> www.euca.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 >>> >>> --------------------------------------------------------- >>> 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:

Mac v. NT (1998) Encrypt Users.db problem (1998) [protect] on NT? (1997) RE: Web*SSL and WebCatalog (1997) NT License trade for Mac (2000) Emailer (1997) Emailer Problem (2000) Not seeing cart info on Invoice.tmpl (was PROBLEM) (1997) Newbie problem blah blah blah (1997) Displaying xx number of characters (1997) Hyperboard/bulletin board available (1998) WebCat2b13MacPlugIn - More limits on [include] (1997) Superfilous Characters (1998) ShowIf & CountChars (2000) webmerch and serials - almost there (1997) [TaxableTotal] - not working with AOL and IE (1997) Javascript Stored in a Database (2003) [WebDNA] TCPConnect example doesn't work (2017) Calculating Shipping charges for multiple items and qtys > 1 (1997) New Command prefs ... (1997)