Debian Sqeeze 中的 Imagick (Imagemagick) 缺陷(6)

2022-01-24 00:00:00 debian imagemagick php imagick

我现在在运行我的 cakephp 应用程序时遇到了很大的麻烦.

I have huge troubles running my cakephp application now.

在将 vom lenny 升级到squeeze(甚至尝试完全重新安装sqeeze)之后,imagick 速度非常慢,以至于它只是关闭了我的服务器.我有几个使用 imagick 创建拇指的图片库.

after upgrading vom lenny to squeeze (even tried a complete reinstall of sqeeze) imagick is so incredible slow that it simply shuts down my server. I have several image galleries which use imagick to create thumbs.

在 lenny 上需要不到 30 秒(2000x1200 像素)的 50 张图像.现在需要一个多小时..处理器始终处于 100% 的状态,这使得 apache 等其他进程非常慢.这是挤压中的已知错误吗?这让我发疯了!

50 images needed less then 30 seconds (2000x1200 pixel) on lenny. NOW it needs more than an hour.. Processor is at 100% for the complete time making other processes like apache very slow. is this a known bug in squeeze? it is making me crazy!

我什至尝试运行其他服务器的应用程序.一位朋友让我访问了他的 archlinux + nginx.快如火箭(不到 23 秒).这绝对是一个挤压问题.

I even tried to run the application of other servers. a friend gave me access to his archlinux + nginx. fast as a rocket (less then 23 seconds). it is definitly a sqeeze problem.

我只是通过apt-get install imagemagick"安装它并添加了php扩展php-imagick"

i simply installed it via "apt-get install imagemagick" and added the php extension "php-imagick"

详情:版本:ImageMagick 6.6.0-4 2010-11-16 Q16

details: Version: ImageMagick 6.6.0-4 2010-11-16 Q16

推荐答案

一个解决方案似乎是降级 imagemagick:

http:///howto.at/2011/08/02/super-speed-up-virtuozzo-with-debian-6-and-imagemagick/

有一个关于这个的 debian 错误 (#638409) 打开,似乎是由于 imagemagick 使用 openmp 引起的:

There's a debian bug (#638409) opened about this, seems to be caused by imagemagick's use of openmp:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638409

由于我们自己也有这个问题,我们很快就会尝试这两种解决方案:)

Since we have this problem ourselves, we will be trying both solutions shortly :)

相关文章