UnixServerAdmin

Server Administration & Management

Maximum file limit reach while starting Apache

Maximum file limit reach error is occur while we are starting the Apache server at that time you can fix the issue by using root login details.

1. edit /etc/sysctl.conf file

# vi /etc/sysctl.conf

Add following line as
—————————
fs.file-max = 22992
—————————

Save and exit from the file.

2. You need to run following command from shell to active changes.

# sysctl -p

It will increase the maximum number of open files for your Server.

Advertisements

October 14, 2011 - Posted by | Apache, Tips & Tricks | ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: