If you haven’t downloaded the new Wordpress application for the iPhone yet, you might want to check it out. So far, it seems to work really well!
Have you tried MySQLTuner yet?
It's free and it makes optimizing your MySQL server easier than ever!
Author ArchiveMySQLTuner 0.9.8 is now available for download and it is full of new changes! So far, MySQLTuner has been downloaded almost 24,000 times. Thanks for making it so popular. Easy download! Access servers remotely Pass login credentials on the command line Manually set the amount of RAM and swap memory installed Checking for updates is now optional As you might imagine, MySQLTuner 1.0 is just around the corner. I’ve been holding out for the MySQL 5.1 GA release, but I may release the script sooner. Don’t worry - as soon as MySQL 5.1 becomes a GA release, I’ll be hard at work to support any new optimization options which it provides. As some of you may know, MySQLTuner is one of my favorite projects. It’s approaching the 1.0 release and I feel like celebrating. I thought about putting together some T-shirts (because as a nerd, I enjoy the occasional techy T-shirt), but I can’t come up with a good slogan. I’ve heard of some pretty hilarious slogans for database-related activities, like “DBA’s know how to take dumps” and “don’t overflow my buffer”, but I’m trying to come up with some good ones for MySQLTuner. Whoever picks the slogan/joke that wins and goes on the shirt will get a free shirt from me. Yes, I did say free. Wordpress 2.6 is now available, and I’ve just upgraded today. If you haven’t upgraded yet, download it and follow the instructions. Nessus is one of those applications that makes me happy and drives me crazy at the same time. It does what I need it to, but it’s often hard to get it rolling when it needs to do something for me. When I run it, I run it in batch mode, which requires me to have a .nessusrc file. However, there is almost no documentation on how to create one of these files. Luckily, a smart fellow by the name of George Theall created update-nessusrc. It’s a handy perl script that will take a basic .nessusrc file and do things with it based on the options you pass it. As I said before, I want every test enabled, so here’s the steps I performed: First, I ran a batch scan to make a basic .nessurc file:
The x skips the SSL certificate warning, q enables batch mode, V prints verbose status messages to the screen and -T txt makes the report come out in a text format. Once it started, I pressed CTRL-C to stop it, and then I had a .nessusrc file ready to go. I downloaded update-nessusrc and ran it to enable all plugins:
The d enables debug mode (and saves the new .nessusrc to a new file name), the s prints a summary, and -c “_all_” tells the script to enable all plugin categories. You now have a .nessurc file for use with batch scans that will utilize all of the available plugins. If you’re lazy, you can download my pre-made .nessusrc that I made today with Nessus 3.2.1. Thanks to some work started by Ville Skyttä, MySQLTuner is now included in Fedora 9 repositories:
In addition to Ville, I’d like to thank Jason Tibbitts for reviewing and approving the new package. If you run a fairly busy and/or badly configured MySQL server, you may receive something like this when attempting to connect:
MySQL is telling you that it is handling the maximum connections that you have configured it to handle. By default, MySQL will handle 100 connections simultaneously. This is very similar to the situation when Apache reaches the MaxClients setting. You won’t even be able to connect to MySQL to find out what is causing the connections to be used up, so you will be forced to restart the MySQL daemon to troubleshoot the issue. What causes MySQL to run out of connections? Here’s a list of reasons that may cause MySQL to run out of available connections, listed in order of what you should check: Bad MySQL configuration Data storage techniques Slow queries Division of labor Right hardware By reviewing these bottlenecks, you can reduce the load on your MySQL server without increasing your maximum connections. Simply increasing the maximum connections is a very bad idea. This can cause MySQL to consume unnecessary resources on your server and it may lead to an unstable system (crash!). Thanks to some hard work from Oden Eriksson and Frederik Himpe, MySQLTuner 0.9.1 is available in a Mandriva package.
20
06
2008
Rebuilding statistics from previous months on Plesk 8.3Posted by: major in Command Line, PleskThere was a bug in versions of Plesk prior to 8.3 where the AWStats statistics for the previous months were unavailable. It was a bug within Plesk’s AWStat’s implementation, and it was fixed in Plesk 8.3. However, the fix only corrected the issue moving forward after the upgrade. There was no automated way to rebuild the previous months’ statistics, even though the AWStats data was right there on the disk! I saw this blog post about the issue, and the fix is quite elegant: Plesk 8.3 AWStats on Linux - Rebuilding Previous Month Statistics As some of you might know, I interviewed for a position at Google in April of this year. It wasn’t a position that I sought out, but it all came about after I received an e-mail and phone call from a recruiter. Obviously, there’s some things I can’t talk about with regards to the interview process, but there’s quite a few things that can be said. How it started Two weeks later, I received some e-mails, went through [redacted] phone screens (with some pretty intelligent people), and learned more about the position. The folks from Google that I spoke with ranged from friendly and chatty to very direct and somewhat terse. Overall, I got the idea that they weren’t interested in running a quiz, but they wanted to know how deep my knowledge and understanding was with regards to critical topics relating to the position. I know this sounds vague, but it’s about as much as I can tell you. The middle This was about the point where I slapped myself and said “Holy crap, I’m interviewing at GOOGLE!” When I arrived, I went into the wrong buildings twice until I found the right one, but some Google employees finally pointed me in the right direction. I met with my recruiter, who was actually pretty entertaining, and he gave me a run down of how the day would go. I spent the morning interviewing, and then I joined a Google employee for lunch. He answered many of my questions about the cost of living, job benefits, and how he liked Google. When that was over, I went back to interviewing and was escorted out of the building at the end of the day. Towards the end You’ll probably want to know what happened next, but there’s not really anything that I’m allowed to say about it! What I can tell you is that I’m still with the best company in my industry, and I’m still enjoying it each day. So I know what you’re probably thinking… Why did you stay at Rackspace? If you have any more questions about why I love working at Rackspace, please let me know. I’ll be happy to fill you in. |
Entries (RSS)