 Hi guys, I am Arjun. If you are using WordPress, you would have seen most of this time, most of the times you will be seeing an error, seeing that there is an error establishing a database connection. So this will have, I got into this problem like I ran my own blog in Amazon Micro Instance and WordPress has a problem like the Apache uses most of the CPU. So what happens is like somebody tries to hit a website, the MySQL goes down. So there are so many forums in online where they describe how to solve this issue but really we are not able to solve into it because something plug-in uses most CPU so that the MySQL goes down. To overcome this, I have turned a small node.js application which monitors our MySQL connection to see if MySQL is up. If it goes down, node.js application just reboots the WordPress. So I am just using, this is the program which I am using in Amazon Micro Instance, EC2. I have used the MySQL module. Then I am just using the configuration and the child process. I am using domain here and this entry to send emails whenever there is a restart of my server. So here is the thing. So the watch service is the one which is like auto initiated program which gets started, a function which gets started by itself. So I am looking for the error from the domain to see if anything goes... Oh, sorry. This watch service is the auto initiative function which gets started by itself. And the first is the domain error. If there is an array error in the function which is below here, this part, if anything goes wrong here, the domain errors gets called up. So this checkMySQL is the one which runs for the set time out what I have given there. So whatever the time we are given here in the config, we will be taking care. And I am just checking the whole connection to see if MySQL is up in my WordPress. So I have just given the user ID password of my MySQL thing and the port number. So this is the command to just restart my WordPress server. I am just using the bitnami WordPress in the Amazon so that whenever something goes down, I just go in there and restart it. And here is the command. This part is for if you want to run your part as the sudo thing. And if you don't want sudo, you should just use this thing. And if there is an error, any error in the getting the pool connection, this thing gets executed and this executes the restart of the WordPress. If there is no error, this just executes MyCheck function again. If anything goes wrong here, then automatically something goes wrong in the domain part, the main function, I'm sorry. If anything goes wrong in the MyCheck SQL, then what happens is it comes to the domain error part and just sends an email. And again, it restarts the server and restarts, sets the time out for what service. This is this function. And I'll just show a small demo of it. Right now, the WordPress is up. I'm just going to bring it down. I'm just bringing down the MySQL part alone. Let me start the... Yeah, yeah, yeah. Something D got added, that's it. So I've just set it up in a way like it runs for every six seconds. But you could set it for how much of a minute you want. I'm just, in production, I've set it for 10 minutes. And I'm just going to stop the MySQL now. MySQL is down. And it has got restarted again. MySQL not running. So it has restarted the server. It's back and up. Why don't you use something like MySQL? I'm sorry? Why don't you upstart, deny it like there are so many things, what kind of OS port is it? For the... Which one? Node.js? No, for starting MySQL or running service, it is down. I just wrote it in Node.js. That's it. Sanctuary is a paid service, right? No, it's a free thing. It's a free... It could... Daily send, I think, maybe some thousand emails kind of stuff. I'm saying if you're really using it in production, you can better use upstart. Upstart. Okay, let me try it out. Is it a proper source? Did you put it on the code? Yeah, it's there in the Chitub. It's in ChitubTK12040. If you want to... Yeah, it's there in the Chitub as well. Next speaker. I guess you guys all know him, right? It's John. He will introduce you to S3 front. So...