Re: [WebDNA] v7 problem?

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108016
interpreted = N
texte = Just a question.... do you restart apache after removing or adding a new = webdna.fcgi? just an idea there, but if apache starts a WebDNA instance = of a copy of WebDNA that you erase and replace by a new copy, it might = try to start it and find the same instance already opened, which could = create the problem you see. - chris On Jan 9, 2012, at 13:57, Thierry Almy wrote: >=20 >> 70,000 hits a day is by no mean a "high load". >>=20 >> Several questions to help us debug this: >>=20 >> - you write "So I have 3 v7 hosts running on one server and another 2 = on the second server. As soon as I add another one the server crashes" = which could imply a limit in the number of running FastCGI processes. = However, you also wrote ""We've got 4 vhosts running v7 since a few = weeks without problems". >=20 > It's definitely 3 vhosts on server 1 (MacPro dual six-core) and 2 = vhosts on server 2 (MacPro dual quad-core) and they are running fine = like this. >=20 >> - Is it always the same website that makes your webserver crash? >=20 > The "error" appears as soon as I add another vhost with DNA7 on any of = the two servers. > The vhost I add contains ONLY a WebDNA Folder and is NOT hit by = clients. >=20 >=20 >> - when you write "the server crashes", do you mean the website = (WebDNA), apache (all websites) or the entire server? >=20 > I get two kinds of errors in the apache error log as soon as I do = apachectl graceful: >=20 > - sem_open failed: returned EEXIST: File exists > this on is repeated about 20 times and the server still works >=20 > - retry on sem_wait: Bad file descriptor > This error gets repeated endless and unbelievable fast, so that the = logfile grows 1 GB per Minute till the disk is full! (it ended up with a = size of 480GB) >=20 > The server did not really crash. >=20 >> - Do you know if there is a specific apache/iTools directive that = could limit the child processes and automatically restart them when it = reaches its limit? it could be that the iTool apache config is trying to = spawn a high number of childs and that there is a limit somewhere else, = at the mod_FastCGI config level >>=20 >> to simplify debugging, you could try >> StartServers 1 >> MinSpareServers 1 >> MaxSpareServers 1 >=20 > Currently we have the following values: > Start Servers: 5 > Max Clients: 150 > MaxSpare Servers: 10 > MinSpare Servers: 5 > Max Requests per Child: 0 (unlimited) >=20 > Basically iTools just manages apache config files, but I didn't find = anything mod_FastCGI specific. > Before changing this values I'll contact Tenon and ask them ... >=20 > Thanks > Thierry >=20 >=20 >>=20 >> - chris >>=20 >>=20 >> On Jan 9, 2012, at 10:33, Thierry Almy wrote: >>=20 >>> All of our sites are not "extremely" busy ... a few ones have more = hits than other that's true. >>>=20 >>> For server 1 we had about 70'000 hits per day (hits, not visits!) = during the last two weeks, but all served with v6.2 >>> The ones using v7 are not heavily hit. >>>=20 >>> Server 2 has maybe half of hits on v6.2 and only two v7 sites with = almost no hits. >>> The "www.maendli-freizeit.ch" vhost is in development state and has = no hits at all, as I mentioned it makes them crash also if it contains = only the WebDNA folder and nothing else. >>> It doesn't really matter if the v7 sites are heavily hit or not, = it's the fact that having more than a handfull of fcgi processes running = at once. >>>=20 >>> Thierry >>>=20 >>>=20 >>> Am 09.01.2012 um 13:20 schrieb christophe.billiottet@webdna.us: >>>=20 >>>> Yes, we will check this error and i will be back with informations. = Could it be that you are running extremely busy websites on a single = server, the kind of website that usually run on dedicated servers, and = that one is heavier than the others? i understand the error follows one = of your websites, www.maendli-freizeit.ch, and that the problem appears = when you add this specific website to your servers. >>>>=20 >>>> I also understood the problem appeared Saturday: "We've got 4 = vhosts running v7 since a few weeks without problems - till yesterday." >>>>=20 >>>> - chris >>>>=20 >>>>=20 >>>> On Jan 9, 2012, at 10:07, Thierry Almy wrote: >>>>=20 >>>>> Thanks Chris >>>>>=20 >>>>> On our 2x QuadCore we can handle 2 fcgi processes, on the 2x = 6-Core 4 fcgi processes.=20 >>>>> The next process will bring up the errors on each system. >>>>>=20 >>>>> To be honest, it can't be a solution to set up a VPS for each web = host. We're running more than 100 vhosts, it's just impossible to do it = this way ... >>>>>=20 >>>>> The sem_open error points to a programming problem where the = application doesn't properly close channels after usage ...as far as I = understand it ... but I'm definitely not an application programmer ....=20= >>>>>=20 >>>>> Thierry >>>>>=20 >>>>>=20 >>>>> Am 09.01.2012 um 12:19 schrieb christophe.billiottet@webdna.us: >>>>>=20 >>>>>> I will check this asap with our developer. Meanwhile, not all = hosting solutions are being equals, though the FastCGI should be able to = handle almost any UNIX/LINUX configuration. I personnally prefer the one = chosen by Ken: a single website on a VPS with a light but feature-rich = linux OS like DEBIAN associated with LIGHTTPD webserver -which is faster = and lighter than apache- and has a well-designed FastCGI implementation. = This solution can be very cheap, will run with 128MB of RAM and scales = up easily with fast processors and lots of RAM. >>>>>> The VPS is the natural extension of WebDNA 7: it gives as much = control as a dedicated server for a fraction of the cost, and makes each = website an independant entity with greater efficiency and high level of = security. >>>>>>=20 >>>>>> - chris >>>>>>=20 >>>>>>=20 >>>>>> On Jan 9, 2012, at 8:39, Thierry Almy wrote: >>>>>>=20 >>>>>>> Hi chris >>>>>>>=20 >>>>>>> sorry for the comment ... I take it back ... >>>>>>>=20 >>>>>>> I just want to have an environment which allows me to do my job = (programming). >>>>>>>=20 >>>>>>> Maybe we should leave OS X at all and move to Linux? >>>>>>>=20 >>>>>>>=20 >>>>>>> The last error we had a few weeks ago was because of heavy load = and bad RAM. >>>>>>> After changing the RAM the malloc error was gone. >>>>>>> The sem_open error must have to do something with WebDNA ... = v6.2 and v7 >>>>>>>=20 >>>>>>> Is there anybody else which has seen the sem_open error? >>>>>>>=20 >>>>>>> Thierry >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> --------------------------------------------------------- >>>>>> 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 >>>>>=20 >>>>> --------------------------------------------------------- >>>>> 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 >>>>=20 >>>> --------------------------------------------------------- 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 >>>=20 >>> --------------------------------------------------------- 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 >>=20 >> --------------------------------------------------------- >> 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 >=20 > --------------------------------------------------------- > 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] v7 problem? (Thierry Almy 2012)
  2. Re: [WebDNA] v7 problem? (christophe.billiottet@webdna.us 2012)
  3. Re: [WebDNA] v7 problem? (christophe.billiottet@webdna.us 2012)
  4. Re: [WebDNA] v7 problem? (Paul Willis 2012)
  5. Re: [WebDNA] v7 problem? (sal danna 2012)
  6. Re: [WebDNA] v7 problem? (christophe.billiottet@webdna.us 2012)
  7. Re: [WebDNA] v7 problem? (Donovan Brooke 2012)
  8. Re: [WebDNA] v7 problem? (christophe.billiottet@webdna.us 2012)
  9. Re: [WebDNA] v7 problem? (Govinda 2012)
  10. Re: [WebDNA] v7 problem? (Thierry Almy 2012)
  11. Re: [WebDNA] v7 problem? (Kenneth Grome 2012)
  12. Re: [WebDNA] v7 problem? (christophe.billiottet@webdna.us 2012)
  13. Re: [WebDNA] v7 problem? (William DeVaul 2012)
  14. Re: [WebDNA] v7 problem? (Thierry Almy 2012)
  15. Re: [WebDNA] v7 problem? (christophe.billiottet@webdna.us 2012)
  16. Re: [WebDNA] v7 problem? (Thierry Almy 2012)
  17. Re: [WebDNA] v7 problem? (christophe.billiottet@webdna.us 2012)
  18. Re: [WebDNA] v7 problem? (Thierry Almy 2012)
  19. Re: [WebDNA] v7 problem? (Thierry Almy 2012)
  20. Re: [WebDNA] v7 problem? (christophe.billiottet@webdna.us 2012)
  21. [WebDNA] v7 problem? (Thierry Almy 2012)
