Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


File Descriptor Limit?

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> General Discussion
Author Message
miallen



Joined: 08 Jan 2004
Posts: 13
Location: New York

Posted: Fri Jan 16, 2004 4:25 am    Post subject: File Descriptor Limit?  

I thought I read somewhere that each linode is limited to 1024 descriptors. But I noticed I went above to 1079 or so. So I guess this isn't true?
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2385
Location: Galloway, NJ

Posted: Fri Jan 16, 2004 10:03 am    Post subject:  

You might have read it here:

http://www.linode.com/products/faq.cfm?id=19

But, the FAQ is incorrect. The correct technical answer is provided from this thread:

caker wrote: On the host, each Linode uses two file descriptors for the console, one to /dev/null, one for each disk image, and one for each memory map the UML kernel opens.

I've observed Linodes consuming an average of 20-30 file descriptors on the host. There is a limit placed on each Linode on the host itself, but it is an insanely high value that's only there as a break for run-away Linodes (or other evil-doers).

Inside your Linode, you are free to use as many file descriptors as your UML kernel can handle (or /proc/sys/fs/file-max), which has a compiled in max of 1048576 open fd.


I'll get the FAQ updated, thanks!

-Chris
Back to top  
 
       Linode.com Forum Forum Index -> General Discussion
Page 1 of 1