Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* echo my_max > /proc/sys/kernel/file-max - safe?
@ 1997-11-06 19:26 Andi Hechtbauer
  0 siblings, 0 replies; 3+ messages in thread
From: Andi Hechtbauer @ 1997-11-06 19:26 UTC (permalink / raw)


Hi all,

my axp server gets busier and I bounced into "too many open files" for
the second time today. This caused several processes to hang, resulting
in more and more filedescriptors beeing needed and so on...

I looked around a bit and found the limit of 1024 open files in 
'cat /proc/sys/kernel/file-max'.

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]?

What are my alternatives if not? And what might be unwanted side effects?
How can I find out what value of my_max is appropriate in my case?

Thanks in advance,

-- 
Andi Hechtbauer                                           anti@spin.de 
System Administration                         voice: +49 941 94 65 939
SPiN GmbH               http://www.spin.de/     fax: +49 941 94 65 938  
------- web design - java chats - guestbooks - java/cgi coding -------

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: echo my_max > /proc/sys/kernel/file-max - safe?
@ 1997-11-07  2:39 Steven Kokinos
  1997-11-07  8:55 ` Christopher E. Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Kokinos @ 1997-11-07  2:39 UTC (permalink / raw)


>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.

-Steve Kokinos

--
Steven Kokinos - Web Developers Network <http://www.webdevelop.com>
Dedicated Sun Sparcstations Running Solaris or Linux from **$99/MONTH**
60 Day *FREE* virtual hosting trial, mission critical network.

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-11-07  8:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-06 19:26 echo my_max &gt; /proc/sys/kernel/file-max - safe? Andi Hechtbauer
  -- strict thread matches above, loose matches on Subject: below --
1997-11-07  2:39 Steven Kokinos
1997-11-07  8:55 ` Christopher E. Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox