Support » Plugin: Imsanity » unable to resize image for the following reason: unable to write pixel cache

  • Resolved jochenw68

    (@jochenw68)


    Hi,
    when i try to upload images to the media library I get the following message:

    Imsanity was unable to resize this image for the following reason: unable to write pixel cache `/var/tmp/magick-21372dc2PSqbp4w3a’: Disc quota exceeded @ error/cache.c/WritePixelCachePixels/5979.

    How can I solve this?
    Thanks a lot

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    You’ll need to ask your webhost why the /tmp/ folder is full, or have the server rebooted.

    jochenw68

    (@jochenw68)

    Hi, webhost (Strato) says it’s not their business. I can’t restart the server or empty the /tmp/-folder.
    So how doI get my pics uploaded?
    Thanks…

    Plugin Author nosilver4u

    (@nosilver4u)

    So, you can’t empty the folder that is full, and the webhost says it isn’t their job. Who else is going to empty it for you?

    Sounds like you need a more competent webhost, or at the very least insist they do their jobs.

    jochenw68

    (@jochenw68)

    Sorry, but I won’t change my webhost just for a problem with a WP Plugin. This isn’t helpful as an answer. Can you at least tell me where I can find the /tmp folder, so I could check if I could empty it.
    Thanks.

    Plugin Author nosilver4u

    (@nosilver4u)

    Okay, let me be more clear here:
    This is not a plugin problem, one of these has happened:
    1. The /var/tmp/ folder on the server is running out of space
    2. You are running out of disc quota, which is set by your webhost (disc quota exceeded)

    One additional point of clarification is that larger images take a lot of space to work with. For example, a 6MB JPG might take something like 200MB of working space. Usually, this is RAM/memory, but if the server doesn’t have enough, PHP/ImageMagick will use the temporary folder (/var/tmp/ in your case). And possibly, ImageMagick will just default to using /var/tmp/ for certain operations (or your webhost might have configured it that way to conserve memory for large file operations).

    The temporary folder is at /var/tmp/
    That IS the location on the server, if you don’t know how to find that, it is your webhost’s responsibility to help you with that unless this is an “unmanaged” server. Of course, unmanaged seems very unlikely if you have a disc quota… and looking at their hosting plans, I doubt very much you actually have access to clean /var/tmp/

    At any rate, you can view the files on the server usually with some sort of file manager in the control panel provided by your webhost, or possibly with a FTP/SFTP client like FileZilla. If you can’t browse up the directory structure far enough to see a /var folder, then of course you can’t get to /var/tmp

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.