Re: Imagemagick / convert slow on VPS - solved!

Bob Meetin <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Message-ID <[email protected]>
I installed ImageMagick using the --disable-openmp option and this 
solved the problem.  Curiously however, when I would check which version 
of convert it came back with /usr/local/bin/convert as opposed to 
/usr/bin/convert which was where the honorific hostgator s/a staff 
installed it leading to the disaster.

% which convert
/usr/local/bin/convert

I ran convert without forcing the path and it balked and took about 9 
seconds.  Then when I ran it with the full path, it worked flawlessly:

/home/www% uptime ; date ; /usr/local/bin/convert oak_tree.jpg -resize 
480 -strip oak_tree480.jpg ; date ; uptime
 21:50:56 up 13 days,  1:24,  2 users,  load average: 0.17, 0.52, 1.22
Tue May 11 21:50:56 CDT 2010
Tue May 11 21:50:56 CDT 2010
 21:50:56 up 13 days,  1:24,  2 users,  load average: 0.17, 0.52, 1.22

I installed a second time using he --prefix option but it did not seem 
to make any difference. 

./configure --disable-openmp --prefix /usr/bin

I thought this would overwrite the /usr/bin/convert but it did not.  Do 
you have to do a dash or perhaps double-quote /usr/bin in order for it 
to be recognized?

To get past this in the meantime I rename /usr/bin/convert and created a 
hard link from /usr/local/bin/convert.  Probably should do the same with 
identify if this is the only way.

-Bob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.