* Re: Increasing available File Descriptors
@ 1998-08-21 19:53 Greg Lindahl
0 siblings, 0 replies; 5+ messages in thread
From: Greg Lindahl @ 1998-08-21 19:53 UTC (permalink / raw)
To: axp-list
> > echo 8192 > /proc/sys/kernel/file-max
> > echo 8192 > /proc/sys/kernel/inode-max
>
> Sorry Greg, but this does not work. After I do teh above commands,
> Squid reports back only 256 available for it's use, even after a shutdown
> and restart.
Sorry, I didn't notice this was a single process. There is no useful
way to increase the number of fd's available for a single process. You
would have to recompile the kernel and glibc and all processes would
get bigger. Most commercial OSes offer a much easier and more dynamic
method of increasing fds/process.
-- g
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Increasing available File Descriptors
@ 1998-08-21 19:24 Greg Lindahl
1998-08-21 19:46 ` Chris Price
0 siblings, 1 reply; 5+ messages in thread
From: Greg Lindahl @ 1998-08-21 19:24 UTC (permalink / raw)
To: axp-list
> I am running the Squid caching proxy server and seem to be running
> out of FD's on a intermittent basis. Is there a way to tell a running
> system to increase the number of available FD's without rebooting?
echo 8192 > /proc/sys/kernel/file-max
echo 8192 > /proc/sys/kernel/inode-max
-- g
[ this should be in the FAQ, and I also posted it just a few minutes
ago, but hey... ]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Increasing available File Descriptors
1998-08-21 19:24 Greg Lindahl
@ 1998-08-21 19:46 ` Chris Price
1998-08-21 20:13 ` Gavin
0 siblings, 1 reply; 5+ messages in thread
From: Chris Price @ 1998-08-21 19:46 UTC (permalink / raw)
To: axp-list
On Fri, 21 Aug 1998, Greg Lindahl wrote:
> > I am running the Squid caching proxy server and seem to be running
> > out of FD's on a intermittent basis. Is there a way to tell a running
> > system to increase the number of available FD's without rebooting?
>
> echo 8192 > /proc/sys/kernel/file-max
> echo 8192 > /proc/sys/kernel/inode-max
Sorry Greg, but this does not work. After I do teh above commands,
Squid reports back only 256 available for it's use, even after a shutdown
and restart.
Any ideas?
Thanks
Chris
>
> -- g
>
> [ this should be in the FAQ, and I also posted it just a few minutes
> ago, but hey... ]
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Increasing available File Descriptors
1998-08-21 19:46 ` Chris Price
@ 1998-08-21 20:13 ` Gavin
0 siblings, 0 replies; 5+ messages in thread
From: Gavin @ 1998-08-21 20:13 UTC (permalink / raw)
To: axp-list, cprice
Hi Chris
I do remember someone posting a way how to do this ..
you had to recompile a lot of stuff and patch quite a lot of files ..
i checked my archive .. but i have not found it yet .. maybe anyone else has
it handy ?
Regards
Gavin
Chris Price wrote:
> On Fri, 21 Aug 1998, Greg Lindahl wrote:
>
> > > I am running the Squid caching proxy server and seem to be running
> > > out of FD's on a intermittent basis. Is there a way to tell a running
> > > system to increase the number of available FD's without rebooting?
> >
> > echo 8192 > /proc/sys/kernel/file-max
> > echo 8192 > /proc/sys/kernel/inode-max
>
> Sorry Greg, but this does not work. After I do teh above commands,
> Squid reports back only 256 available for it's use, even after a shutdown
> and restart.
>
> Any ideas?
>
> Thanks
>
> Chris
>
> >
> > -- g
> >
> > [ this should be in the FAQ, and I also posted it just a few minutes
> > ago, but hey... ]
> >
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
> >
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Increasing available File Descriptors
@ 1998-08-21 19:20 Chris Price
0 siblings, 0 replies; 5+ messages in thread
From: Chris Price @ 1998-08-21 19:20 UTC (permalink / raw)
To: axp-list
Hi;
I am running the Squid caching proxy server and seem to be running
out of FD's on a intermittent basis. Is there a way to tell a running
system to increase the number of available FD's without rebooting?
I suspect that this is a small hack I will have to make to my
source code and then re-compile. If that is the case, which file(s) in the
source tree contain the necessary info to change the FD amount?
Thanks...
Chris
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-08-21 20:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-21 19:53 Increasing available File Descriptors Greg Lindahl
-- strict thread matches above, loose matches on Subject: below --
1998-08-21 19:24 Greg Lindahl
1998-08-21 19:46 ` Chris Price
1998-08-21 20:13 ` Gavin
1998-08-21 19:20 Chris Price
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox