[Zope] image/gif objects sometimes not rendering

Dieter Maurer dieter@handshake.de
Mon, 19 May 2003 22:16:26 +0200


Terry Hancock wrote at 2003-5-18 19:46 -0700:
 > On Sunday 18 May 2003 02:12 pm, Dieter Maurer wrote:
 > > David Hassalevris wrote at 2003-5-16 11:54 -0700:
 > >  > The URLS to the image are hard-coded and do not use aquisition.  That is, I
 > >  > use:
 > >  > <img scr="/Images/imageName"> rather than
 > >  > <img src="ImageName">
 > >  > I mention this last point because I have seen references to
 > >  > aquisition/caching issues affecting image rendering.
 > >  > 
 > >  > The images are GIF files.  I am using Zope 2.6.1
 > >  > 
 > >  > So something is happening.  I am hoping someone has seen this and can give
 > >  > me some tips.
 > > 
 > > I have seen this when Zope has run out of file descriptors.
 > 
 > Interesting. I have seen ImageFile() images (these are taken from the
 > filesystem and not from the ZODB, and are I think just like the ones
 > used in Zope's management interface) which did not work on a
 > FreeBSD server despite working perfectly on Linux. 

The default number of file descriptors is often 64 (which is quite low).

There is a command which can be used to increase the limit.
Its name depends on the shell used. For Bourne shell and derivatives,
it is "ulimit".


Dieter