Archives
How to accelerate cPanel web hosting server with nginx? You can find a lot of answers through the Internet, like this: cPanel forums 24x7servermanagement All methods are good, but there is one big problem with script (postwwwacct) which was suggested by somebody. It is useless if you are using Addon and Sub domains. This script [...]
Script for acquire information about memory banks in server
Promlem. When one of our clients try to rails app, which use rmagick he got error in log: libgomp: Thread creation failed: Cannot allocate memory
Symptoms. Out client wrote, that his script don’t send email to his email. Discovering problem. As he told problem only with one email ishops@elserv.example.com. Domain elserv.example.com has 2 MX: root@server# dig +short MX elserv.example.com 10 ms.elserv.example.com. 30 mx.uniflex.by. Next step is to check server logs: root@server# cat /var/log/exim_mainlog | grep elserv.example.com 2010-09-06 13:34:00 1OsZ1E-0000fg-K9 => ishops@elserv.minsk.by R=lookuphost [...]
Symptoms: You try to start mysqld and get such error: Starting MySQL… Manager of pid-file quit without updating Solution. Solution was not very hard, but pretty interesting.
Symptoms: You can’t connect to mysql, and your resource got error: Too many connections. Common problem, isn’t it? Reasons may be very different. And there is no universal solution.
Symptoms: Your mysqld server is working, but you cannot connect. And no errors are giving to you. mysql -p just waiting for a long time and nothing happened. It mostly actual if you have more than 100 databases.