Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 18 Mar 2003 09:56:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 18 Mar 2003 09:56:40 -0500 Received: from express.corp.cubic.com ([149.63.71.200]:41885 "EHLO express.corp.cubic.com") by vger.kernel.org with ESMTP id ; Tue, 18 Mar 2003 09:56:39 -0500 From: "Sparks, Jamie" To: "Richard B. Johnson" Cc: DervishD , Linux kernel Date: Tue, 18 Mar 2003 10:05:43 -0500 (Eastern Standard Time) Subject: Re: select() stress In-Reply-To: Message-ID: X-X-Sender: sparksj@curly.ds.cubic.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1404 Lines: 42 I'm using pine. j On Tue, 18 Mar 2003, Richard B. Johnson wrote: > 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. > > <> > > > > 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/