No subject


Tue Jun 9 06:25:15 EDT 2009


> [magick-users] ImageMagick temporary files
>
> duc.sequere.aut.de.via.decede at imagemagick.org=A0duc.sequere.aut.de.via=
.decede at imagemagick.org
>
> Wed Jan 9 12:12:54 PST 2008
> _______________________________
>
> > magick-* files filling up /tmp
>
> ImageMagick creates temporary files for a number of reasons including
> when dealing with delegates or if the image size exceeds the memory limit=
s.
> If the program exits gracefully these temporary files should be cleaned u=
p on
> exit. =A0If not, try upgrading to a recent version of ImageMagick. =A0Use
> MAGICK_TMPDIR to write temporary files to a path other than the system de=
fault.

On Tue, Jun 9, 2009 at 7:11 AM, Samuel Klein <meta.sj at gmail.com> wrote:
>
> Thanks S. =A0 I think thumbnailing problems are related to having turned
> off Imagemagick. =A0Here's the relevant section of the LocalSettings
> file:
>
> ## Imagemagick is broken and is filling up /tmp thus crippling mail servi=
ces
> ## DO NOT re-enable Imagemagick until problem is understood and fixed ple=
ase!!!
> ## --HH 20080926
> $wgUseImageResize =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D true;
> $wgUseImageMagick =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D false;
> $wgImageMagickConvertCommand =3D "/usr/bin/convert";
>
>
> This has been a long-standing open issue for no terribly good reason.
> ImageMagick cleans up after itself when it exits normally. =A0If it's
> failing regularly, a cron job that cleans up the directory used should
> minimize any trouble (though we probably want to find out what use
> cases cause it to hang if possible; that's less important).
>
> http://studio.imagemagick.org/pipermail/magick-users/2008-January/020559.=
html
>
> If sysadmin or someone who feels responsible for mail services could
> set up a suitable tmp-dir and watcher script, and set
> $wgUseImageMagick to true, this will be resolved for the moment.
>
> SJ
>
>
> On Mon, Jun 1, 2009 at 3:16 AM, S Page<skierpage at gmail.com> wrote:
> > or "Browse no browse Browse" :-)
> >
> > Visit http://wiki.laptop.org/go/Browse in either Browse or Firefox on
> > 8.2.1 and your laptop will lock up and minutes later Browse will die.
> > This is mentioned in comments on http://dev.laptop.org/ticket/8278 and
> > http://dev.laptop.org/ticket/8719
> >
> > If you use Firefox's Tools > Page Info > Media and scroll through the
> > list of images, you see that the page has dozens of full-sized
> > screenshots, all around 1,200 x 900 px, that the browser scales to
> > tiny thumbnails according to the img tag's width and height.
> >
> > But that's not how Mediawiki is supposed to work. =A0If a page on
> > wikipedia.org calls for a thumbnail of a large image, it contains a
> > reference to a pre-shrunk image rather than the original full-size
> > image. E.g.
> > http://en.wikipedia.org/wiki/Windows_Vista#End-user_features has a
> > thumbnail of a screenshot. =A0So the image it references is
> > http://upload.wikimedia.org/wikipedia/en/thumb/f/f0/Windows_Explorer_Vi=
sta.png/180px-Windows_Explorer_Vista.png
> > which is 180px wide, rather than the full-size original
> > http://upload.wikimedia.org/wikipedia/en/f/f0/Windows_Explorer_Vista.pn=
g
> >
> > Somehow wiki.laptop.org doesn't create thumbnails, it seems to only
> > refer to the originals. =A0I reopened bug 8278 and e-mail this to OLPC
> > sysadmin. =A0http://www.mediawiki.org/wiki/Manual:Image_Administration#=
Image_thumbnailing
> > has the configuration instructions.
> >
> > Could this thumbnail problem be related to the wiki.laptop.org's
> > ImageMagick failures on the large SVGs
> > http://wiki.laptop.org/go/Image:Olpc-deployments-20090515.svg ?
> >
> >
> > The XO should be able to deal with complex image-heavy pages on the
> > web better. =A0I guess it's allocating memory close to a limit, then
> > OLPC's bad out-of-memory behavior kicks in. =A0Why can't the O.S. kill
> > Browse faster instead of locking up for minutes?
> > http://wiki.laptop.org/go/Feature_roadmap/Memory_pressure references
> > previous e-mail threads on this subject.
> >
> > Cheers,
> > --
> > =3DS Page
> > _______________________________________________
> > Devel mailing list
> > Devel at lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
> >
> _______________________________________________
> Wiki-gang mailing list
> Wiki-gang at lists.laptop.org
> http://wiki.laptop.org/go/Wiki-gang
> (_internal_name)s


More information about the Olpc-sysadmin mailing list