Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an ImageMagick command that is something like this:

convert "/path/to/photo" -set comment "(c) my company" -resize WxH miff:- | composite -dissolve 30 -geometry +40+138 -quality 80 "/path/to/logo.miff" - jpeg:"/path/to/photo_for_public"

Directory /path/to is mounted over NFS (same network). Some options of fstab that might be helpful:

  • Both rsize and wsize are 3kB
  • hard,proto=tcp,timeo=600,retrans=2

Sometimes the imagemagick command fails and produces no file (/path/to/photo_for_public might not emerge after command execution). Files might be from 100kB to 10MB. We usually re-run the command for files not generated. Sometimes it fails even twice, so we do it third time (hilariously funny, but even a third run can fail).

Are there any thoughts what may be wrong with my photo-processing setup?

share|improve this question

My first thought is: Where's the error message? I would expect your convert and composite commands to say something when they break.

Second thought is to break things up into separate operations for debugging:

  1. copy from NFS to local
  2. convert local to local temp file
  3. composite local temp file to local temp file
  4. copy from local to NFS

and then watch how far it gets in the process.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.