MhdAli Personal Blog

Restore HAProxy config from memory

Why?

We had corrupted haproxy config file on disk but the running config was in a correct state.

HAProxy was working fine because the way haproxy works it read the config file from disk and import it into the memory.

So we tried to restore the running config from memory.

Here how we did it…

Find out more

[TIL] Centos 7 with MySQL 5.6 open file limit

What?

Today I tried to upgrade MySQL 5.6.27 to 5.6.29 on one of our database servers, that running on CentOS version 7.

However after I upgraded the package I started seeing this error many times:

[ERROR] /usr/sbin/mysqld: Can't open file: '<TABLE_NAME>' (errno: 24 - Too many open files)
Find out more

perp openfile limits

If you’re using perp to control your processes instead of systemd, upstart, xinit …etc, you may hit open file limitation issue, today post is to descripe more deep into this issue and how to solve it.

Find out more

Strace output

Every Sysadmin knows about strace command and we’re using it in daily basis, but never come to me once to redirect the output to different file for more analyzing “you know strace output it’s tremendously fast”, so I thought why not use bash redirection

Find out more

Welcome to my blog

I’d like to welcome you on my personal blog, hope you’ll find what you’re looking for.

If you want to contact you can find my email in my details, please don’t hesitate to drop email by.

Wish you a happy day and good luck.

Thank you

Find out more