Re: select() stress

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Tue Mar 18 2003 - 10:05:18 EST


On Tue, 18 Mar 2003, Sparks, Jamie wrote:

> This message uses a character set that is not supported by the Internet
> Service. To view the original message content, open the attached message.
> If the text doesn't display correctly, save the attachment to disk, and then
> open it using a viewer that can display the original character set.
> <<message.txt>>
>

Please don't use that goddam M$ mailer. I can't see what you
wrote without saving to a file, etc. Most use 'pine' or
something compatible with __text__ !

Anyway you advised to do something like:

        fd = open("/", O_RDONLY);
        close(fd);

        fd is now supposed to contain the largest process fd + 1.
        I don't think this is correct! You can do open thousands
         of fds, ultimately more than the max fd value. It will
        eventually wrap.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.

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



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:23 EST