The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sockets and File descriptors gstlouis High Level Programming 3 12-12-2005 03:36 AM
file descriptors a25khan UNIX for Dummies Questions & Answers 3 01-27-2004 03:46 PM
File Descriptors shibz UNIX for Advanced & Expert Users 3 12-18-2002 06:12 AM
transfer an open file description between two process xu_wen_dong High Level Programming 1 01-17-2002 11:00 AM
File Descriptors s_chordia High Level Programming 2 12-24-2001 07:45 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-28-2004
Registered User
 

Join Date: Dec 2004
Location: coimbatore, india
Posts: 5
Stumble this Post!
Max No of Open File Descriptors in a process

I have set the maximum no of file descriptors open in a process to the value 8192 using the following lines

set rlim_fd_max=8192
set rlim_fd_cur=8192

in the /etc/system file.


I rebooted the machine and the command ulimit -n / -Hn both display the limits as 8192. However when I run my application , and see its limits using the plimit -k [pid] , i find the limit as 1024.

Anybody have any idea why this occurs
__________________
-Lakshman
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-29-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,448
Stumble this Post!
I would guess that the apoplication lowered its own limits for some reason. Any process can lower its own limits.
Reply With Quote
  #3 (permalink)  
Old 12-29-2004
Registered User
 

Join Date: Dec 2004
Location: coimbatore, india
Posts: 5
Stumble this Post!
Yes. I am using a library ACE and it is that library which lowers the limits. I am trying to make the library not to do it.

Thanks.
__________________
-Lakshman
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0