Apache: Debugging with Strace
Sometimes you are under a situation that you don’t know what’s going on with the server, it’s like a blackbox. How to get some lights in this? The answer is strace . strace is a utility that will help you see what your application is doing, what file it’s opening, what is it trying to do. How to start? the most common way to do is : you have a pid of your application , then just run this command: How about other cases, like you have multiple process like web server, when a server start, it will start with at least 4 processes. WhenRead More →