stintel's blog

Why nobody should use the uceprotect DNSBL

Geez...

Today one of the mail servers I'm maintaining seems to be blacklisted in the uceprotect blacklist. I had never heard of them until now. And I must say, the guys at uceprotect really think they are the Gods of mail or something.

If you want to get yourself removed from this list, you either have to wait 7 days - given that your server's IP address doesn't connect to their trap again. Or, you could pay these sons of bitches 50€ (per IP!!!) to get unlisted immediately. This is totally unacceptable, who the hell do they think they are???

In addition to this complete non-sense, they mention on their page how you can find the reason for being blacklisted in your mail logs:


Grep the logs (last 8 days) on your server for following expression:

Topics: 

Dell + booting from USB devices

Recently I needed to boot a Dell server (PE1950) from a USB flash drive. The flash drive contained a bootable image from the CentOS 5 DVD (images/diskboot.img), to run the CentOS installer, and kickstart the machine over the network.

When cold booting these machines (eg. from a power down state), there is no problem at all.

Syslog-NG: Number of allowed concurrent connections exceeded

When I moved from syslog to syslog-ng on my laptop running Fedora 7, I noticed a lot of these warnings in /var/log/messages:


Jul 10 09:29:34 speedy syslog-ng[2272]: Number of allowed concurrent connections exceeded; num='10', max='10'

Increasing the maximum number of connections for the Unix stream that reads /dev/log seemed to fixed this problem:

Tags: 

Topics: 

Changing the maximum number of open file descriptors

On Linux, there is a global and per-user limit of open file descriptors (read: maximum number of open files). The global limit is distribution and kernel specific, the per-user limit is set to 1024 by default. However, some applications, like Lotus Domino, Oracle, ... require to have more than 1024 open files.

Global limit

The current global limit can be checked with:
cat /proc/sys/fs/file-max

To change the global limit, you can do:
echo 65536 > /proc/sys/fs/file-max

Unfortunately, if you set the limit with the above command, it will not be saved after a reboot. To change this parameter at every boot, you have to add this to /etc/sysctl.conf:
fs.file-max = 65536

Tags: 

Topics: 

Yay! My first blog entry :-)

Hi all, and welcome to my blog. As you can see, this is my first blog entry.

Because my colleague Fred kept asking where he could find my blog, I quickly setup one ;-) I'll try to blog some stuff here from time to time, but I don't promise anything :-)

Cheers
Stijn

Topics: 

Pages

Subscribe to RSS - stintel's blog