InMotion Hosting Support Center

If you are using WordPress (with or without the BoldGrid plugin) you may see an error generated when working with images or graphics:

libgomp: Thread creation failed: Resource temporarily unavailable, referer:/wp-admin/media-new.php

This error is specifically a result of configuration differences between InMotion Hosting servers and the ImageMagick module. The ImageMagick module is installed on VPS and Dedicated servers, but not installed in full on the shared servers. WordPress uses ImageMagick for processing the images, but will use the more limited version of the module on a shared server.

How to Resolve the Libgomp: Thread Creation Failed Error

The full installation of ImageMagick cannot be installed on a shared server account. However, there is a way to resolve the issue within the .htaccess file. This solution was also detailed in How to Fix the HTTP Image Upload Error in WordPress. You can also resolve the issue by using a WordPress plugin called Force Regenerate Thumbnails. The following is a summary of the steps necessary to solve the issue using a modification in the .htaccess file:

  1. Log in to your cPanel Dashboard.
  2. Go to Files and then click on File Manager, then go to the root of your WordPress installation. Make sure that you are able to see hidden files. You can find this option in the settings for File Manager.
  3. Find the .htaccess file. We have a tutorial that can help you locate and edit the .htaccess file if you require assistance.
  4. Add code to top of htaccess file

    Once you have located the file and you have opened it with an editor, please add the following line to the top of the file:

    SetEnv MAGICK_THREAD_LIMIT 1

  5. Click on SAVE CHANGES.

You should then be able to launch WordPress and the error will no longer appear when you are working with your images and graphics.

Was this article helpful?
Continued Education in Course WordPress
You are viewing Section 18: Understanding the Libgomp: Thread Creation Failed Error
Section 19: How to Embed Video in WordPress Posts and Pages

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!