[clug] nr-file question

Peter Barker pbarker at barker.dropbear.id.au
Sun Oct 24 23:15:21 GMT 2004

On Sun, 24 Oct 2004, Andrew wrote:

> ulimit -a turns out 1024 open files - I know I can change this at the
> start of a bash script with ulimit -S -n 2048 (for example) (or in
> /etc/profile).  Where should I place this limit so it has the effect on
> any apache threads started? (Debian system)

portaluser at dragonfly:~$ grep 'ulimit' /etc/init.d/apache
ulimit -n 65536
portaluser at dragonfly:~$

That's where we put it. I don't know of any "correct" place in debian to
put it.

> Andrew

Peter Barker                          |   N    _--_|\ /---- Barham, Vic
Programmer,Sysadmin,Geek              | W + E /     /\
pbarker at barker.dropbear.id.au         |   S   \_,--?_*<-- Canberra
You need a bigger hammer.             |             v    [35S, 149E]
Thu Jan  8 12:27:35 2004  	nigelw - Comments added
[pbarker - Wed Jan  7 18:23:13 2004]:
> You are in a maze of twisty semantics. You have: a hammer.
You miss the semantic. \The semantic hits you. \You are permenantly confused.

More information about the linux mailing list