LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2010, 05:20 AM   #1
j_satya
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Linux Error: 23: Too many open files in system


Hello,

I am getting following error and could not resolve the issue, please help me.

Linux Error: 23: Too many open files in system

OS: CentOS 5.0, Oracle 10g R2
Application: Microsoft VB6, the application is opening many connections e.g. more than 3000 in 3 minutes and suddenly, the oracle instance is disconnecting and getting "too many open files in system" as error in the listenr.log file.

Please help me.
 
Old 09-09-2010, 05:25 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Hi j_satya,

What value does following command shows ?

Code:
cat /proc/sys/fs/file-max
Try to increase its value.

For time being increase number of open files value using

Code:
sysctl -w fs.file-max=<new_value>
To sustain after reboot add following line in /etc/sysctl.conf file
Code:
fs.file-max = <new_value>
Finally execute
Code:
# sysctl -p
 
Old 09-10-2010, 03:56 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,374

Rep: Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383
I'd be interested in knowing why you'd want that many cxns in that short a time from one app?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Too many open files in system DanaBrown Linux - Newbie 2 07-04-2008 02:41 PM
How to write C Code to play MP3 files using Open sound System programming Under Linux shayad15 Programming 3 06-05-2006 12:46 PM
Reg Too Many Open Files in System Error manickaraja Linux - General 3 12-01-2003 05:34 AM
Too many open files in system jayakrishnan Linux - General 5 03-28-2003 09:58 PM
Too many open files on system error?! sarin Linux - General 4 07-23-2002 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration