Fedora Linux Support Community & Resources Center
  #1  
Old 9th September 2004, 03:25 AM
sniperX Offline
Registered User
 
Join Date: May 2004
Age: 44
Posts: 8
File descriptor

Hi,

In the ulimited command, I have the default file descriptor of 1024. As I hope to modify the file descriptor to 8192, the following procedure are as following:

Add the following line to /usr/include/bits/types.h
#define __FD__SETSIZE 8192

echo 8192 > /proc/sys/fs/file-max

ulimit -8192

Then I compile the Squid as usual and it shows following line as I run Squid in debug level 1.

2004/09/09 09:29:01| With 1024 file descriptors available

Would anybody provide information that how can I change the number of file descriptor in FC-2. Thank you.




Best regards



Vincent
Reply With Quote
Reply

Tags
descriptor, file

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Close a file descriptor for a single child process PhillyFloyd Using Fedora 0 30th May 2008 04:06 PM
sendto bad file descriptor / logwatch conquest Security and Privacy 4 15th November 2005 03:05 PM


Current GMT-time: 03:11 (Wednesday, 22-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Deoranian Instagram Photos - Waregem Travel Photos - Raipur Travel Photos on Instagram