Hello!
I have a big problem with my imagemagick installation on a Windows Server 2003 x64 running PHP on IIS6.0
The website works perfectly as long as no imagemagick process gets called.
First, the execution of any kind of imagemagick scripts is really long. E.g. before I load my flash application, that needs RGB images instead of the available CMYK images, I call the convert function. This works, but takes up to 11 seconds until the browser responds and loads the site I requested.
Second, when I stop this process, which means I request the site that runs the convert from imagemagick first and then loads the rest but, click somewhere else (another link on the website) while the imagemagick convert is still running, the w3wp.exe process hangs.
In this case the currently used browser isn't able to load anything on the website. Do I switch to another browser the site works. The same happens in this browser, when I do the same procedure as described above in the first browser.
When the execution of imagemagick is not interrupted, the site works. It also makes no difference, which browser I use. Other websites, installed on this server also continue working even when the site that causes this error (and is blocked right now).
The IIS is working in 32bit mode. This is because PDFLib, which is also in use, does not support 64bit systems.
I was trying the 32bit version as well as the 64bit version of imagemagick, no difference.
Interesting is, when I uninstall ImageMagick while the site is blocked in one browser, the uninstallation cannot remove the files indentify.exe and vcomp100.dll. After manually ending the process w3wp.exe both files can be deleted manually.
Can someone help me?
Best regards,
Alex
w3wp.exe blocked when executing imagemagick
Re: w3wp.exe blocked when executing imagemagick
I've changed the code to imagick now.
This means, I added the imagick PHP extension to my running PHP version (5.2.17). The next step was to take out all exec() commands that executes some imagemagick files. This works perfect and is also faster then the exec() method.
However, when I "stop" the imagemagick conversion process with clicking on another link on my site, the w3wp.exe process still hangs for my active browser session and I have to switch the browser or need to close it and load the browser and site again.
What can be the problem, that on the Windows Server 2003 x64 System, where PHP is running in 32Bit mode, the imagemagick processes brakes the active session?
On my old enviroment, a Windows Server 2003 x86 everything was working well.
This means, I added the imagick PHP extension to my running PHP version (5.2.17). The next step was to take out all exec() commands that executes some imagemagick files. This works perfect and is also faster then the exec() method.
However, when I "stop" the imagemagick conversion process with clicking on another link on my site, the w3wp.exe process still hangs for my active browser session and I have to switch the browser or need to close it and load the browser and site again.
What can be the problem, that on the Windows Server 2003 x64 System, where PHP is running in 32Bit mode, the imagemagick processes brakes the active session?
On my old enviroment, a Windows Server 2003 x86 everything was working well.