Archive for March, 2008

Setting the maximum mail size in qmail

On a Plesk server, the maximum size for an individual e-mail sent through qmail is unlimited. You can limit this size by adding a number to the /var/qmail/control/databytes file.
If you wanted to limit this to something like 10MB, you can just run the following command:
echo “10485760″ > /var/qmail/control/databytes
This will limit the size of messages [...]

Importing MySQL dumps made on 64-bit servers

It’s tough to find examples of dumps that can’t be properly reimported on other servers. However, if you have a 64-bit server, and you make a MySQL dump file from it, you may see this issue when importing the dump on a 32-bit MySQL server:
ERROR 1118 (42000) at line 1686: Row size too large. [...]

Reduce iowait in Plesk: put qmail’s queue on a ramdisk

I really dislike qmail. But, since I use Plesk, I’m stuck with it. However, I found a way to improve it’s awful mail queue performance by putting the mail queue onto a ramdisk. This is actually pretty darned easy to do.
First, toss a line like this into your /etc/fstab:

none [...]

Plesk Professional Website Editor hangs at login

One of my biggest Plesk gripes is dealing with the Plesk Professional Website Editor. One of the most common occurrences with PPWSE is that it hangs when you attempt to log into the server. Normally, this happens when a server is behind a firewall, and it is using private IP’s.
Plesk will actually query [...]

What is the difference between file data and metadata?

Just in case some of you out there enjoy nomenclature and theory behind Linux filesystems, here’s some things to keep in mind. The modification time (mtime) of a file describes when the actual data blocks that hold the file changed. The changed time (ctime) of a file describes when the metadata was last [...]