web sites are keep crashing
Hi All, We have hosted 3 websites in a single web server with 4GB RAM. All the three sites were built using zope. Almost every day the sites are crashing with 504-proxy error. The sites are up when i restart the httpd and zope. Why this happens all the time? Your help on fixing this issue is greatly appreciated. Thanks and regards, Babylakshmi
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The first thing is provide accurate information like information from tracebacks, core dump files etc. - -aj Babylakshmi Muthusamy wrote:
Hi All,
We have hosted 3 websites in a single web server with 4GB RAM. All the three sites were built using zope. Almost every day the sites are crashing with 504-proxy error. The sites are up when i restart the httpd and zope. Why this happens all the time? Your help on fixing this issue is greatly 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/ iQGUBAEBAgAGBQJOVKl1AAoJEADcfz7u4AZjM34LwJuhrCrec1zeYpVOS33MHlqb AWRYYzR/hok0PyWubNzCG8vguEliSjSCJekBzlGRfUTbP6iK4y2VMddOj3SEbzmz PnOvZrbsOtt2pO/P8T1n6hM3X6Hrg148D5ZmA0SdsW8Gw6My1b8bJq9PQw6n0K6N rhZLai/LWLmhIL01TZl/N1bh6+BYiLoN1HlcAjmP4zAGMtYK6caRQeJDgETb4LRL bGkkEWx91aJP0RDL/Tgmq7zM/nQR/aWji+BIcpP8esdoz/PeVsZ8HHR5t1fovJYj nfoSQVp53aVUyVc8MklLujGmHuJaroWDx901E36ecVhR6rQ+BG5CtTdXZ/y1JuGo 8EpfCSj/BD/3jTY1v9tbUM/vICp79FRjNIMeTLxLJIRP0MCbyc+UE4s18mma727+ IX6TfQtYAxgUhY77t7Qm5N8z2Oeoq6hDKQBhvnAhT+vOlssWXhMiSQ6Tv48/lT6y Kyx+0kmCRrdajbCcdrWS+h7i2bx1HJM= =wvGR -----END PGP SIGNATURE-----
Hi aj, Thanks for the immediate reply. I am a newbie for zope. I don't know from where we can get those files. Could you please help me providing file paths? Thanks, Babylakshmi On Wed, Aug 24, 2011 at 1:04 PM, Andreas Jung <lists@zopyx.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The first thing is provide accurate information like information from tracebacks, core dump files etc.
- -aj
Babylakshmi Muthusamy wrote:
Hi All,
We have hosted 3 websites in a single web server with 4GB RAM. All the three sites were built using zope. Almost every day the sites are crashing with 504-proxy error. The sites are up when i restart the httpd and zope. Why this happens all the time? Your help on fixing this issue is greatly 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/
iQGUBAEBAgAGBQJOVKl1AAoJEADcfz7u4AZjM34LwJuhrCrec1zeYpVOS33MHlqb AWRYYzR/hok0PyWubNzCG8vguEliSjSCJekBzlGRfUTbP6iK4y2VMddOj3SEbzmz PnOvZrbsOtt2pO/P8T1n6hM3X6Hrg148D5ZmA0SdsW8Gw6My1b8bJq9PQw6n0K6N rhZLai/LWLmhIL01TZl/N1bh6+BYiLoN1HlcAjmP4zAGMtYK6caRQeJDgETb4LRL bGkkEWx91aJP0RDL/Tgmq7zM/nQR/aWji+BIcpP8esdoz/PeVsZ8HHR5t1fovJYj nfoSQVp53aVUyVc8MklLujGmHuJaroWDx901E36ecVhR6rQ+BG5CtTdXZ/y1JuGo 8EpfCSj/BD/3jTY1v9tbUM/vICp79FRjNIMeTLxLJIRP0MCbyc+UE4s18mma727+ IX6TfQtYAxgUhY77t7Qm5N8z2Oeoq6hDKQBhvnAhT+vOlssWXhMiSQ6Tv48/lT6y Kyx+0kmCRrdajbCcdrWS+h7i2bx1HJM= =wvGR -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Look at the event.log file (or however it is called on your installation). In general find your 'log' folder first (sniff into your zope.conf file to figure out the location). - -aj Babylakshmi Muthusamy wrote:
Hi aj,
Thanks for the immediate reply. I am a newbie for zope. I don't know from where we can get those files. Could you please help me providing file paths?
Thanks, Babylakshmi
On Wed, Aug 24, 2011 at 1:04 PM, Andreas Jung <lists@zopyx.com <mailto:lists@zopyx.com>> wrote:
The first thing is provide accurate information like information from tracebacks, core dump files etc.
-aj
Babylakshmi Muthusamy wrote:
Hi All,
We have hosted 3 websites in a single web server with 4GB RAM. All the three sites were built using zope. Almost every day the sites are crashing with 504-proxy error. The sites are up when i restart the httpd and zope. Why this happens all the time? Your help on fixing this issue is greatly appreciated.
Thanks and regards, Babylakshmi
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org <mailto: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/ iQGUBAEBAgAGBQJOVMYTAAoJEADcfz7u4AZjHZ4LwJNocbnPGOLo/vbUQ4DtCTSh sBgfl8vM+WqnxwGJwClr+fU0672UKhRwZKWOATBPis1Fkc2Oxj1QXSJfDZqPJ5Dk rMUDCL3ImnOTfIxYkLV0CDp3P/KpDyZSBYFFsR5JURop0F9BNsaUFFWp1OUtaNSr Rsr7CZIjZVEfGaSJBNmxz7+uE3DjRoZyqXZdkDVH2FtZO02RvFQjjVqguqGmeN1E m8OziajlGLw0Ll6xU+OtP10Y9P8Y9AGznsY+msGeqngyRZZSQL4XXsUIpMVXW9Cy f1BP2FSA0kNo01BGzR9EzBssvoKxiL2W7FPP87VM+8SU4wHGzPmHzYXri47tydpb 9qMGS3RCAOCBw001u+FxqOOLScNjnoYK/DTMz2KxQ/2pvaDxqnhl5BN/zHueo5ur cnqPDYAMcQmpqGVhy9uvRu4AHWR0ARARNYFsdtrf209gO16so0HOcmSW1EikrxJT udYCcFVG9uB6BNekhNTmRpxizsFoKLs= =xKDv -----END PGP SIGNATURE-----
Hi AJ, Thank you for your reply. I checked the error logs and found that site is showing proxy error rather than showing 'site error' where there were programmatic bugs. In the error log below, there is a image file missing. This breaks the site and shows 502 proxy error. I would like to know whether we can change the proxy error to site error which wont affect the uptime of the site. Thanks, Babylakshmi ----- 2011-08-24T18:48:25 ERROR Zope.SiteErrorLog http://www.plasmaproteomedatabase.org/molecule_page Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module OFS.DTMLMethod, line 144, in __call__ - <DTMLMethod at /sites/PPD_new/molecule_page> - URL: http://www.plasmaproteomedatabase.org/molecule_page/manage_main - Physical Path: /sites/PPD_new/molecule_page Module DocumentTemplate.DT_String, line 476, in __call__ Module DocumentTemplate.DT_Util, line 196, in eval - __traceback_info__: Fetch_Graph Module <string>, line 1, in <expression> Module Products.ExternalMethod.ExternalMethod, line 225, in __call__ - __traceback_info__: (('HPRD_00981', 'HPRD_00981_2'), {}, None) Module /usr/local/zope/ZoPe/lib/python/Products/PPD/Extensions/Fetch_Graph.py, line 87, in Fetch_Graph Module /usr/local/zope/ZoPe/lib/python/Products/PPD/Extensions/Fetch_Graph.py, line 349, in Make_Graph Module PIL.Image, line 1717, in open IOError: [Errno 2] No such file or directory: '/usr/local/zope/PPD/architecture/domains/IL4.png' ---- On Wed, Aug 24, 2011 at 3:06 PM, Andreas Jung <lists@zopyx.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Look at the event.log file (or however it is called on your installation). In general find your 'log' folder first (sniff into your zope.conf file to figure out the location).
- -aj
Babylakshmi Muthusamy wrote:
Hi aj,
Thanks for the immediate reply. I am a newbie for zope. I don't know from where we can get those files. Could you please help me providing file paths?
Thanks, Babylakshmi
On Wed, Aug 24, 2011 at 1:04 PM, Andreas Jung <lists@zopyx.com <mailto:lists@zopyx.com>> wrote:
The first thing is provide accurate information like information from tracebacks, core dump files etc.
-aj
Babylakshmi Muthusamy wrote:
Hi All,
We have hosted 3 websites in a single web server with 4GB RAM. All the three sites were built using zope. Almost every day the sites are crashing with 504-proxy error. The sites are up when i restart the httpd and zope. Why this happens all the time? Your help on fixing this issue is greatly appreciated.
Thanks and regards, Babylakshmi
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org <mailto: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/
iQGUBAEBAgAGBQJOVMYTAAoJEADcfz7u4AZjHZ4LwJNocbnPGOLo/vbUQ4DtCTSh sBgfl8vM+WqnxwGJwClr+fU0672UKhRwZKWOATBPis1Fkc2Oxj1QXSJfDZqPJ5Dk rMUDCL3ImnOTfIxYkLV0CDp3P/KpDyZSBYFFsR5JURop0F9BNsaUFFWp1OUtaNSr Rsr7CZIjZVEfGaSJBNmxz7+uE3DjRoZyqXZdkDVH2FtZO02RvFQjjVqguqGmeN1E m8OziajlGLw0Ll6xU+OtP10Y9P8Y9AGznsY+msGeqngyRZZSQL4XXsUIpMVXW9Cy f1BP2FSA0kNo01BGzR9EzBssvoKxiL2W7FPP87VM+8SU4wHGzPmHzYXri47tydpb 9qMGS3RCAOCBw001u+FxqOOLScNjnoYK/DTMz2KxQ/2pvaDxqnhl5BN/zHueo5ur cnqPDYAMcQmpqGVhy9uvRu4AHWR0ARARNYFsdtrf209gO16so0HOcmSW1EikrxJT udYCcFVG9uB6BNekhNTmRpxizsFoKLs= =xKDv -----END PGP SIGNATURE-----
On Thu, Aug 25, 2011 at 10:34, Babylakshmi Muthusamy <babylakshmimani@gmail.com> wrote:
I would like to know whether we can change the proxy error to site error which wont affect the uptime of the site.
By default the proxy you have in front (Apache?) should not show 502 in these cases. This may be a problem in the configuration of that proxy. It could also be that the Zope application you have catches the error and then returns an empty response instead of the normal error page. In that case the application needs to be fixed. //Lennart
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Babylakshmi Muthusamy wrote:
/usr/local/zope/ZoPe/lib/python/Products/PPD/Extensions/Fetch_Graph.py,
line 349, in Make_Graph
Module PIL.Image, line 1717, in open IOError: [Errno 2] No such file or directory: '/usr/local/zope/PPD/architecture/domains/IL4.png' ----
This is not a Zope issue but obviously a problem of your application trying to load an image from the filesystem for processing through PIL. I doubt that there is nothing we can do...your application, your code... But I doubt that this error would cause a Zope shutdown or something similar. Such errors are usually logged and the worker thread continues to work with the next request. Such an error is not typical for a fatal Zope server failure. - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQGUBAEBAgAGBQJOViWsAAoJEADcfz7u4AZjrEMLugK4mb0HltgWBnfbdM3wYDh4 8Wmad/SD0HEHRqrvtZSZTSiKvDMKcQJu4FVyksRcU/VKCk3UzHcdfoVV/zk3uzfN GbBgI5e4qO3xtctbt9VX5jcscOXoh8/BMB6YMlaM+AfzlO8riihzKg3TYOLSr1Jp 3pBC5lkOZSJ9E7QaEG6cWEt0fYzzJwN4ziWGURl7g4CrQdnm8Yvpx39bdA2xv+wt jw2/gxbYU8lFwhZ+olRYpw/48OCdBzf9bOlE9cL/ZDUbp2vTGR35ZcPlOxo8OU6s FldDZyg3IvlA4jnpib2oQid7Pt+dcUM4EYjusQwZlrXx8s26GTa4Q0d9XvMcxvto LdXoDFUoFVwtOm6hBvxaggSr7lniJ6tfM6kxVRlZ4ypndFHAL0baq4J2nqNhJu6G PGV1g/B3DYZM00/8Vfu7RQ4o6bHOULDX59ZRPdwAZ1qKlTjUC17H6RqQQ7AKGiP1 vYut2/6bcsfCHJYn5yV1ib+pMy1n5x0= =zMXp -----END PGP SIGNATURE-----
Hi AJ, I have moved one of the site's database from ZODB to mysql. Should I have to change any of the configuration? Thanks, Babylakshmi On Thu, Aug 25, 2011 at 4:06 PM, Andreas Jung <lists@zopyx.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Babylakshmi Muthusamy wrote:
/usr/local/zope/ZoPe/lib/python/Products/PPD/Extensions/Fetch_Graph.py,
line 349, in Make_Graph
Module PIL.Image, line 1717, in open IOError: [Errno 2] No such file or directory: '/usr/local/zope/PPD/architecture/domains/IL4.png' ----
This is not a Zope issue but obviously a problem of your application trying to load an image from the filesystem for processing through PIL. I doubt that there is nothing we can do...your application, your code... But I doubt that this error would cause a Zope shutdown or something similar. Such errors are usually logged and the worker thread continues to work with the next request. Such an error is not typical for a fatal Zope server failure.
- -aj
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQGUBAEBAgAGBQJOViWsAAoJEADcfz7u4AZjrEMLugK4mb0HltgWBnfbdM3wYDh4 8Wmad/SD0HEHRqrvtZSZTSiKvDMKcQJu4FVyksRcU/VKCk3UzHcdfoVV/zk3uzfN GbBgI5e4qO3xtctbt9VX5jcscOXoh8/BMB6YMlaM+AfzlO8riihzKg3TYOLSr1Jp 3pBC5lkOZSJ9E7QaEG6cWEt0fYzzJwN4ziWGURl7g4CrQdnm8Yvpx39bdA2xv+wt jw2/gxbYU8lFwhZ+olRYpw/48OCdBzf9bOlE9cL/ZDUbp2vTGR35ZcPlOxo8OU6s FldDZyg3IvlA4jnpib2oQid7Pt+dcUM4EYjusQwZlrXx8s26GTa4Q0d9XvMcxvto LdXoDFUoFVwtOm6hBvxaggSr7lniJ6tfM6kxVRlZ4ypndFHAL0baq4J2nqNhJu6G PGV1g/B3DYZM00/8Vfu7RQ4o6bHOULDX59ZRPdwAZ1qKlTjUC17H6RqQQ7AKGiP1 vYut2/6bcsfCHJYn5yV1ib+pMy1n5x0= =zMXp -----END PGP SIGNATURE-----
Am 26.08.2011, 15:27 Uhr, schrieb Babylakshmi Muthusamy <babylakshmimani@gmail.com>:
Hi AJ, I have moved one of the site's database from ZODB to mysql. Should I have to change any of the configuration?
Hi Babylakshimani, that change has nothing to do with the problem. Does your Zope-user have access to files in /usr/local/zope/PPD/architecture/domains/ BTW. as you say you are new to Zope, what documentation have you been given. Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-600-3657 Mobile: +49-178-782-6226
participants (4)
-
Andreas Jung -
Babylakshmi Muthusamy -
Charlie Clark -
Lennart Regebro