[Zope] image/gif objects sometimes not rendering

Terry Hancock hancock@anansispaceworks.com
Sun, 18 May 2003 19:46:55 -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. 

Changing these to Image() objects -- stored in the ZODB --
solved the problem.  That would seem to confirm the file-
descriptor idea, *if* FreeBSD somehow has more limited
file descriptors.

This was also a "fakeroot jail" system. Is it possible that the file
descriptors would be limited for the whole system rather than
for each jail?

Cheers,
Terry
 
--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks  http://www.anansispaceworks.com