GetMagickThreadSupport problem with mod_perl
Posted: 2008-10-14T09:04:01-07:00
Hey,
I'm using PerlMagick in a perl module called as a output filter by Apache. This module is scaling my images and returns the output to apache. When i run one concurrent request with ab (apache benchmark) everything works fine. But if i increase the concurrency number I get several assertion errors in the Apache log, but not for all request - just some of them... 2000 request with 30 concurrent will give me like 4 errors in the log.
Here is some output:
[Tue Oct 14 15:54:27 2008] [notice] child pid 2013 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:35 2008] [notice] child pid 2212 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:44 2008] [notice] child pid 2244 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:46 2008] [notice] child pid 2276 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:48 2008] [notice] child pid 2305 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:52 2008] [notice] child pid 2184 exit signal Aborted (6)
I get the feeling this is a problem with non-safe threads? I've not compiled without saftey.
System:
Red Hat Enterprise Linux 5
Apache 2.2.3
ImageMagick 6.4.3 2008-09-12 Q16
I'm using PerlMagick in a perl module called as a output filter by Apache. This module is scaling my images and returns the output to apache. When i run one concurrent request with ab (apache benchmark) everything works fine. But if i increase the concurrency number I get several assertion errors in the Apache log, but not for all request - just some of them... 2000 request with 30 concurrent will give me like 4 errors in the log.
Here is some output:
[Tue Oct 14 15:54:27 2008] [notice] child pid 2013 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:35 2008] [notice] child pid 2212 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:44 2008] [notice] child pid 2244 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:46 2008] [notice] child pid 2276 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:48 2008] [notice] child pid 2305 exit signal Aborted (6)
httpd.worker: magick/magick.c:715: GetMagickThreadSupport: Assertion `magick_info->signature == 0xabacadabUL' failed.
[Tue Oct 14 15:54:52 2008] [notice] child pid 2184 exit signal Aborted (6)
I get the feeling this is a problem with non-safe threads? I've not compiled without saftey.
System:
Red Hat Enterprise Linux 5
Apache 2.2.3
ImageMagick 6.4.3 2008-09-12 Q16