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
Image Resize Error“libgomp: Thread creation failed"
Re: Image Resize Error“libgomp: Thread creation failed"
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"
Thank you for fast answermagick 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.

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 ?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Image Resize Error“libgomp: Thread creation failed"
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
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