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.
convert Multipage tiff to png , going in sleep state
Re: convert Multipage tiff to png , going in sleep state
You can try strace or add -debug cache to your command line. Either should provide insight into where the command is hanging.