Increasing number of allocated file handles

Koray Sonmez ksonmez at oytek.com.tr
Wed Oct 4 13:51:20 UTC 2006


Hello,

This solution for if your system is redhat x86.
For Oracle application Server release 10.1.0.2 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: 

Note:
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 at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of Dominique Demore
Sent: Tuesday, October 03, 2006 7:51 PM
To: redhat-list at 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 at server fs]# cat /proc/sys/fs/file-nr 
39937   7405    104854
[root at server fs]# 
-------


Any thoughts/suggestions,

Thanks.

-- 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 at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list























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




More information about the redhat-list mailing list