Find Out Linux Orphan Processes Linuxの孤児のプロセスを見つける
It’s very important of terminating終端のは非常に重要だ Linuxリナックス processes in a proper way to avoid適切な方法で処理を避けるために Linuxリナックス hangs up without any trail in system log file.システムのログファイル内の任意の歩道ではハングします。 In short, Linux will hangs up without telling reasons in system log, when the master process (init, PID 1) becomes overloaded by too many orphan processes in a one go.一言で言えば、 Linuxのだろうがシステムログには、マスタープロセス( initプロセスは、 pidを1 )あまりにも多くの孤児のプロセスが1つになるのが過負荷になるの理由言わずにハングアップする。
Having say that, a normal user who has access to your Linux server is possible to easily kill your Linux serverを持つことは、通常のユーザーは、ご自分のLinuxサーバーにアクセスしていると言う簡単にLinuxサーバを殺すことが可能です in a minuteすぐに ! !
How could we able to detect and find out a runaway process or orphan process?どのように検出して暴走プロセスや孤児のプロセスを見つけることができる可能性があるか? There is a discussion onそこを議論している zombie VS orphanゾンビ対孤児 process, the orphan processes are identified asプロセスは、孤児のプロセスとして識別されます
non-system processes or user’s processes that are having PPID (parent process ID) of 1 (init process ID), via a mechanism known as re-parenting.非システムのプロセスや、 ( initプロセスID )を1 PPID (親プロセスID )を行っているユーザのプロセス、メカニズムとして知られている再-子育てを経由。
There are not much processes owned by init process.多くのプロセスがinitプロセスが所有されていません。 Apparently, most of the system processes that are running after system boots up are having PPID 1.どうやら、システムのほとんどは、システム起動後にPPID 1を実行しているプロセスを行っている。
So, soon after Linux system boots up, you can run this commandそのためには、 Linuxシステムの起動後すぐに、このコマンドを実行することができます
ps -elf | head -1; ps -elf | awk ‘{if ($5 == 1) {print $0}}’ psの-エルフ|頭-1 ;のps -エルフ| awkは' (するif ( $ 5 == 1 ) ( $ 0印刷) ) '
to snapshot all the processes with PPID 1. PPID 1スナップショットのすべてのプロセスに。 Keep that result.その結果を保管してください。 Thereafter, you may periodically run the command to compare the result of the time with snapshot taken earlier.その後、定期的にスナップショットを以前の撮影と一緒にいる時間の結果を比較するためには、コマンドを実行することがあります。 Any differences found in the new snapshot might be potentially being orphan processes.任意の違いは、新しいスナップショットを潜在的にされて孤児プロセスで発見される可能性があります。
Note, the differences found are only suggest that they’re potential (not confirm) orphan processes in Linux system.注:唯一の違いが見つかりましたが( )のLinuxシステムで孤児のプロセスを確認していない潜在していることをお勧めしています。 You have to get more info to confirm them before terminating those processes.これらのプロセスを終了する前にそれらを確認する詳細情報を取得する必要があります。 For example, how STIME figure, CPU utilization, understanding its purpose of executing, etc.たとえば、どのようにSTIME数字は、 CPU使用率、等を実行するという目的を理解する
Once you have confirm them, you should not hesitate to terminate them as soon as possible, by the kill -9 command, as orphan processes will drain out your Linux system resources over the time.一度それらを確認すると、できるだけ早くそれらを終了するには、孤児プロセスは時間をかけてご自分のLinuxシステムリソースを奪うと、 -9コマンドを殺すのためらうべきではない。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これはマシンとして"保証なしにされている"提供されているページを翻訳しています。 Machine translation may be difficult to understand.機械翻訳を理解するのが難しい場合があります。 Please refer toを参照してください original English articleオリジナルの英語の記事 whenever possible.可能な場合。
Share and contribute or get technical support and help at共有して貢献するかを得る技術サポートと支援 My Digital Life Forums 私のデジタルライフフォーラム . 。
Related Articles関連記事
- Running Google Earth on Suse Linux with VMware Suse Linux上にVMwareとGoogle Earthを実行している
- Cheapest Linux Box Ever最も格安のLinuxボックスまで
- Download Process Explorer 11.02 to Know Which File or Directory OpenダウンロードProcess Explorerを知っている2月11日には、ファイルまたはディレクトリを開きます
- How to Check Memory Usage in Linux based ServerどのようにサーバベースのLinuxでメモリ使用量を確認する
- Mandriva Linux 2008 Available for Downloading Mandriva Linuxの2008年のダウンロードが可能です。
- Get Ready for Linux Genuine Advantage (LGA) - with Source and Crack LinuxのGenuine Advantageの( LGA )の準備をしなさい-ソースやクラックで
- Display Path and File Name of Active Running Processes (Image) in Windows Vista Task Managerディスプレイのパスと積極的なWindows Vistaのタスクで実行中のプロセス(画像)マネージャのファイル名
- Identify The Running Processes Via ProcessQuickLink識別、実行中のプロセスを介しProcessQuickLink
- Ubuntu 6.06 Reviews Ubuntuの6.06レビュー
- Change User Name on Linux Linux上で変更するユーザ名
































