Posts

Showing posts from April, 2016

Increase Swap size - digitalocean droplet

Set the swap size to 512M and after a while mysql failed to start. Tail the /var/log/mysql/error.log and found that innodb had memory-related error. For now I solved it by increasing the swapfile size. 1. Cannot swapoff since there was not enough memory 2. So I create new swapfile first and use it and then delete the old one and edit the /etc/fstab file sudo fallocate -l 4G /swapfilenew sudo mkswap /swapfilenew sudo swapon /swapfilenew sudo swapoff /swapfile # < delete old swap sudo rm /swapfile sudo swapon -s # check to make sure Edit /etc/fstab to turn on swap when reboot. Change from /swapfile to /swapfilenew

ซ่อมปุ่มกดพัดลม hatari บอร์ด ht7621

อาการคือกดแล้วไฟไม่ติดและไม่มีเสียงอะไรเลย ตอนแรกคิดว่าเป็นที่ C 105K/400V เหมือนที่หลายๆท่านว่ากัน แต่ดูแล้วมอเตอร์มันไม่ได้ขยับหรือมีเสียงอะไรเลย จึงคิดว่าน่าจะเป็นที่สวิทช์เสีย ลองค้นดูเจอเวปนี้ http://repairsmcu.blogspot.com/2015/06/hatarihc-s16d3-10.html ลองทำดูแล้วได้ผล ต้องขอขอบคุณมากเลยครับ ที่ให้ความรู้ในการซ่อมสวิทช์ ที่ผมทำคือใช้สเปรย์ phillips ฝาสีแดงฉีดที่สวิทช์แล้วกด 100 ครั้ง ทำซ้ำกันสามครั้ง หายจริงเหมือนที่ได้แนะนำไว้