EzProxies

Private proxies

Blog

Increase file descriptors in CentOS

To increase the amount of files descriptors in CentOS follow this tutorial. We hope this is useful, for some reason it is difficult to find a complete guide for this on the web. This guide will work in most versions of CentOS and Fedora

In this guide we will be raising the open file descriptor limit from 1024 to 65535.

Edit the following file:

You will need to add the following line to the bottom of this file:

Save and exit the file.

At the prompt type the following:

This will implement the settings.

Now we will edit the following file:

Add the following line to the bottom of the file:

Save and exit.

Type the following command. 

Do this as root. This is to be sure that there are no errors:

Double check by typing ‘ulimit -n’. If the response is ‘65535’ everything is good and you are all set.

List all IP addresses available on a linux server

This article deals with Linux based systems.

While working with a server with many IP addresses you may need to list all of the IP addresses on the server. Most commands may give you more information than you may need. To get a list of only the IP addresses use the following command:

The IP address available on the server will be displayed in a list like this:

192.168.1.2
192.168.1.3
192.168.1.4
192.168.1.5
192.168.1.6
192.168.1.7
192.168.1.8
192.168.1.9
192.168.1.10
etc…

I have found that this makes it easier to cut and paste into a text file and then later add the IPs to a database.