Writeable file already in use

Reindl Harald h.reindl at thelounge.net
Tue Jan 5 18:19:51 UTC 2016

Am 05.01.2016 um 19:05 schrieb Darcy Kevin (FCA):
> http://unix.stackexchange.com/questions/190398/do-i-need-swap-space-if-i-have-more-than-enough-amount-of-ram

and the answer is clearly NO if you have *enough* RAM
you just have to define the "enough"

which means your workload and your useful buffercache fits in

when a have a machine (in my case only VMs) running over a full month 
with a 1 GB swap file and it's not used with a single MB i do NOT need 
stackexchange to answer that question

a dedicated authoritative-only namserver and to utilize the ressources a 
containered asterisk with hylafax and even a tiny webserver with a 
mysqld for the addressbook are doing that with 1.5 GB RAM:

[root at asterisk:~]$ free
               total        used        free      shared  buff/cache 
Mem:           1,5G        150M        886M         18M        460M 
Swap:            0B          0B          0B

what do you want to swap out there?

the machine has all blocks of the disks it ever accessed, the software 
and the data in it's memory and would not come to the idea swap anything 
out anyways

> -----Original Message-----
> From: bind-users-bounces at lists.isc.org [mailto:bind-users-bounces at lists.isc.org] On Behalf Of Reindl Harald
> Sent: Tuesday, January 05, 2016 12:19 PM
> To: bind-users at lists.isc.org
> Subject: Re: Writeable file already in use
> Am 05.01.2016 um 18:03 schrieb Barry Margolin:
>> In article <mailman.13.1452009325.73610.bind-users at lists.isc.org>,
>>    Alan Clegg <alan at clegg.com> wrote:
>>> On 1/5/16 6:26 AM, Jan-Piet Mens wrote:
>>>>> This might make you sad if you have lots of zones or large zones.
>>>> .. or even just want to look at what was transferred (whitout having
>>>> to recurse to a `dig axfr').
>>>> I see no reason to omit 'file' (except on a diskless slave ;-)
>>> I ran into one exception to this rule - it seemed that the customer
>>> had security requirements that did not allow "transient data" to be
>>> written to disk.  They had to make sure that if the physical device
>>> was stolen, all of their zone data didn't follow it out the door.
>> The in-memory copy is likely to end up in the swap partition
> a proper dimensioned server has no swap partition at all, at least no one od the servers i am responsible since 2008 had one and *for sure* the memory requirement of a authoritative nameserver is pretty clear to don#t need it

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20160105/49cab6d2/attachment.bin>

More information about the bind-users mailing list