The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with imagemagick and cloudlinux

Discussion in 'CloudLinux' started by noimad1, Feb 20, 2013.

  1. noimad1

    noimad1 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    16
    OK, I have a customer that is having an issue with imagemagick, and I think it is cloudlinux related, but I can't seem to figure it out.

    If I log into the customers account using ssh, and try to run the convert command on an image (small image - only 24kb), it gives me this error:

    convert: memory allocation failed `pathtoimage/x.gif' @ error/quantize.c/QuantizeImage/2726.
    convert: memory allocation failed `/pathtoimage/x.gif' @ error/gif.c/WriteGIFImage/1633.

    Now, if I log in as root and run the exact same command it runs just fine.

    This machine is running dual quad core cpu's with 24GB of ram. I even went into the LTVE manager and allowed him access to all 24GB just to see what would happen, and there was no change.

    Anyone have any ideas on this one?
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Try to add -limit area 0 to your command and run it again!

    Reference link ImageMagick • View topic - Memory allocation failure - 6.7.4-8
     
Loading...

Share This Page