lkml.org 
[lkml]   [1999]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Poll Error
Date

There is no such limit in the poll function. You won't run into problems
with it until you hit about 16,000 fds. You will not, of course, be able to
_open_ more than 256 files unless you adjust your per-process resource
limits. And you may not be able to create more than about 10,000 unless you
adjust your system-wide inode and file limits.

DS

> hi,
>
> iam writing a program that uses poll function.
>
> int poll(struct pollfd *ufds, unsigned int nfds, int
> timeout)
>
> i will use it to check 10000 FDs. but it only allows
> me to check up to 256 FDs.
>
> is there a way for me to increase nfds ?
>
> sherwin
> __________________________________________________
> Do You Yahoo!?
> Thousands of Stores. Millions of Products. All in one place.
> Yahoo! Shopping: http://shopping.yahoo.com
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [from the cache]
©2003-2011 Jasper Spaans