Re: [WebDNA] Processor Maxing out
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105012
interpreted = N
texte = Donovan,I know you're a busy guy. Thanks for the help.=20PowerMac G5 1.8/3GB/PPCOS X.4.11 ServerCommerce Edition 6.0aSites are SiteBuilder sitesUsing Authorize.net CC VerificationWebDNA server is running as rootOn Mar 8, 2010, at 4:42 PM, Donovan Brooke wrote:> Well, that's a starting place. I'm not sure what you mean exactly by ="disabling" the sites, you usually get a "Page not found" right?> Where is the "site not found" error coming from.. webdna?No, in the browser. I actually renamed the site builder folders so =apache couldn't find them at all.=20>=20> Anyway, regardless.. the idea was find out if the problem was> code or not and, if there was no chance that a bot, browser, trigger,> curl etc.. are hitting any WebDNA code once the engine is restarted,> and WebDNA still pegs to 100%, then the problem is not code because> no code is getting hit.>=20> The problem no is something core to the engine function.>=20> Maybe permissions mixed with WebDNA trying to access something.> WebDNA needs write> access to anything that it will write to.. so make sure the> email folders (for example) have write permissions.. ie:>=20> 755 for directories, 644 for files. Then make sure the group for> everyone (directories and files in both the WebCatalogEngine and> WebCatalog folder) are www. You can tighten up your permissions later> after you get this fixed if you like. So, all SiteBuilder sites for> example will need to follow the above setup.>=20> sudo chown -R www:www *I've done this except when I used www:www, the email quit working. Had =to change it back to root:www for email to work again.=20web1:/library/webserver/cgi-executables/webcatalogengine root# ls -latotal 126880drwxrwxr-x 52 systems www 1768 Mar 8 20:32 .drwxrwxr-x 3 root admin 102 Mar 7 01:00 ..drwxrwxr-x 29 root www 986 Feb 16 2004 Admin-rwxrwxr-x 1 root www 140 Feb 16 2004 Browser Info.txt-rwxrwxr-x 1 root www 309 Feb 16 2004 CacheSizePrefs-rw-rw---- 1 root www 2 Nov 30 2008 DomainListdrwxrwxr-x 396 root www 13464 Mar 8 15:41 EMailCompleteddrwxrwxr-x 2 root www 68 Mar 8 15:41 EMailFolderdrwxrwxr-x 3 root www 102 Nov 3 2008 EMailLogdrwxrwxr-x 7 root www 238 Feb 27 15:17 EMailProblem-rw-rw---- 1 root www 66 Mar 5 09:37 EmailerPrefsHere's the StoreBuilder settings:web1:/library/webserver/documents/webcatalog/storebuilder root# ls -latotal 64drwxrwxr-x 15 systems www 510 Mar 8 15:02 .drwxrwxr-x 41 systems www 1394 Mar 8 01:01 ..-rw-rw-r-- 1 systems www 6148 Mar 8 15:08 .DS_Store-rwxrwxr-x 1 root www 2909 Nov 15 2007 Default.tpl-rw-rw-rw- 1 root www 576 Mar 8 10:39 ErrorLog.txtdrwxrwxr-x 73 root www 2482 Feb 23 21:31 EyeDirectdrwxrwxr-x 62 root www 2108 Feb 25 01:00 MASTER_STOREdrwxrwxr-x 68 root www 2312 Mar 5 08:24 SterzingChips-rwxrwxr-x 1 root www 393 Nov 15 2007 ViewStores.inc-rwxrwxr-x 1 root www 5685 Nov 15 2007 build.tpldrwxr-xr-x 62 root www 2108 Mar 3 14:06 dmchumanesociety-rwxrwxr-x 1 root www 506 Nov 15 2007 list_files.incHeres a sample from the site I have been working on:web1:/library/webserver/documents/webcatalog/storebuilder/sterzingchips =root# ls -latotal 520drwxrwxr-x 68 root www 2312 Mar 5 08:24 .drwxrwxr-x 15 systems www 510 Mar 8 15:02 ..-rw-rw-r-- 1 root www 5379 Jun 5 2009 CheckUser.tpl-rw-rw-rw- 1 root www 3437 Mar 8 13:19 ErrorLog.txt-rw-rw-r-- 1 root www 52 Jun 5 2009 Formulas.dbdrwxrwxr-x 69 root www 2346 Mar 8 20:40 ShoppingCartsdrwxrwxr-x 49 root www 1666 Mar 8 20:07 WebMerchantdrwxrwxr-x 31 root www 1054 Feb 8 16:31 additionalpages-rwxr-xr-x 1 root www 2928 Feb 23 13:56 animated_favicon1.gif-rw-rw-r-- 1 root www 6519 Jun 5 2009 country_codes.db-rw-rw---- 1 root www 2610 Mar 7 16:16 customer.dbdrwxrwxr-x 69 root www 2346 Mar 4 01:02 data-rwxrwxr-x 1 root www 11234 Feb 24 14:06 default.tpl>=20> will allow you to make some speed of permission changes.>=20> Lastly, out of curiousity, what result do you get when you do a:>=20> httpd -v>=20> in your terminal?Server version: Apache/1.3.41 (Darwin)Server built: Feb 22 2008 09:40:00
Associated Messages, from the most recent to the oldest:
Donovan,I know you're a busy guy. Thanks for the help.=20PowerMac G5 1.8/3GB/PPCOS X.4.11 ServerCommerce Edition 6.0aSites are SiteBuilder sitesUsing Authorize.net CC VerificationWebDNA server is running as rootOn Mar 8, 2010, at 4:42 PM, Donovan Brooke wrote:> Well, that's a starting place. I'm not sure what you mean exactly by ="disabling" the sites, you usually get a "Page not found" right?> Where is the "site not found" error coming from.. webdna?No, in the browser. I actually renamed the site builder folders so =apache couldn't find them at all.=20>=20> Anyway, regardless.. the idea was find out if the problem was> code or not and, if there was no chance that a bot, browser, trigger,> curl etc.. are hitting any WebDNA code once the engine is restarted,> and WebDNA still pegs to 100%, then the problem is not code because> no code is getting hit.>=20> The problem no is something core to the engine function.>=20> Maybe permissions mixed with WebDNA trying to access something.> WebDNA needs write> access to anything that it will write to.. so make sure the> email folders (for example) have write permissions.. ie:>=20> 755 for directories, 644 for files. Then make sure the group for> everyone (directories and files in both the WebCatalogEngine and> WebCatalog folder) are www. You can tighten up your permissions later> after you get this fixed if you like. So, all SiteBuilder sites for> example will need to follow the above setup.>=20> sudo chown -R www:www *I've done this except when I used www:www, the email quit working. Had =to change it back to root:www for email to work again.=20web1:/library/webserver/cgi-executables/webcatalogengine root# ls -latotal 126880drwxrwxr-x 52 systems www 1768 Mar 8 20:32 .drwxrwxr-x 3 root admin 102 Mar 7 01:00 ..drwxrwxr-x 29 root www 986 Feb 16 2004 Admin-rwxrwxr-x 1 root www 140 Feb 16 2004 Browser Info.txt-rwxrwxr-x 1 root www 309 Feb 16 2004 CacheSizePrefs-rw-rw---- 1 root www 2 Nov 30 2008 DomainListdrwxrwxr-x 396 root www 13464 Mar 8 15:41 EMailCompleteddrwxrwxr-x 2 root www 68 Mar 8 15:41 EMailFolderdrwxrwxr-x 3 root www 102 Nov 3 2008 EMailLogdrwxrwxr-x 7 root www 238 Feb 27 15:17 EMailProblem-rw-rw---- 1 root www 66 Mar 5 09:37 EmailerPrefsHere's the StoreBuilder settings:web1:/library/webserver/documents/webcatalog/storebuilder root# ls -latotal 64drwxrwxr-x 15 systems www 510 Mar 8 15:02 .drwxrwxr-x 41 systems www 1394 Mar 8 01:01 ..-rw-rw-r-- 1 systems www 6148 Mar 8 15:08 .DS_Store-rwxrwxr-x 1 root www 2909 Nov 15 2007 Default.tpl-rw-rw-rw- 1 root www 576 Mar 8 10:39 ErrorLog.txtdrwxrwxr-x 73 root www 2482 Feb 23 21:31 EyeDirectdrwxrwxr-x 62 root www 2108 Feb 25 01:00 MASTER_STOREdrwxrwxr-x 68 root www 2312 Mar 5 08:24 SterzingChips-rwxrwxr-x 1 root www 393 Nov 15 2007 ViewStores.inc-rwxrwxr-x 1 root www 5685 Nov 15 2007 build.tpldrwxr-xr-x 62 root www 2108 Mar 3 14:06 dmchumanesociety-rwxrwxr-x 1 root www 506 Nov 15 2007 list_files.incHeres a sample from the site I have been working on:web1:/library/webserver/documents/webcatalog/storebuilder/sterzingchips =root# ls -latotal 520drwxrwxr-x 68 root www 2312 Mar 5 08:24 .drwxrwxr-x 15 systems www 510 Mar 8 15:02 ..-rw-rw-r-- 1 root www 5379 Jun 5 2009 CheckUser.tpl-rw-rw-rw- 1 root www 3437 Mar 8 13:19 ErrorLog.txt-rw-rw-r-- 1 root www 52 Jun 5 2009
formulas.dbdrwxrwxr-x 69 root www 2346 Mar 8 20:40 ShoppingCartsdrwxrwxr-x 49 root www 1666 Mar 8 20:07 WebMerchantdrwxrwxr-x 31 root www 1054 Feb 8 16:31 additionalpages-rwxr-xr-x 1 root www 2928 Feb 23 13:56 animated_favicon1.gif-rw-rw-r-- 1 root www 6519 Jun 5 2009 country_codes.db-rw-rw---- 1 root www 2610 Mar 7 16:16 customer.dbdrwxrwxr-x 69 root www 2346 Mar 4 01:02 data-rwxrwxr-x 1 root www 11234 Feb 24 14:06 default.tpl>=20> will allow you to make some speed of permission changes.>=20> Lastly, out of curiousity, what result do you get when you do a:>=20> httpd -v>=20> in your terminal?Server version: Apache/1.3.41 (Darwin)Server built: Feb 22 2008 09:40:00
Tony Miller
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:
need some help with a loop [nested search?] (1999)
WebCat2: Items xx to xx shown, etc. (1997)
best way to test for the existence of a parameter in a url (2003)
Hideif on IP range (2004)
WebCatalog complains that the service is not running. (1998)
Looking for a Manual (1997)
YACBQ.....(Yet another checkbox question) (2000)
A little syntax help (1997)
Payments -> Bank Accounts (2005)
[WebDNA] seconds_to_time (2017)
Look out kiwis! (2003)
Error -108 (1997)
Number searching/formats (1998)
NT IIS number of files limit (2003)
Credit Card Number Stripping Digit (1997)
[isfile] ? (1997)
WebCatalog/Mac 2.1b2 New Features (1997)
Sku numbers (1997)
Web Catalog 2 demo (1997)
Protect Tag and Groups (1998)