Just a question.... do you restart apache after removing or adding a new = webdna.fcgi? just an idea there, but if apache starts a WebDNA instance = of a copy of WebDNA that you erase and replace by a new copy, it might = try to start it and find the same instance already opened, which could = create the problem you see. - chris On Jan 9, 2012, at 13:57, Thierry Almy wrote: >=20 >> 70,000 hits a day is by no mean a "high load". >>=20 >> Several questions to help us debug this: >>=20 >> - you write "So I have 3 v7 hosts running on one server and another 2 = on the second server. As soon as I add another one the server crashes" = which could imply a limit in the number of running FastCGI processes. = However, you also wrote ""We've got 4 vhosts running v7 since a few = weeks without problems". >=20 > It's definitely 3 vhosts on server 1 (MacPro dual six-core) and 2 = vhosts on server 2 (MacPro dual quad-core) and they are running fine = like this. >=20 >> - Is it always the same website that makes your webserver crash? >=20 > The "error" appears as soon as I add another vhost with DNA7 on any of = the two servers. > The vhost I add contains ONLY a WebDNA Folder and is NOT hit by = clients. >=20 >=20 >> - when you write "the server crashes", do you mean the website = (WebDNA), apache (all websites) or the entire server? >=20 > I get two kinds of errors in the apache error log as soon as I do = apachectl graceful: >=20 > - sem_open failed: returned EEXIST: File exists > this on is repeated about 20 times and the server still works >=20 > - retry on sem_wait: Bad file descriptor > This error gets repeated endless and unbelievable fast, so that the = logfile grows 1 GB per Minute till the disk is full! (it ended up with a = size of 480GB) >=20 > The server did not really crash. >=20 >> - Do you know if there is a specific apache/iTools directive that = could limit the child processes and automatically restart them when it = reaches its limit? it could be that the iTool apache config is trying to = spawn a high number of childs and that there is a limit somewhere else, = at the mod_FastCGI config level >>=20 >> to simplify debugging, you could try >> StartServers 1 >> MinSpareServers 1 >> MaxSpareServers 1 >=20 > Currently we have the following values: > Start Servers: 5 > Max Clients: 150 > MaxSpare Servers: 10 > MinSpare Servers: 5 > Max Requests per Child: 0 (unlimited) >=20 > Basically iTools just manages apache config files, but I didn't find = anything mod_FastCGI specific. > Before changing this values I'll contact Tenon and ask them ... >=20 > Thanks > Thierry >=20 >=20 >>=20 >> - chris >>=20 >>=20 >> On Jan 9, 2012, at 10:33, Thierry Almy wrote: >>=20 >>> All of our sites are not "extremely" busy ... a few ones have more = hits than other that's true. >>>=20 >>> For server 1 we had about 70'000 hits per day (hits, not visits!) = during the last two weeks, but all served with v6.2 >>> The ones using v7 are not heavily hit. >>>=20 >>> Server 2 has maybe half of hits on v6.2 and only two v7 sites with = almost no hits. >>> The "www.maendli-freizeit.ch" vhost is in development state and has = no hits at all, as I mentioned it makes them crash also if it contains = only the WebDNA folder and nothing else. >>> It doesn't really matter if the v7 sites are heavily hit or not, = it's the fact that having more than a handfull of fcgi processes running = at once. >>>=20 >>> Thierry >>>=20 >>>=20 >>> Am 09.01.2012 um 13:20 schrieb christophe.billiottet@webdna.us: >>>=20 >>>> Yes, we will check this error and i will be back with informations. = Could it be that you are running extremely busy websites on a single = server, the kind of website that usually run on dedicated servers, and = that one is heavier than the others? i understand the error follows one = of your websites, www.maendli-freizeit.ch, and that the problem appears = when you add this specific website to your servers. >>>>=20 >>>> I also understood the problem appeared Saturday: "We've got 4 = vhosts running v7 since a few weeks without problems - till yesterday." >>>>=20 >>>> - chris >>>>=20 >>>>=20 >>>> On Jan 9, 2012, at 10:07, Thierry Almy wrote: >>>>=20 >>>>> Thanks Chris >>>>>=20 >>>>> On our 2x QuadCore we can handle 2 fcgi processes, on the 2x = 6-Core 4 fcgi processes.=20 >>>>> The next process will bring up the errors on each system. >>>>>=20 >>>>> To be honest, it can't be a solution to set up a VPS for each web = host. We're running more than 100 vhosts, it's just impossible to do it = this way ... >>>>>=20 >>>>> The sem_open error points to a programming problem where the = application doesn't properly close channels after usage ...as far as I = understand it ... but I'm definitely not an application programmer ....=20= >>>>>=20 >>>>> Thierry >>>>>=20 >>>>>=20 >>>>> Am 09.01.2012 um 12:19 schrieb christophe.billiottet@webdna.us: >>>>>=20 >>>>>> I will check this asap with our developer. Meanwhile, not all = hosting solutions are being equals, though the FastCGI should be able to = handle almost any UNIX/LINUX configuration. I personnally prefer the one = chosen by Ken: a single website on a VPS with a light but feature-rich = linux OS like DEBIAN associated with LIGHTTPD webserver -which is faster = and lighter than apache- and has a well-designed FastCGI implementation. = This solution can be very cheap, will run with 128MB of RAM and scales = up easily with fast processors and lots of RAM. >>>>>> The VPS is the natural extension of WebDNA 7: it gives as much = control as a dedicated server for a fraction of the cost, and makes each = website an independant entity with greater efficiency and high level of = security. >>>>>>=20 >>>>>> - chris >>>>>>=20 >>>>>>=20 >>>>>> On Jan 9, 2012, at 8:39, Thierry Almy wrote: >>>>>>=20 >>>>>>> Hi chris >>>>>>>=20 >>>>>>> sorry for the comment ... I take it back ... >>>>>>>=20 >>>>>>> I just want to have an environment which allows me to do my job = (programming). >>>>>>>=20 >>>>>>> Maybe we should leave OS X at all and move to Linux? >>>>>>>=20 >>>>>>>=20 >>>>>>> The last error we had a few weeks ago was because of heavy load = and bad RAM. >>>>>>> After changing the RAM the malloc error was gone. >>>>>>> The sem_open error must have to do something with WebDNA ... = v6.2 and v7 >>>>>>>=20 >>>>>>> Is there anybody else which has seen the sem_open error? >>>>>>>=20 >>>>>>> Thierry >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> --------------------------------------------------------- >>>>>> 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 >>>>>=20 >>>>> --------------------------------------------------------- >>>>> 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 >>>>=20 >>>> --------------------------------------------------------- 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 >>>=20 >>> --------------------------------------------------------- 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 >>=20 >> --------------------------------------------------------- >> 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 >=20 > --------------------------------------------------------- > 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 christophe.billiottet@webdna.us

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:

Help wanted (1998) Editor? (2000) [WebDNA] [OT] the "Work in progress" thread. (2009) Access to shopping cart files (2005) [WebDNA] php/mySQL version of WebDNA Speed Test? (2009) Text limits in NT version? (1997) Orders coming up blank (2004) Web Catalog 2 demo (1997) [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018) Pithy questions on webcommerce & siteedit (1997) Sendmail (2000) OT - New Ti Books (2002) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Bulletin Board.... (2000) webdelivery.html and webna (1997) Wanted: Broader string manipulation functions (1997) Displaying text and populating form fields (2005) Location of Webcat site in folder hierarchy (1997) Encrypting WebDNA Templates and eligible files (1999) Banner Ad Server Solutions Using WEbDNA (2000)