ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Вопрос к ядреным спецам
@ 2002-12-05 14:54 Someone Unknown
  2002-12-05 15:52 ` [Comm] " ASA
  0 siblings, 1 reply; 3+ messages in thread
From: Someone Unknown @ 2002-12-05 14:54 UTC (permalink / raw)
  To: community

Образовался вопрос к спецам по ядру: в случае возникновения ситуации out of 
memory - чем руководствуется ядро, выбирая порядок убийства процессов?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Comm] Re: [Comm] Вопрос к ядреным спецам
  2002-12-05 14:54 [Comm] Вопрос к ядреным спецам Someone Unknown
@ 2002-12-05 15:52 ` ASA
  2002-12-05 16:27   ` Someone Unknown
  0 siblings, 1 reply; 3+ messages in thread
From: ASA @ 2002-12-05 15:52 UTC (permalink / raw)
  To: Someone Unknown

Hello Someone,

Thursday, December 5, 2002, 6:54:15 PM, you wrote:

SU> Образовался вопрос к спецам по ядру: в случае возникновения ситуации out of 
SU> memory - чем руководствуется ядро, выбирая порядок убийства процессов?┼э

/usr/src/linux/mm/oom_kill.c

Алгоритм довольно простой, по каждому процессу вычисляется число
штрафных очков, у кого больше, тот и прибивается.
За конкретными критериями - что влияет на число баллов - смотри
исходник.

-- 
Best regards,
 ASA                            mailto:llb@udm.ru



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] Re: [Comm] Вопрос к ядреным спецам
  2002-12-05 15:52 ` [Comm] " ASA
@ 2002-12-05 16:27   ` Someone Unknown
  0 siblings, 0 replies; 3+ messages in thread
From: Someone Unknown @ 2002-12-05 16:27 UTC (permalink / raw)
  To: community

> SU> Образовался вопрос к спецам по ядру: в случае возникновения ситуации
> out of SU> memory - чем руководствуется ядро, выбирая порядок убийства
> процессов?┼э
>
> /usr/src/linux/mm/oom_kill.c
>
> Алгоритм довольно простой, по каждому процессу вычисляется число
> штрафных очков, у кого больше, тот и прибивается.
> За конкретными критериями - что влияет на число баллов - смотри
> исходник.

Спасибо за наводку, буду разбираться...

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-05 16:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-05 14:54 [Comm] Вопрос к ядреным спецам Someone Unknown
2002-12-05 15:52 ` [Comm] " ASA
2002-12-05 16:27   ` Someone Unknown

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git