Re: web sites are keep crashing

Babylakshmi Muthusamy <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <CAOgGiVvEb+9ev668KMDAieP1fVqvubCPB2WmhvX2tjpb4u+Cbg@mail.gmail.com>
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 <[email protected]> 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 <[email protected]
> > <mailto:[email protected]>> 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
> >> - [email protected] <mailto:[email protected]>
> > 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-----
>

_______________________________________________
Zope-Dev maillist  -  [email protected]
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 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.