[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Increasing number of allocated file handles


This solution for if your system is redhat x86.
For Oracle application Server release the kernel parameter settings can be changed explained in the following section;

Using any text editor, create or edit the /etc/sysctl.conf file and add or edit lines similar to the following: 

Include lines only for the kernel parameter values that you want to change. For the semaphore parameters (kernel.sem), you must specify all four values. However, if any of the current values are larger than the recommended value, specify the larger value.  

kernel.shmall = 2097152

kernel.shmmax = 2147483648

kernel.shmmni = 4096

# semaphores: semmsl, semmns, semopm, semmni

kernel.sem = 256 32000 100 142

fs.file-max = 131072

net.ipv4.ip_local_port_range = 10000 65000

kernel.msgmni = 2878 

kernel.msgmax = 8192 

kernel.msgmnb = 65535

By specifying the values in the /etc/sysctl.conf file, they persist when you restart the system. 

Koray Sonmez

-----Original Message-----
From: redhat-list-bounces redhat com [mailto:redhat-list-bounces redhat com] On Behalf Of Dominique Demore
Sent: Tuesday, October 03, 2006 7:51 PM
To: redhat-list redhat com
Subject: Increasing number of allocated file handles

Hi Everyone,

On our Oracle Application server, we have noticed that we are running out of file handles. Once the number of used file
handles reaches 0, the application crashes/reset itself.
I have increased the number of file handles from 65536 to 104854, but I am still seeing the problem. Should the number
of allocated file handles be increase also, if so, where is the file to modify it.

(*note: the second column will hit 0 everyday at ~9:00 when everyone is logging into the system.)
[root server fs]# cat /proc/sys/fs/file-nr 
39937   7405    104854
[root server fs]# 

Any thoughts/suggestions,


-- Dominique

Dominique Démoré
Technical Services Coordinator
Rainbow District School Board
69 Young Street
Sudbury, Ontario
P3E 3G5
Tel: (705) 674-3171 x. 258
Fax: (705) 671-2442

redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe

Bu e-mail'in tüm icerigi gönderenin kisisel tasarrufu ile olusturulmus ve gönderilmistir. Oyak Teknoloji Bilisim ve Kart Hizmetleri A.S. bu e-mail icerigi hakkinda sorumluluk kabul etmez.

This e-mail has been sent by the sender under his/her own individual discreation. Oyak Teknoloji Bilisim ve Kart Hizmetleri A.S. accepts no responsibility.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]