Re: file descriptors for squid using linux 2.2.1

From: Irfan Akber <irfan@dont-contact.us>
Date: Mon, 22 Feb 1999 21:42:56 -0000

Well squid sometimes cannot detect the actual limits. As in your earlier
email ulimit -a shows openfiles as 1024 that means squid should be able to
use 1024 open files. I dont know why it cant detect it. I guess a patch is
required then.

Irfan Akber

----------
> From: Marlon Anthony Abao <Marlon.Abao@Infodyne.Net>
> To: Irfan Akber <irfan@inet.com.pk>
> Subject: Re: file descriptors for squid using linux 2.2.1
> Date: Tuesday, February 23, 1999 6:22 AM
>
> won't this break things??
>
> if during compile, it allocates only 256, could i really force it to use
> the value in this tag?
>
>
> At 06:53 PM 2/22/99 -0000, you wrote:
> >Another thing that came to mind is max_open_disk_fds in squid.conf. Try
> >increasing this too.
> >
> >Irfan Akber
> >
> >----------
> >> From: Marlon Anthony Abao <Marlon.Abao@Infodyne.Net>
> >> To: Irfan Akber <irfan@inet.com.pk>
> >> Cc: squid-users <squid-users@ircache.net>
> >> Subject: Re: file descriptors for squid using linux 2.2.1
> >> Date: Tuesday, February 23, 1999 5:59 AM
> >>
> >> irfan,
> >>
> >> this is the new /proc/ filesystem in my box.
> >>
> >> cache:/proc/sys/fs# ls
> >> binfmt_misc/ dquot-max file-max inode-max inode-state
> >super-nr
> >> dentry-state dquot-nr file-nr inode-nr super-max
> >> cache:/proc/sys/fs# cat file-max
> >> 4096
> >> cache:/proc/sys/fs# cat inode-max
> >> 8192
> >> cache:/proc/sys/fs#
> >>
> >> and still i get a 256 value for fds on squid
> >>
> >> -marlon
> >>
> >> ps. anyone running squid on the new 2.2.x linux kernels?
> >>
> >>
> >>
> >> At 06:02 PM 2/22/99 -0000, Irfan Akber wrote:
> >> >I am not sure but it could be configurable using the /proc
filesystem.
> >Try
> >> >increasing the value of file-max.
> >> >
> >> >Irfan Akber
> >> >
> >> >----------
> >> >> From: Marlon Anthony Abao <Marlon.Abao@Infodyne.Net>
> >> >> To: squid-users@ircache.net
> >> >> Subject: file descriptors for squid using linux 2.2.1
> >> >> Date: Tuesday, February 23, 1999 4:02 AM
> >> >>
> >> >> guys,
> >> >> i just installed squid on a new box running linux kernel 2.2.1 and
> >squid
> >> >> complains that my kernel does not have enough file descriptors
(only
> >> >256).
> >> >>
> >> >> i thought that the new kernel has already lifted this limit without
> >need
> >> >> for anymore filehandle patches.
> >> >>
> >> >> is there any way to inform squid that this kernel could now handle
> >more
> >> >> than 256 fds at a time? or is there a special setting on the
kernel
> >to
> >> >> enable this?
> >> >>
> >> >> thanks.
> >> >>
> >> >> -marlon
> >> >>
> >> >
> >> >
> >
> >
Received on Mon Feb 22 1999 - 10:03:19 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:39 MST