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 04:36 AM
file descriptors a25khan UNIX for Dummies Questions & Answers 3 01-27-2004 04:46 PM
File Descriptors shibz UNIX for Advanced & Expert Users 3 12-18-2002 07:12 AM
transfer an open file description between two process xu_wen_dong High Level Programming 1 01-17-2002 12:00 PM
File Descriptors s_chordia High Level Programming 2 12-24-2001 08:45 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-28-2004
Registered User
 

Join Date: Dec 2004
Location: coimbatore, india
Posts: 5
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  
Old 12-29-2004
Perderabo's Avatar
Unix Daemon
 

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

Join Date: Dec 2004
Location: coimbatore, india
Posts: 5
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 Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:13 AM.


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

Content Relevant URLs by vBSEO 3.2.0