Apple moved to launchd rather than sysctl for persisting things like maxfiles and other things you might find with ulimit. See the output of: launchctl limit To set a new limit: launchctl limit maxfiles 1024 2048 To persist these things across reboots, create: /etc/launchd.conf and add just the arguments to the launchctl program: limit maxproc 512 1024 limit maxfiles 1024 2048 Now new shells creat
Which command / configuration file controls the open file limits on OS X? Is there a different command for OS X 10.5 / 10.6 / 10.7? The options I explore below are ulimit, sysctl, and launchctl "Too many open files" is apparently a common error on Leopard, perhaps other versions of OS X: 420 Too Many Open Files How to properly increase ulimit -n on Lion? Where are the default ulimits specified on
概要[編集] daemon や agent を管理するコマンドです。 場所:/bin/launchctl OS X のバージョン:Mac OS X 10.4 Tiger からは、superdaemon の launchd が導入されましたが、 この launchd の動作をコントロールする CUI プログラムが、launchctl コマンドです。 同じ操作を GUI で行う Lingon というアプリケーションもあります。 使い方[編集] 基本的な使い方は、以下の通りです。 launchctl subcommand [args...] subcommand には load,unload,list,stop,start などのオプションがあります。 なお、daemonやagentを実行するユーザー権限の都合上、 システムのdaemonなどを扱うときはsudo等を使う必要があります。 詳細は、
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く