SUMMARY: sysconfigdb -a -f

From: Patrick O'Brien <pobrien_at_draco.harvard.edu>
Date: Thu, 14 Dec 1995 22:07:40 -0500 (EST)

There are three workarounds and two possible causes. The
three workarounds are:

        make /tmp a real directory

        copy the /tmp file to /etc/sysconfigtab

        edit /etc/sysconfigtab manually

The two possible causes are:

        It's a bug, as it ought to work but fails under this condition.

        It's a feature, as it preempts race conditions in /tmp which
        could be exploited.

Thanks to:

Dr. Tom Blinn <tpb_at_zk3.dec.com>
Donald Ritchey <dritchey_at_chipsi.com>
Paul E. Rockwell <rockwell_at_rch.dec.com>
 
> Greetings
>
> I'm trying to modify the vm subsystem using sysconfigdb.
> In accordance with the man pages for stanza(4) and sysconfigdb(8)
> I've created newconfig.vm.stanza as below. However, running
> >
> sysconfigdb -a -f newconfig.vm.stanza vm
>
> > returns
> >
> /etc/sysconfigtab: Unable to update file from /tmp/sysconfigtabAAAaaxvta:
> Cross-device link. /tmp is a symlink to /local/tmp. Is that the problem,
> or am I missing something else?
>
> Regards,
>
> Patrick O'Brien
>
> Here's newconfig.vm.stanza:
>
> vm:
> ubc-minpercent=10
> ubc-maxpercent=40
> ubc-borrowpercent=10
> ubc-maxdirtywrites=5
> ubc-wait-for-io=1
> vm-max-wrpgio-kluster=32768
> vm-max-rdpgio-kluster=16384
> vm-cowfaults=4
> vm-mapentries=200
> vm-maxvas=1073741824
> vm-maxwire=16777216
> vm-heappercent=7
> vm-anonklshift=17
> vm-anonklpages=1
> vm-vpagemax=16384
> vm-segmentation=1
> vm-ubcpagesteal=24
> vm-ubcdirtypercent=10
> vm-ubcseqstartpercent=50
> vm-ubcseqpercent=10
> vm-csubmapsize=1048576
> vm-ubcbuffers=256
> vm-syncswapbuffers=128
> vm-asyncswapbuffers=4
> vm-clustermap=1048576
> vm-clustersize=65536
> vm-zone_size=0
> vm-kentry_zone_size=16777216
> vm-syswiredpercent=80
> vm-inswappedmin=1
> vm-page-free-target=128
> > vm-page-free-min=20
> vm-page-free-reserved=10
> vm-page-free-optimal=74
> dump-user-pte-pages=0
> kernel-stack-guard-pages=1
> vm-min-kernel-address=18446744071562067968
Received on Fri Dec 15 1995 - 04:31:56 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT