GNU/Linux, Open Source, Cloud Computing, DevOps and more...

High CPU load when converting images with ImageMagick

23 comments

In certain versions of ImageMagick there is a problem (probably due to a bug) when trying to convert or manipulate an image either from the command line (convert command) or through one of the many API’s available (for example PHP). The CPU usage suddenly grows beyond 100% (because this problem occurs on multiprocessor systems) and the system becomes extremely slow. Apart from this high CPU load, the conversion process also gets blocked, never reaching to the end. This occurs even with small images of few kilobytes.

DanielHigh CPU load when converting images with ImageMagick

Using PHP to backup MySQL databases

88 comments

This post shows how to perform a partial or full backup of MySQL databases using only PHP code. This is very useful for example when a client doesn’t provide you with access data to the database of a web application and you only have an FTP connection available, or when you do have the connection data to the database but you can’t access it through the network (only available from localhost) and you can’t use tools like mysqldump to back up the information you need because you don’t have privileges for this, or simply because you have no access to a shell to which connect and run commands.

UPDATE (08-28-2017): moved the source code from myphp-backup.php and myphp-restore.php scripts to my GitHub daniloaz/myphp-backup repositoryhttps://github.com/daniloaz/myphp-backup

DanielUsing PHP to backup MySQL databases

Plugins for Bowob.com chat

No comments

In September 2011 I started a collaboration with the bowob.com project, a service that lets webmasters to integrate a chat on their websites that allows users on that site to talk to each other in a friendly manner. This chat service is seamlessly integrated with the content manager or application that manages the users of a given website, which allows to display user names, profile pictures, user friends or connections, and so on. Specifically, my job is to develop plugins that allow this integration so webmasters can install a complete chat solution in minutes and in a very easy way.

DanielPlugins for Bowob.com chat

SugarCRM – Gretur Viajes

No comments

One of the major projects that took place in Gretur Viajes was the development of a comprehensive customer relationship management system (CRM), which also allowed internal business processes management and complete travel bookings administration, wich also includes bonds and other documentation management, billing and administration of all different products and services offered on the corporate web site. That is, a system both CRM, ERP and Content Management System (CMS) was needed. It must also be accessible via web from any geographical location, easy to use and reliable, especially robust and reliable.

DanielSugarCRM – Gretur Viajes

www.greturviajes.com

No comments

This is the Gretur Viajes corporate web site, which I fully developed in 2008, although it has continued to evolve and to incorporate new features and tools. I took both graphic design and PHP programming of many components, modules and plugins that extend the functionality of Joomla, content management system (CMS) which this web site is based on, for example to enable application integration with SugarCRM as detailed in this other post: SugarCRM – Gretur Viajes

Danielwww.greturviajes.com

www.jlopezsaguar.com

No comments

This is a personal project with a very special meaning for me, as it was a gift I always wanted to give my father. He deserved it after all these years of work, sacrifice and effort, and was for me an honor to help make visible his magnificent work through this website that I developed in the year 2010: www.jlopezsaguar.com

Danielwww.jlopezsaguar.com