tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: sysconfigdb -a -f
@ 1995-12-14 19:41 pobrien
  0 siblings, 0 replies; 2+ messages in thread
From: pobrien @ 1995-12-14 19:41 UTC (permalink / raw)
  To: tru64-unix-managers



The problem was indeed that /tmp was a sym-link.
It works fine otherwise.

-Patrick 



Forwarded message:
> From alpha-osf-managers-relay@sws1.ctd.ornl.gov Thu Dec 14 14:04 EST 1995
> Sender: alpha-osf-managers-relay@sws1.ctd.ornl.gov
> Followup-To: poster
> Precedence: bulk
> Date: Thu, 14 Dec 1995 13:44:13 -0500 (EST)
> From: "Patrick O'Brien" <pobrien@cfa.harvard.edu>
> Reply-To: "Patrick O'Brien" <pobrien@cfa.harvard.edu>
> X-Sender: pobrien@draco
> Reply-To: pobrien@cfa.harvard.edu
> To: alpha-osf-managers@ornl.gov
> Subject: sysconfigdb -a -f
> Message-Id: <Pine.SOL.3.91.951214133841.12973F-100000@draco>
> Mime-Version: 1.0
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> Content-Length: 1397
> 
> 
> 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
> 
> Systems Administrator
> Harvard-Smithsonian Center for Astrophysics
> 60 Garden Street
> Cambridge, MA 02138
> 
> 
> 
> 

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

* SUMMARY: sysconfigdb -a -f
@ 1995-12-15  3:07 pobrien
  0 siblings, 0 replies; 2+ messages in thread
From: pobrien @ 1995-12-15  3:07 UTC (permalink / raw)
  To: tru64-unix-managers

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@zk3.dec.com>
Donald Ritchey <dritchey@chipsi.com>
Paul E. Rockwell <rockwell@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

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

end of thread, other threads:[~1995-12-15  3:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-14 19:41 SUMMARY: sysconfigdb -a -f pobrien
  -- strict thread matches above, loose matches on Subject: below --
1995-12-15  3:07 pobrien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox