convert Multipage tiff to png , going in sleep state

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
alokob
Posts: 3
Joined: 2013-07-31T04:47:55-07:00
Authentication code: 6789

convert Multipage tiff to png , going in sleep state

Post by alokob »

Hello ,

I am using IM on linux , for converting a multipage tiff to png. This tiff file contains near about 1500 pages , when I start conversion with following policy settings

<!-- <policy domain="system" name="precision" value="6"/> -->
<policy domain="resource" name="temporary-path" value="/tmp"/>
<policy domain="resource" name="memory" value="2gb"/>
<policy domain="resource" name="map" value="1024mb"/>
<policy domain="resource" name="area" value="512mb"/>
<policy domain="resource" name="disk" value="100gb"/>
<policy domain="resource" name="thread" value="1"/>
<policy domain="resource" name="time" value="3600"/>
<policy domain="resource" name="file" value="1600"/>
</policymap>

It does succesfully generate the png's , but after that the convert command does not terminate. It goes in S+ state. And never terminates . Using "lsof" command found that these 3 I/O operations are not ending anywhere

0r FIFO 0,8 0t0 56144544 pipe
convert 27642 jboss 1w FIFO 0,8 0t0 56144545 pipe
convert 27642 jboss 2w FIFO 0,8 0t0 56144545 pipe

Please can you suggest what settings I need to apply for this process to execute successfully?

Thanks

Alok Bhandari.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: convert Multipage tiff to png , going in sleep state

Post by magick »

You can try strace or add -debug cache to your command line. Either should provide insight into where the command is hanging.
Post Reply