-----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
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 Saleem Khan
Sr.System Admin
OneNet (InterNet Division)
Sun Communications Pvt. Ltd.
http://www.one.net.pk
http://squid.sourceforge.net/hno/linux-lfd.html
--
Henrik Nordstrom
Squid hacker