[Typo3-debian] gm processes -> loadavg sky high (GraphicsMagick)

Lars E. D. Jensen ledj-typo3 at dcmedia.biz
Wed Mar 2 20:22:21 CET 2005


> I've been testing GraphicsMagick with the ImageMagick wrapper in a
> production environment for at few days now and noticed that gm processes
> sometimes stay around for a long time make loadavg go sky high. And I have
> to kill gm processes manually.
> 
> It seems like it is the wrapper, which isn't closing the gm process and
> continues in some kind of a loop (?)...
> 
> If I can give any info to help debug please let me know.
> 
> Running on Debian Sarge.
> 
> Thanks.
> 

Ok, just experienced high load again with gm processes. Looking at it now I
don't think it's the wrapper which is behaving bad.

It seems like it's a space within the filename which causes an error -> high
load.
"/var/www/sitefolder/fileadmin/images/test1 copy.jpg\[0\]"

The real filename on the file system is escaped like this "test1\ copy.jpg"

Then it more looks like gm (the wrapper) is called, maybe from an extension,
with bad parameters which then result in high load averages like "load
average: 5.24, 5.37, 5.02".

The reason why I think the problem is located to an extension is that it's
actually the same TYPO3 site, which is causing this all the time.
Extensions installed at this TYPO3 site is listed in :
$TYPO3_CONF_VARS['EXT']['extList'] =
'css_styled_content,tsconfig_help,context_help,extra_page_cm_options,rte,impexp,sys_note,tstemplate,tstemplate_ceditor,
tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,tstemplate_styler,func_wizards,wizard_crpages,wizard_sortpages,
lowlevel,install,belog,beuser,phpmyadmin,aboutmodules,imagelist,setup,taskcenter,sys_notepad,taskcenter_recent,
taskcenter_rootlist,info_pagetsconfig,viewpage,automaketemplate,indexed_search,macina_searchbox,dmc_image_alttext,
kuma_pagetitle,page_php_content,cc_cbrowse,dh_linklayout,fdfx_2cols,fdfx_3cols,sys_action,plugin_mgm,sys_messages,
taskcenter_modules,sys_todos,sys_workflows,kh_article_pages,tt_address,direct_mail,direct_mail_subscription,
sp_directory,sa_fenewsletter,dkd_feuser_belogin,sg_zfeeditlib,feuser_admin,static_info_tables,sr_static_info,it_dmail_fix,
julle_navpath,macina_banners,tt_news,sr_direct_mail_ext,mbl_newsevent,sg_zfelib,sg_fenewsedit,gsi_whoisonline,
tt_calender,ingmar_admpanelwrap,advCalendar,goof_fotoboek,irfaq,td_newsletter,metatags';       //
Modified or inserted by TYPO3 Extension Manager.

There is installed A LOT of extensions!
Is it possible to locate the extension which is doing the bad command? Or do
I have to contact the owner and trace the problem manually asking about
filenames from below dump of "ps" etc.

"ps -aux | grep gm" :

www-data  6907 18.3  0.2  8812 2604 ?        R    17:50  14:44 /usr/bin/gm
convert -sample 56x56 /var/www/sitefolder/fileadmin/images/test1
copy.jpg\[0\] /var/www/sitefolder/typo3temp/tmb_d92fa4e128.jpg
www-data  6919 18.2  0.2  8812 2604 ?        R    17:50  14:40 /usr/bin/gm
convert -sample 56x56 /var/www/sitefolder/fileadmin/images/test2
copy.jpg\[0\] /var/www/sitefolder/typo3temp/tmb_0571883b5e.jpg
www-data  7150 17.2  0.2  8812 2604 ?        R    17:53  13:20 /usr/bin/gm
convert -sample 56x56 /var/www/sitefolder/fileadmin/images/test3
copy.jpg\[0\] /var/www/sitefolder/typo3temp/tmb_d92fa4e128.jpg
www-data  7178 17.2  0.2  8812 2604 ?        R    17:53  13:18 /usr/bin/gm
convert -sample 56x56 /var/www/sitefolder/fileadmin/images/test4
copy.jpg\[0\] /var/www/sitefolder/typo3temp/tmb_0571883b5e.jpg
www-data  7249 17.2  0.2  8812 2604 ?        R    17:54  13:07 /usr/bin/gm
convert -sample 56x56 /var/www/sitefolder/fileadmin/images/test5
copy.jpg\[0\] /var/www/sitefolder/typo3temp/tmb_d92fa4e128.jpg
root     13442  0.0  0.0  1536  464 pts/0    R+   19:10   0:00 grep gm

-- 
Med venlig hilsen / Best regards
Lars E. D. Jensen
ledj-typo3 at dcmedia.biz



More information about the TYPO3-debian mailing list