ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Gennadiy Redko <uit1@zaz.zp.ua>
To: slava@elan.com.ua, ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Необходим ли swap раздел?
Date: Thu, 12 Jan 2006 17:34:53 +0200
Message-ID: <43C6771D.4000703@zaz.zp.ua> (raw)
In-Reply-To: <43C6658E.4060706@elan.com.ua>

Slava Dubrovskiy пишет:
> Алексей Синицын пишет:
> 
> 
>>>Переносил систему с одного винта на другой и забыл сделать swap. Так ли
>>>он необходим? На машине стоит 1Гиг памяти и она используется как роутер,
>>>веб, почтовый сервер и т.д.
>>>   
>>>
>>
>>Существует интересный демон swapd, который по нужде создает файлы
>>подкачки в /swap
>>
>>
>>Description: swapd is watching free memory and creates additional swap
>>files as necessary.
>>swapd is a swap monitoring daemon.
>> 
>>
> 
> Спасибо. Это интересное решение. Как будет время посмотрю.
> 

А что мешает использовать под своп файл файловой системы?
Примерно так:
1. Создаем файл.
2.С помощью dd - делаем его нужного размера (dd if=/dev/zero
of=<наш файл> count=0xнужное количество мегабайт)
3. mkswap <наш файл>
4. swapon <наш файл>

Радуемся жизни.
При нужде изменение размера - не проблема.



  reply	other threads:[~2006-01-12 15:34 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-11 14:01 Slava Dubrovskiy
2006-01-11 14:11 ` Шенцев Алексей Владимирович
2006-01-11 14:59   ` Slava Dubrovskiy
2006-01-11 15:09     ` Шенцев Алексей Владимирович
2006-01-11 15:13       ` Alexey I. Froloff
2006-02-05 16:15         ` Sergey S. Skulachenko
2006-02-05 16:43           ` [Comm] " Michael Shigorin
2006-01-11 15:15       ` [Comm] " Nick S. Grechukh
2006-01-11 15:20       ` Alexei V. Mezin
2006-01-11 15:15     ` Nick S. Grechukh
2006-01-12  4:42 ` Мерзляков Евгений Анатольевич
2006-01-12  4:47   ` Мерзляков Евгений Анатольевич
2006-01-12 10:51     ` vformin
2006-01-12 11:18       ` Anton Gorlov
2006-01-12 11:33       ` Alex Yustasov
2006-01-15  0:04       ` [Comm] " Michael Shigorin
2006-01-15 10:02         ` Andrey Rahmatullin
2006-01-12 14:11 ` [Comm] " Алексей Синицын
2006-01-12 14:19   ` Slava Dubrovskiy
2006-01-12 15:34     ` Gennadiy Redko [this message]
2006-01-13  8:32       ` Алексей Синицын
2006-01-12 15:45   ` Gennadiy Redko
2006-01-13  8:00     ` Алексей Синицын

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43C6771D.4000703@zaz.zp.ua \
    --to=uit1@zaz.zp.ua \
    --cc=community@lists.altlinux.org \
    --cc=slava@elan.com.ua \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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