[erlang-questions] os:cmd/1 does not work for ulimit -n

MAthuvathanan Mou. cowboymathu@REDACTED
Thu May 14 11:07:57 CEST 2009

Hi all,

Using Linux (RedHat) I wanted to increase number of open files for that
session only (temporarily)

In the erl shell I did

Erlang (BEAM) emulator version 5.5.5 [source] [async-threads:0] [hipe]

Eshell V5.5.5  (abort with ^G)
1> os:cmd('ulimit -n').
2> os:cmd('ulimit -n 2048').
3> os:cmd('ulimit -n').

Why did open file not increase here?


Mathuvathanan Mou.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090514/189b3fd4/attachment.htm>

More information about the erlang-questions mailing list