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_version_5']='im6'; $TYPO3_CONF_VARS['GFX']['im_combine_filename']='composite'; $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: http://www.typo3forum.net/forum/typo3-4-x-fragen-probleme/47656-typo3-imagemagick-hohe-cpu-auslastung-langsam-seiten.html