The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-29-2004
lakshmankumar12 lakshmankumar12 is offline
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
  #2 (permalink)  
Old 12-29-2004
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
I would guess that the apoplication lowered its own limits for some reason. Any process can lower its own limits.
  #3 (permalink)  
Old 12-29-2004
lakshmankumar12 lakshmankumar12 is offline
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0