Re: [Zope-dev] Site error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try getting help from a local company in India http://plone.org/support/providers/by-country/in or google "zope consultant india" or so. - -aj Babylakshmi Muthusamy wrote: > Hi, > > I have three web sites hosted in the same server with 4GB RAM and > enough storage. The third web-site hosted recently requires high > processing and heavy scripts are running. Basically one of the script > communicates with 2 databases and fetches the results. The heavy > script runs for 3 minutes. the CPU occupies 183% or more for that > script. Until it complete the script the web-site goes down with > proxy error, where httpd is running and zope is also running. Only > after restarting either zope or httpd, all the three sites are > accessible. Could you please suggest me solutions to optimize the > sites? > > Any pointers in this regard is highly appreciated. > > Thanks and Regards, Babylakshmi > > ___ Zope-Dev maillist - > Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** > No cross posts or HTML encoding! ** (Related lists - > https://mail.zope.org/mailman/listinfo/zope-announce > https://mail.zope.org/mailman/listinfo/zope ) - -- ZOPYX Limited | zopyx group Charlottenstr. 37/1 | The full-service network for Zope & Plone D-72070 Tübingen| Produce & Publish www.zopyx.com | www.produce-and-publish.com - E-Publishing, Python, Zope & Plone development, Consulting -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQGUBAEBAgAGBQJObgaWAAoJEADcfz7u4AZjhUYLvjRLNe4KATeRNVM6xW71epgI MoQaCCRTMouJUYFe34nzLb0n0foYWUd4NAZoHq1fbf7tLc6J/kQ0LMSooqA7R2Gf 5NXZd9MB/I9b19D+IvfE2H4uRniLQNEGqClzOXcPHJH00uO2XnWYl+AdeesQ7s5b LQNxa78Ai3vlSwn3W9yhk5+J0IiRG9EnUkhWj3irlKVOjS7H8XCOergubdbThIDP 8+OCVkwzR8tnPdnRUC94it/15AlW+LxApGDnWoahzeYQChEa8dk3jxTx1k6o0R0a 4DJnGj0BDp3HTVO36VEzjtqn2+J30riO8R/UYg970gNC7WSTPfVYe2vpld879cqc FLoRgWODyXEwhhDkhPLruUsxAZjo1tpy+bIhldGiwxIsb9Q5OQilnxJ1pOZpgNxn CsEH7cAZy5razivX3UWtWiV3Y/mqigGURAPKwMx+lLYGVPpwZePmw7OBaPDtV2CU zen8lsVhz8mkeFmxl/edZ4iGD/bHE0U= =nh4B -END PGP SIGNATURE- <>___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Site error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You were asking that already weeks ago. - -aj Babylakshmi Muthusamy wrote: > Hi, > > I have three web sites hosted in the same server with 4GB RAM and > enough storage. The third web-site hosted recently requires high > processing and heavy scripts are running. Basically one of the script > communicates with 2 databases and fetches the results. The heavy > script runs for 3 minutes. the CPU occupies 183% or more for that > script. Until it complete the script the web-site goes down with > proxy error, where httpd is running and zope is also running. Only > after restarting either zope or httpd, all the three sites are > accessible. Could you please suggest me solutions to optimize the > sites? > > Any pointers in this regard is highly appreciated. > > Thanks and Regards, Babylakshmi > > ___ Zope-Dev maillist - > Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** > No cross posts or HTML encoding! ** (Related lists - > https://mail.zope.org/mailman/listinfo/zope-announce > https://mail.zope.org/mailman/listinfo/zope ) - -- ZOPYX Limited | zopyx group Charlottenstr. 37/1 | The full-service network for Zope & Plone D-72070 Tübingen| Produce & Publish www.zopyx.com | www.produce-and-publish.com - E-Publishing, Python, Zope & Plone development, Consulting -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQGUBAEBAgAGBQJObey4AAoJEADcfz7u4AZj79QLvja01cbD+hume0gQjooLX/9k RO0oFcPqSJrxrPaFmB2SYbevPnCCN3uIaOXcOsqBZM+nO0amTG8qVpUZl/YQP/NK AtXbZXBgNu6cUePgZhQbxRJ/CXq2Uc4e5jWQUdnOttD0YeBHebJsi2e5vUsbxuc9 FzLOr1sDmYkOy5jDr1Y+5w7pbbb1CpoVLy2c46jAzwjtU9f1IRsot1UdLkJHu1DR wEmjmd9mdN/tlyhzEpTT2krCWRTiMMTFt1v3r6jXkHpqssgQ4U8iEIVl/eedbNEr RZ4HIpfQYfN00fCIHgaYsyiYnGVqH3RweeBuJLt7r6e3KNBtH4IVLG77k4ZaAZe8 LLQ9Gl8vR5DHIzV2h/EpG4/pAUgD+1faGRIK31mpfe0sc+9fg2+QdCSkA8Gi7PDh H2QLwgie/AXnpUr6B5hjaYjF3NiWKZ9MqMxV8SLUSyq5NrM65HnYp0UKTTq1xAzq H2rtz2u2VYC4ZWA3cSyIWEJsT3irnWo= =H6l2 -END PGP SIGNATURE- <>___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Site error
Hi, I have three web sites hosted in the same server with 4GB RAM and enough storage. The third web-site hosted recently requires high processing and heavy scripts are running. Basically one of the script communicates with 2 databases and fetches the results. The heavy script runs for 3 minutes. the CPU occupies 183% or more for that script. Until it complete the script the web-site goes down with proxy error, where httpd is running and zope is also running. Only after restarting either zope or httpd, all the three sites are accessible. Could you please suggest me solutions to optimize the sites? Any pointers in this regard is highly appreciated. Thanks and Regards, Babylakshmi ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Site Error
Maybe I just don't see it, but with the latest Archetypes from the CVS I get the following error: Site error This site encountered an error trying to fulfill your request. The errors were: Error Type AttributeError Error Value reference_catalog Request made at 2004/04/06 16:23:41.266 GMT+2 What I found so far is that the reference_catalog problem only occurs in an instance of Project from the ArchGenXMLComplexExample code. Maybe this is a known bug? thanks Andre Dieter Maurer wrote: AP Meyer wrote at 2004-4-2 11:09 +0200: Even more disturbing, however, I frequently get the following error message and am not sure what it means and whether it is related to Plone 2.0/Archetypes 1.2.5-rc2 or just Zope 2.7. Site error This site encountered an error trying to fulfill your request. The errors were: Error Type ValueError Error Value Cache values may only be in one cache. Request made at This is a clear sign of a persistency bug: Persistent objects must not be stored outside of their connection, neither in module global data structure nor as class variables. A few days ago, I fixed two persistency bugs (one major and one minor) in Archetypes CVS HEAD. With these fixes, our AT based products are again refreshable (in fact, the fix for the major bug was already sufficient for this; occurence of the minor bug is unlikely). Let me know should you still have problems with the fixes. -- Dr. Andre P. Meyerhttp://home.hccnet.nl/a.meyer/ TNO FEL Command & Control and Simulation, http://www.fel.tno.nl/div2/ Delft Cooperation on Intelligent Systems, http://www.decis.nl/ -- -- The disclaimer that applies to e-mail from TNO Physics and Electronics Laboratory can be found on: http://www.tno.nl/disclaimer/email.html -- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Site Error
On Apr 2, 2004, at 7:06, AP Meyer wrote: Is this a known bug? Working without automatic refresh is very unhandy ;-) thanks Andre Refresh is *not* a solution for everything because of the gyrations it has to go through to force the refreshing effect. Not everything will work with it, period. If you see weirdness then disable it and see if that helps. jens smime.p7s Description: S/MIME cryptographic signature ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Site Error
Is this a known bug? Working without automatic refresh is very unhandy ;-) thanks Andre btw I also get the following error trace on the Refresh tab of Zope: An exception occurred during the last refresh. Exception type: RuntimeError Exception value: Shouldn't load state for 1778 when the connection is closed Traceback (most recent call last): File "C:\Program Files\Zope-2.7.0\lib\python\App\RefreshFuncs.py", line 182, in performSafeRefresh if not performRefresh(jar, productid): File "C:\Program Files\Zope-2.7.0\lib\python\App\RefreshFuncs.py", line 171, in performRefresh Application.reinstall_product(app, productid) File "C:\Program Files\Zope-2.7.0\lib\python\OFS\Application.py", line 844, in reinstall_product folder_permissions, raise_exc=1, log_exc=0) File "C:\Program Files\Zope-2.7.0\lib\python\OFS\Application.py", line 732, in install_product initmethod(context) File "c:\myZope-2.7\Products\MyContract\__init__.py", line 13, in initialize import Contract File "c:\myZope-2.7\Products\MyContract\Contract.py", line 58, in ? registerType(Contract, PROJECTNAME) File "c:\myZope-2.7\Products\Archetypes\ArchetypeTool.py", line 275, in registerType tc(klass, package) File "c:\myZope-2.7\Products\Archetypes\ArchetypeTool.py", line 847, in cb = lambda klass, package:self.registerType(klass, package) File "C:\Program Files\Zope-2.7.0\lib\python\ZODB\Connection.py", line 551, in setstate raise RuntimeError(msg) RuntimeError: Shouldn't load state for 1778 when the connection is closed Andreas Jung wrote: Try to turn off refreshing for the product (remove refresh.txt). -aj --On Freitag, 2. April 2004 11:09 Uhr +0200 AP Meyer <[EMAIL PROTECTED]> wrote: Hi Zopers The last few days I was fiddling around with Archetypes again and tried the multiValued slot in order to add multiple entries of a field to an instance. This does not seem to work as expected, though. Do I need a newer version of Archetypes or am I doing things wrong? Even more disturbing, however, I frequently get the following error message and am not sure what it means and whether it is related to Plone 2.0/Archetypes 1.2.5-rc2 or just Zope 2.7. Site error This site encountered an error trying to fulfill your request. The errors were: Error Type ValueError Error Value Cache values may only be in one cache. Request made at 2004/04/02 11:02:01.270 GMT+2 thanks for any hints Andre -- Dr. André P. Meyerhttp://home.hccnet.nl/a.meyer/ TNO FEL Command & Control and Simulation, http://www.fel.tno.nl/div2/ Delft Cooperation on Intelligent Systems, http://www.decis.nl/ -- Dr. Andre P. Meyerhttp://home.hccnet.nl/a.meyer/ TNO FEL Command & Control and Simulation, http://www.fel.tno.nl/div2/ Delft Cooperation on Intelligent Systems, http://www.decis.nl/ -- -- The disclaimer that applies to e-mail from TNO Physics and Electronics Laboratory can be found on: http://www.tno.nl/disclaimer/email.html -- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Site Error
Try to turn off refreshing for the product (remove refresh.txt). -aj --On Freitag, 2. April 2004 11:09 Uhr +0200 AP Meyer <[EMAIL PROTECTED]> wrote: Hi Zopers The last few days I was fiddling around with Archetypes again and tried the multiValued slot in order to add multiple entries of a field to an instance. This does not seem to work as expected, though. Do I need a newer version of Archetypes or am I doing things wrong? Even more disturbing, however, I frequently get the following error message and am not sure what it means and whether it is related to Plone 2.0/Archetypes 1.2.5-rc2 or just Zope 2.7. Site error This site encountered an error trying to fulfill your request. The errors were: Error Type ValueError Error Value Cache values may only be in one cache. Request made at 2004/04/02 11:02:01.270 GMT+2 thanks for any hints Andre -- Dr. André P. Meyerhttp://home.hccnet.nl/a.meyer/ TNO FEL Command & Control and Simulation, http://www.fel.tno.nl/div2/ Delft Cooperation on Intelligent Systems, http://www.decis.nl/ ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Site Error
Hi Zopers The last few days I was fiddling around with Archetypes again and tried the multiValued slot in order to add multiple entries of a field to an instance. This does not seem to work as expected, though. Do I need a newer version of Archetypes or am I doing things wrong? Even more disturbing, however, I frequently get the following error message and am not sure what it means and whether it is related to Plone 2.0/Archetypes 1.2.5-rc2 or just Zope 2.7. Site error This site encountered an error trying to fulfill your request. The errors were: Error Type ValueError Error Value Cache values may only be in one cache. Request made at 2004/04/02 11:02:01.270 GMT+2 thanks for any hints Andre -- Dr. André P. Meyerhttp://home.hccnet.nl/a.meyer/ TNO FEL Command & Control and Simulation, http://www.fel.tno.nl/div2/ Delft Cooperation on Intelligent Systems, http://www.decis.nl/ -- -- The disclaimer that applies to e-mail from TNO Physics and Electronics Laboratory can be found on: http://www.tno.nl/disclaimer/email.html -- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )