From: Christopher E. Brown <cbrown@Alaska.NET>
Subject: Re: echo my_max > /proc/sys/kernel/file-max - safe?
Date: Thu, 6 Nov 1997 23:55:44 -0900 (AKST) [thread overview]
Message-ID: <5e546d13de0fd673af50920b02eb1df5.axp-list@archive.invalid> (raw)
In-Reply-To: <199711070241.VAA14977@michael.webdevelop.com>
On Thu, 6 Nov 1997, Steven Kokinos wrote:
> >A search in some newsgroups and mailinglist-archives found suggestions
> >to "echo my_max > /proc/sys/kernel/file-max" in some rc-file.
> >
> >Is this in your opinion a Safe Thing To Do [tm]?
>
> Absolutely, this is part of what we modify on all kernels, both intel and
> alpha. The standard open files is set *very* conservatively and can be
> much higher without causing any particular difficulty, and in fact cleans
> up several problems, especially when using a busy web server in
> conjunction with databases such as MySQL, or msql.
I do this to all my system, otherwise I run out on many of em.
Only problem is the per user file limit (for non root users) is hardcoded,
and is an issue for non-root servers (httpd, mysqld, etc).
I missed the start of this so am not shure if it has been said
but.. When you increase file-max you should also increase inode-max.
If you increase file-max by a factor of 3 you should also do the same with
inode-max, otherwise you may max out allowed inodes before reaching you
file limit.
----------------------------------------------------------------------------
Christopher E. Brown (CB421) <cbrown@alaska.net> +(907) 357-5680
We are Pentium of Borg. Division is futile. You will be approximated.
----------------------------------------------------------------------------
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1997-11-07 8:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-07 2:39 echo my_max > /proc/sys/kernel/file-max - safe? Steven Kokinos
1997-11-07 8:55 ` Christopher E. Brown [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-11-06 19:26 Andi Hechtbauer
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox