Re: [WebDNA] WebDNA 7 multiple fcgid processes

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108802
interpreted = N
texte = > your configuration looks good. Simple WebDNA code cannot start a = second instance. I can see three explanations > - when you added "DefaultMaxClassProcessCount 1" to your = configuration, you did not restart apache I can rule this out > - apache has been restarted, and for a reason i do not know, the = running FastCGI did not stop and start. Instead, apache started a second = instance I always check the processes immediately after restarting, so I think = this one can be ruled out as well > - Ubuntu 11 has a setup that overrides the DefaultMaxClassProcessCount maybe that's what I need to be looking at Any differences in using mod_fcgid over mod_fastcgi? Do you think it = would be worthwhile to try a different configuration with fastcgi = instead? Another thing to note.... On the Dreamhost Debian VPS I was working with a while back, I found = that a WebDNA.fcgi instance was created for each template extension that = was accessed. This had something to do with the poor apache config, but = I was able to hack around by only calling the fcgi process for .dna = extensions. =20 =20 >=20 > - chris >=20 >=20 > On Mar 7, 2012, at 17:46, aaronmichaelmusic@gmail.com wrote: >=20 >> A couple times in the last two months a client has called to complain = about database changes reverting. I logged into the server and saw that = two fcgid processes were active for the same domain. I don't understand = how and why this happens now seemingly randomly. I have not been able = to reproduce the error myself, trying a bunch of things to 'break' it. = The site contains both public and private (back-end) applications, so = there is a decent amount of traffic and database requests. Whereas I = have another site on the same server that is managing massive amounts of = data, daily, that hasn't had this problem but is only being used = privately. >>=20 >> Some of the back-end systems in this project were written by another = programmer several years ago. This legacy system apparently specified = all db changes to be committed only when instructed, as there are = [close] and [commit] tags used throughout. I'm using the directive = 'automatically commit to disk' though. >>=20 >> The site is hosted on an Ubuntu 11 VPS with Apache =20 >> the build is 7.0.594 >>=20 >> the global Apache configuration is plain vanilla >>=20 >> There are 4 production sites currently on the server all using the = same configuration schema. =20 >>=20 >> I've included the configuration below, no .htaccess files are = currently used with this domain. >>=20 >> I'm just looking for a bit of insight into how new WebDNA fcgi = processes are initialized, if my configuration is well-formed, and if it = is possible for code to somehow cause problems in this regard. >>=20 >>=20 >>=20 >> >> ServerAdmin info@peruopportunity.org >> ServerName www.peruopportunity.org >> ServerAlias peruopportunity.org >>=20 >> DocumentRoot /var/www/www.peruopportunity.org >>=20 >> >> Options +Indexes FollowSymLinks +ExecCGI >> AllowOverride All AuthConfig FileInfo >> Order allow,deny >> Allow from all >> DirectoryIndex index.dna index.html index.tpl >> >>=20 >> >> AddType text/html .tpl .dna .htm .html >> >>=20 >> >> DefaultMaxClassProcessCount 1 >> AddHandler fcgid-script .tpl .dna .htm .html >> FcgidWrapper = /var/www/www.peruopportunity.org/WebDNA/WebDNA.fcgi .tpl >> FcgidWrapper = /var/www/www.peruopportunity.org/WebDNA/WebDNA.fcgi .dna >> FcgidWrapper = /var/www/www.peruopportunity.org/WebDNA/WebDNA.fcgi .htm >> FcgidWrapper = /var/www/www.peruopportunity.org/WebDNA/WebDNA.fcgi .html >> >>=20 >> >> RewriteEngine on >> RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]= >> >>=20 >> >> deny from all >> >>=20 >> >> deny from all >> >>=20 >> ErrorLog /var/www/www.peruopportunity.org/logs/error.log >>=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] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  2. Re: [WebDNA] WebDNA 7 multiple fcgid processes (christophe.billiottet@webdna.us 2012)
  3. Re: [WebDNA] WebDNA 7 multiple fcgid processes (WebDNA Solutions 2012)
  4. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  5. Re: [WebDNA] WebDNA 7 multiple fcgid processes (christophe.billiottet@webdna.us 2012)
  6. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  7. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  8. Re: [WebDNA] WebDNA 7 multiple fcgid processes (christophe.billiottet@webdna.us 2012)
  9. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  10. Re: [WebDNA] WebDNA 7 multiple fcgid processes (christophe.billiottet@webdna.us 2012)
  11. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  12. Re: [WebDNA] WebDNA 7 multiple fcgid processes (christophe.billiottet@webdna.us 2012)
  13. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  14. Re: [WebDNA] WebDNA 7 multiple fcgid processes (christophe.billiottet@webdna.us 2012)
  15. Re: [WebDNA] WebDNA 7 multiple fcgid processes (Govinda 2012)
  16. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  17. Re: [WebDNA] WebDNA 7 multiple fcgid processes (Govinda 2012)
  18. [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
> your configuration looks good. Simple WebDNA code cannot start a = second instance. I can see three explanations > - when you added "DefaultMaxClassProcessCount 1" to your = configuration, you did not restart apache I can rule this out > - apache has been restarted, and for a reason i do not know, the = running FastCGI did not stop and start. Instead, apache started a second = instance I always check the processes immediately after restarting, so I think = this one can be ruled out as well > - Ubuntu 11 has a setup that overrides the DefaultMaxClassProcessCount maybe that's what I need to be looking at Any differences in using mod_fcgid over mod_fastcgi? Do you think it = would be worthwhile to try a different configuration with fastcgi = instead? Another thing to note.... On the Dreamhost Debian VPS I was working with a while back, I found = that a WebDNA.fcgi instance was created for each template extension that = was accessed. This had something to do with the poor apache config, but = I was able to hack around by only calling the fcgi process for .dna = extensions. =20 =20 >=20 > - chris >=20 >=20 > On Mar 7, 2012, at 17:46, aaronmichaelmusic@gmail.com wrote: >=20 >> A couple times in the last two months a client has called to complain = about database changes reverting. I logged into the server and saw that = two fcgid processes were active for the same domain. I don't understand = how and why this happens now seemingly randomly. I have not been able = to reproduce the error myself, trying a bunch of things to 'break' it. = The site contains both public and private (back-end) applications, so = there is a decent amount of traffic and database requests. Whereas I = have another site on the same server that is managing massive amounts of = data, daily, that hasn't had this problem but is only being used = privately. >>=20 >> Some of the back-end systems in this project were written by another = programmer several years ago. This legacy system apparently specified = all db changes to be committed only when instructed, as there are = [close] and [commit] tags used throughout. I'm using the directive = 'automatically commit to disk' though. >>=20 >> The site is hosted on an Ubuntu 11 VPS with Apache =20 >> the build is 7.0.594 >>=20 >> the global Apache configuration is plain vanilla >>=20 >> There are 4 production sites currently on the server all using the = same configuration schema. =20 >>=20 >> I've included the configuration below, no .htaccess files are = currently used with this domain. >>=20 >> I'm just looking for a bit of insight into how new WebDNA fcgi = processes are initialized, if my configuration is well-formed, and if it = is possible for code to somehow cause problems in this regard. >>=20 >>=20 >>=20 >> >> ServerAdmin info@peruopportunity.org >> ServerName www.peruopportunity.org >> ServerAlias peruopportunity.org >>=20 >> DocumentRoot /var/www/www.peruopportunity.org >>=20 >> >> Options +Indexes FollowSymLinks +ExecCGI >> AllowOverride All AuthConfig FileInfo >> Order allow,deny >> Allow from all >> DirectoryIndex index.dna index.html index.tpl >> >>=20 >> >> AddType text/html .tpl .dna .htm .html >> >>=20 >> >> DefaultMaxClassProcessCount 1 >> AddHandler fcgid-script .tpl .dna .htm .html >> FcgidWrapper = /var/www/www.peruopportunity.org/WebDNA/WebDNA.fcgi .tpl >> FcgidWrapper = /var/www/www.peruopportunity.org/WebDNA/WebDNA.fcgi .dna >> FcgidWrapper = /var/www/www.peruopportunity.org/WebDNA/WebDNA.fcgi .htm >> FcgidWrapper = /var/www/www.peruopportunity.org/WebDNA/WebDNA.fcgi .html >> >>=20 >> >> RewriteEngine on >> RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]= >> >>=20 >> >> deny from all >> >>=20 >> >> deny from all >> >>=20 >> ErrorLog /var/www/www.peruopportunity.org/logs/error.log >>=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 aaronmichaelmusic@gmail.com

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:

ups quickcost [repost] (1999) win2003 server (Web, standard, small business, edition) (2005) emailer (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Re: (1997) Country & Ship-to address & other fields ? (1997) Reversed words (1997) CommandSecurity? (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) Re:2nd WebCatalog2 Feature Request (1996) SiteEdit NewFile.html ? (1997) Invisible files (2002) No luck with taxes (1997) Help formatting search results w/ table (1997) New WebDNA Solutions ... (1997) Bug alert! (1997) Permissions with 3.06 Linux (2000) WebCatalog can't find database (1997) Spiders and Bots (2000) Possible Bug 4.51 (2004)