Today I discovered that something must be wrong with a Typo3-Installation. Everytime trying to access a page where some pictures will be resized and combined with some other, the speed is quite low. The site is using ImageMagick for working with pictures.
After checking what is going on at the server I found that typo3 is executing the ImageMagick program convert which is kicking the system utilization up to 100% only for skaling a 50KB picture.
So problem identified: It’s typo3 using ImageMagick!

It looks like that typo3 has a little bit strange behavior when using ImageMagick higher than version 4. This results in incredible high system utilization.
After searching the web I found the solution for the issue.
What needs to be done is set two specific parameters in the typo3conf/localconf.php file of typo3. I did the following:

$TYPO3_CONF_VARS['GFX']['im_no_effects']='1'; //recommended in case using IM5+
$TYPO3_CONF_VARS['GFX']['im_v5effects']='0'; //recommended in case using IM5+

I found the hint at the following forum:

Typo3 slow page loading because of ImageMagick (CPU goes up to 100%)
Tagged on:         

4 thoughts on “Typo3 slow page loading because of ImageMagick (CPU goes up to 100%)

  • 2011-10-27 October 2011 at 03:20

    Wow! I’ve been plowing through an “old” TYPO3 installation for a couple of weeks trying to find out why Apache was taking up all the CPU.

    Fiddled with DNS params…
    Added memcached…
    Correct YSlow warnings…
    Nothing helped much.

    Saw your site and tried your imagemagick settings … Boom! Performance!

    I cannot thank you enough!

    • 2011-10-30 October 2011 at 11:22

      Incredible isn’t it?
      I also had to crawl the web to find out about this issue and was very happy about the work around.


Leave a Reply

Your email address will not be published. Required fields are marked *