Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 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: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
* 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:24 Increasing available File Descriptors Greg Lindahl
1998-08-21 19:46 ` Chris Price
1998-08-21 20:13   ` Gavin
  -- strict thread matches above, loose matches on Subject: below --
1998-08-21 19:53 Greg Lindahl
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