Page 1 of 1
Image Resize Error“libgomp: Thread creation failed"
Posted: 2014-09-11T13:50:30-07:00
by cem3203
Taking
"Image Resize Error libgomp: Thread creation failed: Resource temporarily unavailable"
errors
im using vBulletin + ImageMagick 6 ( BlueHost Shared Hosting Service)
This error only occur if image Width+Height more then 1024px, if images less then 1024px everything fine.
Error screen:
http://i60.tinypic.com/96gl51.jpg
what can i do about that?
Thank you
Re: Image Resize Error“libgomp: Thread creation failed"
Posted: 2014-09-11T14:57:38-07:00
by magick
Reduce the number of threads. Add -limit thread 1 to your command-line or set the MAGICK_THREAD_LIMIT environment variable or set the threads policy in policy.xml. You can then try 2 threads, 4 threads, 8 threads, etc. until it fails.
Re: Image Resize Error“libgomp: Thread creation failed"
Posted: 2014-09-11T17:50:28-07:00
by cem3203
magick wrote:Reduce the number of threads. Add -limit thread 1 to your command-line or set the MAGICK_THREAD_LIMIT environment variable or set the threads policy in policy.xml. You can then try 2 threads, 4 threads, 8 threads, etc. until it fails.
Thank you for fast answer
can you explain "for dummies" style ? im using shared hosting ( with cPanel ) , can i do that changes with myself or i have to ask hoster ?
Re: Image Resize Error“libgomp: Thread creation failed"
Posted: 2014-09-11T17:57:27-07:00
by fmw42
I believe that you can add -limit thread 1 after convert in your command-line or set the MAGICK_THREAD_LIMIT before convert in your command line. You may also be able to export MAGICK_THREAD_LIMIT at the top of your script to enable it for the whole script. To change policy, I think your ISP would need to do that.
One of the developers can correct me if I am wrong about the above.
see
viewtopic.php?f=2&t=20756&p=83407&hilit ... ead#p83407