Whole server hangs after convert
Posted: 2014-05-01T04:36:42-07:00
Hello, we run the ImageMagick CLI at a variety of websites across our server, recently we rolled it out on a website specifically for printing and they supplied us with the following image: http://www.codedmonkey.com/temp/faultyimage.jpg The client that supplied the image told us it was a JPEG2000-file.
The image get's uploaded with jQuery File Upload and is converted using ImageMagick's convert to automatically create a scaled JPEG-version of the image. Here is where the trouble begins. The whole server stops responding for over a minute, bringing multiple websites down, before eventually showing the correct page with a converted image.
I don't have direct access to the ImageMagick logs, but the output of the action when send to the Apache error log shows
I've tried multiple things but I can't figure out what's wrong, I've looked at the supported image formats and it states to following:
Is anybody familiar with this issue and what can I do to stop the server from hanging?
Thank you
The image get's uploaded with jQuery File Upload and is converted using ImageMagick's convert to automatically create a scaled JPEG-version of the image. Here is where the trouble begins. The whole server stops responding for over a minute, bringing multiple websites down, before eventually showing the correct page with a converted image.
I don't have direct access to the ImageMagick logs, but the output of the action when send to the Apache error log shows
Code: Select all
image not a jpeg file
Code: Select all
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)<br />
JPG* JPEG rw- Joint Photographic Experts Group JFIF format<br />
Thank you
