Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

File descriptor

2 views
Skip to first unread message

Plak, Peter

unread,
Feb 28, 2000, 3:00:00 AM2/28/00
to Richard Kershaw, 'squid-users '
Be sure to do a "make clean". Could be the cause.

-----Original Message-----
From: Richard Kershaw
To: 'squid-users '
Sent: 28-2-00 2:04
Subject: Re: File descriptor

On Thu, Feb 24, 2000 at 05:46:19PM +0100, Plak, Peter wrote:
> Thanks, Jonathan Fortin,
>
> I have tried five times to change the NR_OPEN setting in some head
files
> like fs.h & limits.h. And I also use "make menuconfig" to change the
> file
> descriptor(in "General setting"). But it seems nothing can affect
> limited
> 1024 open files.
> Of course, I'll find what the matter is. Let's work together.(In fact,
> I'm not
> so familiar with Linux Kernel, :))

/usr/include/linux/limit.h
NR_OPEN
OPEN_MAX
/usr/include/linux/fs.h
INR_OPEN
/usr/include/bin/types.h
__FD_SETSIZE
/usr/include/linux/posix_types.h
__FD_SETSIZE

As far as I can tell, the above values set the file descriptor
limits. (At least for REDHAT 6.0 + 6.1).

If you change the above then recompile, you should be fine.

Richard Kershaw
Web Server Administrator
Monash University, Australia


Richard Kershaw

unread,
Feb 28, 2000, 3:00:00 AM2/28/00
to squid-users

Martin Brooks

unread,
Feb 28, 2000, 3:00:00 AM2/28/00
to Ahsan Khan
Ahsan Khan wrote:
>
> well i have another tragedy, here after make bzImage when i copy the kernal
> to / root and add lilo i restarted and then see what my kernal got held just
> after unpacking the image file. anyhelp.?? I know its not linux mailing list
> but just for knowledge..?

What do you mean by 'got held'?

And why not simply reboot from your emergency boot disk?

--

Martin Brooks, Systems Administrator
mar...@gointernet.co.uk
---------------------------
Go Internet Ltd
36 Gloucester Avenue
NW1 7BB London UK
Phone +44-(0)20-7419 0001
Fax +44-(0)20-7419 6519


Ahsan Khan

unread,
Feb 28, 2000, 3:00:00 AM2/28/00
to Martin Brooks
Well i can use the emergency boot disk, well the point is that why my new
bzImage did not work after reinstalling. ???? I can recover that or reboot
that by oldlinux.??


Ahsan Saleem Khan
Sr.System Admin
OneNet (InterNet Division)
Sun Communications Pvt. Ltd.
http://www.one.net.pk

Henrik Nordstrom

unread,
Mar 5, 2000, 3:00:00 AM3/5/00
to Xue Junchao
Xue Junchao wrote:
>
> Hello,
>
> Who know how to increase the filedescriptor in RedHat 6.0?
> The default number is 1024. This is very limited.
> http://www.linux.org.za/filehandle.patch.linux/ content is
> not suitable to RedHat 6.0.

http://squid.sourceforge.net/hno/linux-lfd.html

--
Henrik Nordstrom
Squid hacker


0 new messages