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:
Where's Cart Created ? (1997)
[WriteFile] problems (1997)
WebCatalog for Postcards ? (1997)
Retaining data (2003)
Problem during evaluation of WebCatalog (1998)
Solve the Problem, get the code! (2001)
WebCatalog can't find database (1997)
RAM variables (1997)
Weird Math and SV (1997)
Showing Results Alphabetically in Columns (top to bottom) (2002)
[OT] Bush's Cyberensive (2003)
View Source from cache (1997)
[TaxableTotal] - not working with AOL and IE (1997)
Some ThankYou page problems (1997)
[shownext max=?] armed (1997)
New command suggestion (1997)
OBJECT (2001)
[sendmail] on NT? (1997)
2.0 Info (1997)
Need help... (1997)