Can I run ImageMagick with nice instead of GDLibrary?

Asked by:
JohnnyS / 5 Points
Time:
2011-12-29 10:51 am EST
Category:
Website
Hits:
587
I had a quick question on CPU usage for gallery2 during image conversion.

Has anyone tried using ImageMagick "nice'd" in WebHostingHub's shared hosting as opposed to the default GD library that WHH provides? I had switched to using ImageMagick (without niceing) and ended up getting my account temporarily suspended after uploading many pictures (hadn't realized it would hit the server so hard).

I've switched to GD on WHH's recommendation, but I suspect it would actually be more CPU (and memory) efficient to use ImageMagick with nice -n 19 (would require some PHP edits to get this) since ImageMagick itself is more CPU / memory efficient and with a nice value of 19 it should not hog CPU time from other people.

I was curious if anyone in the community had tried this?

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by Web Hosting Hub staff

0

ChristiNi
Staff
13,688 Points
2011-12-29 12:02 pm EST
Hi JohnnyS,

I'm sorry you had trouble with your images using ImageMagick. While it's true that on some servers ImageMagick may perform more efficiently thatn GD Library, on our servers, it's best to use GD Library for your image processing.

While reducing the priority of the ImageMagick process could help reduce CPU usage for a specific time period, it could also make the process last too long which could in turn cause issues.

Please let us know if you have any additional questions or need further assistance.

Regards,

Christi N.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

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

Not a Customer?

Get web hosting from a company that is here to help.