Last modified: 2011-03-13 18:05:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16535, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14535 - Thumb.php occasionally fails with error "ulimit4.sh: line 4: /usr/local/bin/rsvg: No such file or directory"
Thumb.php occasionally fails with error "ulimit4.sh: line 4: /usr/local/bin/r...
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/w/thumb....
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-14 00:06 UTC by Ilmari Karonen
Modified: 2011-03-13 18:05 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ilmari Karonen 2008-06-14 00:06:59 UTC
While trying to diagnose an issue with a specific SVG image rendering oddly at small sizes, I noticed that trying to create a previously nonexistent thumbnail of an SVG image via thumb.php occasionally fails with the following error:

Error creating thumbnail: /usr/local/apache/common/php-1.5/bin/ulimit4.sh: line 4: /usr/local/bin/rsvg: No such file or directory

The creation usually succeeds after a couple of reloads; I suspect the problem may happen only on some hosts.  (Note: To recreate the problem using the URL provided, you need to purge the thumbnail cache for the image in question first.)
Comment 1 Tim Starling 2008-06-15 17:01:06 UTC
Thumbnail requests should go to the image scaling cluster only. Perhaps external requests for thumb.php could be disallowed, then all thumbnail requests would be via the 404 handler which knows where to send them.
Comment 2 Siebrand Mazeland 2008-08-13 21:06:33 UTC
+shell
Comment 3 JeLuF 2008-09-14 19:25:05 UTC
Works as designed. :-)

The thumb.php is not officially supported. Don't use it.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links