Re: Number of open files per process
From: Joel Reicher (joel_at_panacea.null.org)
Date: 10/05/04
- Previous message: Gregg C Levine: "Re: DHCP and ordinary networking"
- In reply to: Benjamin Walkenhorst: "Number of open files per process"
- Next in thread: Benjamin Walkenhorst: "Re: Number of open files per process"
- Reply: Benjamin Walkenhorst: "Re: Number of open files per process"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 04 Oct 2004 22:57:53 GMT
Benjamin Walkenhorst <krylon@gmx.net> writes:
> How do I change the maximum number of files a process can keep open?
> Can I change this dynamically (e.g. via sysctl) or do I have to set it
> statically in the kernel?
The max number of file descriptors is a resource limit. Look up how
your favourite shell sets them (csh uses `limit', sh uses
`ulimit'). Increasing the soft limit might be enough for you. If you
want to change the hard limit, you'll have to be root.
Cheers,
- Joel
- Previous message: Gregg C Levine: "Re: DHCP and ordinary networking"
- In reply to: Benjamin Walkenhorst: "Number of open files per process"
- Next in thread: Benjamin Walkenhorst: "Re: Number of open files per process"
- Reply: Benjamin Walkenhorst: "Re: Number of open files per process"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|