About Anson

This author has not yet filled in any details.
So far Anson has created 48 blog entries.

How to check memory usage per process in linux?

When you feel that your linux server is running slow, you properly run top command to check the how many memory have been used. But it just shows the overall memory usage. To show memory usage per process, you can run this command ps aux --sort -rss

By | August 25th, 2018|IT Knowledge Base|0 Comments

Docker Slow On Mac – How to Fix

Docker is a very nice tool for development. If you are a Mac user, you may experience that the connection to docker is extremely slow. Why docker is slow on Mac? As I develop some web-based systems by using docker. The slow performance sometimes cause connection timeout (mostly 30 seconds). It is found that mounting [...]

By | April 2nd, 2018|IT Knowledge Base|0 Comments

Senior CID 拯狗隊 香港寵物保姆社企

Senior CID 拯狗隊是一家社會企業,訓練退休人士成為寵物保姆,為社會服務維持生計,既可以打發百無聊賴的時間,又可以與寵物共享美好時光。 現時打工仔公務繁忙,狗主人、貓主人可能因為旅行/渡假、公幹、加班而無法料理寵物,尤其狗仔,要出街散散步先得,他們透過提供優質的寵物保姆服務,讓寵物主人都可以安心下來。 同時,Senior CID 拯狗隊照顧被遺棄的貓貓狗狗,不但讓退休人士增加實機會,而且讓寵物再次感受到愛。 狗狗保姆 一對一  好專一 帶狗散步 理想達到 餵飼換水 唔會撇嘴 攝影錄像 精彩景象 貓貓保姆 一對一  好專一 餵飼換水 唔會撇嘴 打掃清理 貓愛企理 攝影錄像 精彩景象 宣傳片段 蘋果動新聞介紹

By | September 24th, 2016|Blog|0 Comments

Upgrade MySQL from 5.5 to 5.7 on Debian

In a few months ago, I tried to Upgrade MySQL from 5.5 to 5.7 on CentOS. Although the upgrade process is successful, it is a little bit terrible experience because all data may be removed. Recently, I have got another request to the same upgrade but in Debian. The process is definitely much easier. I [...]

By | July 19th, 2016|IT Knowledge Base|0 Comments

Upgrade MySQL from 5.5 to 5.7 on CentOS

I have got a task to migrate a system from a CentOS server and another CentOS server. When I imported the MySQL database to the server, I have got the following error: (SQL Error: 1294 SQL State: HY000) - Invalid ON UPDATE clause for 'column_name' field Oh.... DATETIME can use CURRENT_TIMESTAMP on update starting from [...]

By | April 29th, 2016|IT Knowledge Base|0 Comments


好多人認為:「IT人好難溝通。」好多IT人認為:「不懂IT的人好難溝通。」現實是IT人與不懂IT的人經常需要溝通。 作為一個「翻譯員」(即使用非IT用語與用戶講解一樣IT的東西,與用IT用語講解用戶的需求),當然最需要是向聽者講得明白,所以,有時好怕向用戶講述完一些重點後,用戶冷淡地回應一句「哦」,我明白他們一心只想:「你完成就可以,我們跟著做就可以。」但事實上,我正在講述一些用戶要做的東西,這個回應反映了用戶不明白。 曾經聽人說過:「『專業』不是你能夠用好多不同的術語,『專業』是你能夠用一般人的語言明白講述那件東西。」 近幾年的工作,讓我深深體會專業不能離地,不單是自己的專業不能離地,也是用戶的專業不能離我這塊地太高,前者好簡單,希望用戶明白怎樣善用這個系統,提高他們的工作質素同效率;後者則是我們好需要了解他們工作流程的需要、他們使用的感受、他們的意見,沒有他們工作的專業,不能夠出現專業的系統,同樣,沒有我們的建議,用戶繼續困擾下去。 好溝通、好合作,帶來專業,專業不是高高在上,而是堅不離地。

By | April 28th, 2016|Blog|0 Comments

CentOS keeps rebooting

Recently, I reboot a CentOS server and get the following errors. /dev/VolGroup00/LogVol00: Superblock last write time is in the future. FIXED. /dev/VolGroup00/LogVol00: contains a file system with errors, check forced ... /dev/VolGroup00/LogVol00: ***** REBOOT LINUX ***** /dev/VolGroup00/LogVol00: 217372/23602656 files (1.1% non-contiguous), 11132951/23609344 blocks Unmounting fiile systems umount: sunrpc: not found umount: /var/lib/nfs/rpc_pipefs: not mounted umount: [...]

By | March 16th, 2016|IT Knowledge Base|0 Comments

Centos: PHP Fatal error: Class ‘SoapClient’ not found in

You may get an error returned from error log (example from CentOS): PHP Fatal error:  Class 'SoapClient' not found in   Create a php file (e.g. info.php) with the following code in your server : <?php phpinfo();?>   Access to the page (e.g. and check whether the soap is installed and enabled Or You [...]

By | January 7th, 2016|IT Knowledge Base|0 Comments

Office for Mac cannot resize window, freeze panel, maximize

I was trapped into the issue for Microsoft Office for Mac that some files (not all files) cannot resize the window, freeze or unfreeze panel and maximize window. It's quite annoying that a very small window size is fixed when working on the document. Issue happen in the platform: Mac OS X EI Capitan Version [...]

By | December 23rd, 2015|IT Knowledge Base|0 Comments