* ALPHA/OSF1 info wanted; Again
@ 1993-12-14 0:30 Ed McQuillen
1993-12-27 22:10 ` Randy M. Hayman
0 siblings, 1 reply; 69+ messages in thread
From: Ed McQuillen @ 1993-12-14 0:30 UTC (permalink / raw)
Since I got no takers the first time I'm going to repost:
Howdy,
Not sure if this is the relevant place or not, but here goes:
I'm looking for any horror stories about DEC's 3000/* series. My
company has a large number of Ultrix boxes that they are looking to
upgrade/replace. The user community seems to prefer HP and SUN to the
Alpha because of software availabity and our own ability to achieve
the published performance numbers. Our own benchmarks indicate that
we only get about 80% of Alpha's performance, at best. Management,
however, is getting the HARD sell from DEC. Personally, I'm a little
queasy about switching to such an immature system. I've heard rumors
that some of the older Alphas becoming open-pit barbecues... Any truth
to this? If the problem existed has it been fixed? Any other
problems either hardware or software (OSF-1) out there ?
If this isn't the most appropriate place for this inquiry please
direct me to a better forum.
I appreciate your time.
--------------------------------------------------------------------------------
- Ed McQuillen - Thumbing my nose at Windose; Running Linux a free Unix for>=386
Home: data=(817)468-9596(sometimes);email=mcquill@feenix.metronet.com
voice=(817)784-8581 ;
Work: voice=(214)603-9086;email=mcquill%engcon@uunet.uu.net(for a limited time)
--------------------------------------------------------------------------------
--
--------------------------------------------------------------------------------
- Ed McQuillen - Thumbing my nose at Windose; Running Linux a free Unix for>=386
Home: data=(817)468-9596(sometimes);email=mcquill@feenix.metronet.com
voice=(817)784-8581 ;
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1993-12-14 0:30 ALPHA/OSF1 info wanted; Again Ed McQuillen
@ 1993-12-27 22:10 ` Randy M. Hayman
1993-12-28 3:48 ` -=Runaway Daemon=-
` (2 more replies)
0 siblings, 3 replies; 69+ messages in thread
From: Randy M. Hayman @ 1993-12-27 22:10 UTC (permalink / raw)
In article <CI01E8.EoH@metronet.com>, mcquill@metronet.com (Ed McQuillen) writes:
|>
|>Since I got no takers the first time I'm going to repost:
|>
|>
<snip>
Most likely no takers because there aren't any horror stories 8'). My
3000-300 running OSF/1 (and the rest of the AXPs here on campus that I am
aware of) have just worked - a couple of minor inconveniences, but no real
problems, and certainly nothing like a horror story (again, that I'm aware of).
--
Randy M. Hayman HaymanR@icefog.uacn.alaska.edu
"It's a good thing we don't get all the government we pay for."
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1993-12-27 22:10 ` Randy M. Hayman
@ 1993-12-28 3:48 ` -=Runaway Daemon=-
1993-12-28 20:18 ` Andrew Gallatin
1993-12-31 17:59 ` Wuxu Peng
2 siblings, 0 replies; 69+ messages in thread
From: -=Runaway Daemon=- @ 1993-12-28 3:48 UTC (permalink / raw)
In article <1993Dec27.221011.23338@raven.alaska.edu>,
Randy M. Hayman <HaymanR@icefog.uacn.alaska.edu> wrote:
>Most likely no takers because there aren't any horror stories 8'). My
>3000-300 running OSF/1 (and the rest of the AXPs here on campus that I am
>aware of) have just worked - a couple of minor inconveniences, but no real
>problems, and certainly nothing like a horror story (again, that I'm aware of).
>
>Randy M. Hayman HaymanR@icefog.uacn.alaska.edu
I missed the original post but..
How's this for a horror story.
I've got a number of perl scripts to handle incoming mail. I wrote them
a long time ago to use mh on an ultrix machine when 'slocal' was
totally broken. We recently upgraded one of our DS5000/240 machines with
10k+ users to an AXP 3000/400. Everything seemed to be going ok
as far as the perl scripts go until the other day I realized I wasn't
getting notified of new mail. I checked and I had about 15 perl processes
stuck in the background, and the mailq showed at least that number of mail
messages waiting to be delivered. I discovered that unlike ultrix,
osf does not clean up it's ttys when people log out. It leaves them owned
by a given person until someone else takes the tty. Ultrix and just about
every other Os I've seen chowns them to root when someone leaves.
Sooo.. I realized the problem was that my perl script was trying to write
to all ttys owned by me.. big mistake.. it froze on every tty owned by me
but not in use by me. I started killing perl processes.. Killed
the sh -c perl.... as sendmail calls it.. and then the associated perl
process.. BOOM.. the machine dies.. Not sure if it's coincidence I run
into work and try it again.. BOOM.. the machine goes down again.. Call up
the admin.. "Errr.. I think I may be crashing the machine ... Want to kill
some processes?" WE managed to kill it 5 times. Got 4 good crash logs
and hopefully field support can do something with it. Anyway, something
about unused ttys, sendmail and perl.... Just say no.
Other than that only about a hundred things were broken after the upgrade.
I read user's help mail so I get to see them all.. ;)
Enhanced security is a bit sticky.
ntalk and talk ports are swapped..
lack of non-dec terminals in /etc/termcap
osf/1 uses ^H, ultrix uses ^?
osf/1 has a serious problem detecting connection speed with telnet from ultrix
stty everything shows 0 baud if you telnet from ultrix to osf/1, even on
axposf.pa.dec.com) We put stty dec -tabs erase ^? 38400 in the system
login to fix a variety of problems..
Ok.. maybe not hundreds.. It's been fun though..
ian
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1993-12-27 22:10 ` Randy M. Hayman
1993-12-28 3:48 ` -=Runaway Daemon=-
@ 1993-12-28 20:18 ` Andrew Gallatin
1993-12-31 18:47 ` Dan Mosedale
1993-12-31 17:59 ` Wuxu Peng
2 siblings, 1 reply; 69+ messages in thread
From: Andrew Gallatin @ 1993-12-28 20:18 UTC (permalink / raw)
In article <1993Dec27.221011.23338@raven.alaska.edu>,
Randy M. Hayman <HaymanR@icefog.uacn.alaska.edu> wrote:
>
>In article <CI01E8.EoH@metronet.com>, mcquill@metronet.com (Ed McQuillen) writes:
>|>
>|>Since I got no takers the first time I'm going to repost:
>
><snip>
>
>Most likely no takers because there aren't any horror stories 8'). My
<snip>
Or because a lot of us with Alphas are too busy to post ;-\
We have 3 alphas - a 3000/500x that was here before I was, and 2
3000/400's that arrived about 2 months late.
The first thing I noticed as I began to install them was "Open VMS" on
the bill of lading. (They were ordered with OSF/1). Fire the first
one up, sure enough -- Open VMS was pre-loaded. Just for the hell of
it, I tried the second one, hoping for OSF. This one was completely
DOA nothing appeared on the monitor, and nothing would appear on an
alternate console.
Well, a DEC service man showed up the same day with an OSF/1 cd. We
got the one running OpenVMS re-installed with OSF/1 that day, and the
next week the DOA machine had gotten a new motherboard and was
running OK. However, both machines needed firmware upgrades to be
fully compatable with OSF/1. The one that booted originally needed a
new motherboard to accept the firmware update, and the DOA machine
needed a framebuffer. All this was finished about 2 months after we
got the machines. We still don't have OSF/1 boot cd's, or docs..
OSF/1 1.3 itself (at least as implemented by DEC) is a dog. 32M of
memory is totally inadequate for a single user workstation. The boot
prom (of all things) eats up about 2M, and the OS another 6, leaving
about 24 for user programs. Rebuilding the kernel when you have
neither docs, nor a boot cd is a real adventure..
The location of programs, strange startup procedure, and the horrible
forrest of symbolic links takes a little getting used to if you are
coming from a BSDish environment like SunOS or Ultrix, but its much
better than Solaris.
We have had a few crashes, mainly dealing with NFS bugs, or from
running out of swap space, but the machines have usually stayed up for
weeks at a time.
As I'm sure you have noticed by reading this group, porting software
to this 64bit architecture is no fun either. Some things work right
out of the box, but others take hours or days. Third party software
is still sparse (as compared to the sparc world).
Don't get me wrong, these are wonderful, fast machines, and I wouldn't
hesitate to recommend them for serious number crunching jobs.
However, make sure you get enough memory. And don't totally rely on
these machines for your general purpose computing needs. And don't
rely on DEC to fix (or ship) anything unless you remind them often..
I'm seriously considering IBM or HP the next time we buy something.
Drew
(reading news on an old grad school account)
##############################################################################
# Andrew Gallatin, System Administrator #
# Institute of Statistics and Decision Sciences #
# Box 90251, Duke University, Durham, NC 27708-0251 #
# email: gallatin@isds.duke.edu #
##############################################################################
--
"Early to bed, early to rise, makes a man sleepy and bleary in the eyes"
Andrew Gallatin gallatin@cs.rpi.edu
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1993-12-27 22:10 ` Randy M. Hayman
1993-12-28 3:48 ` -=Runaway Daemon=-
1993-12-28 20:18 ` Andrew Gallatin
@ 1993-12-31 17:59 ` Wuxu Peng
1993-12-31 18:50 ` Dan Mosedale
` (3 more replies)
2 siblings, 4 replies; 69+ messages in thread
From: Wuxu Peng @ 1993-12-31 17:59 UTC (permalink / raw)
Randy M. Hayman (HaymanR@icefog.uacn.alaska.edu) wrote:
: In article <CI01E8.EoH@metronet.com>, mcquill@metronet.com (Ed McQuillen) writes:
: |>
: |>Since I got no takers the first time I'm going to repost:
: |>
: |>
: Most likely no takers because there aren't any horror stories 8'). My
Indeed, I haven't encountered horrible experiences with my Alpha box.
Overall, it appears that Alpha is improved over Ultrix and I am happy
with it. As evidence, I have successfully compiled several packages
which previously my Ultrix station couldn't compile. Most public
domain packages of interestes to me have been successfully compiled
and installed by now. I was most annoyed by Ultrix's memory leak
problem. Still don't know whether Alpha has such a problem. Even
if it has, it appears the problem less severe.
However, one thing puzzling me and my colleagues here is the following.
Alpha normally appears much faster than Ultrix on ordinary duties.
However, whenever the C compiler is being invoked to compile a
package, the whole system slows down significantly. The response
is much slower, even though there is only one user. It seems that
Alpha dedicated too much time and priority to the compilation job.
This happens on both lasy swap and dedicated swap modes.
--
--wuxu peng (peng@pirates.cs.swt.edu)
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1993-12-28 20:18 ` Andrew Gallatin
@ 1993-12-31 18:47 ` Dan Mosedale
0 siblings, 0 replies; 69+ messages in thread
From: Dan Mosedale @ 1993-12-31 18:47 UTC (permalink / raw)
gallatin@pleiades.cs.rpi.edu (Andrew Gallatin) writes:
>
>OSF/1 1.3 itself (at least as implemented by DEC) is a dog.
This isn't really true. In fact, your problem is:
>32M of memory is totally inadequate for a single user workstation.
This is, unfortunately, entirely correct.
>The location of programs, strange startup procedure, and the horrible
^^^^^^^^^^^^^^^^^^^^^^^^^
>forrest of symbolic links takes a little getting used to if you are
>coming from a BSDish environment like SunOS or Ultrix, but its much
>better than Solaris.
This is, in fact, the standard SysV startup procedure, with rc.*
directories. It's much nicer and more flexible than a single
rc.local.
>We have had a few crashes, mainly dealing with NFS bugs, or from
>running out of swap space, but the machines have usually stayed up for
>weeks at a time.
I have a 3000/400, and will also confim that it it's quite stable. At
the moment, for example:
10:42 up 26 days, 16:22, 6 users, load average: 0.40, 0.10, 0.05
>As I'm sure you have noticed by reading this group, porting software
>to this 64bit architecture is no fun either. Some things work right
>out of the box, but others take hours or days.
This is true, however, all of the big freeware packages (perl, emacs,
etc.) have been ported and are available either for ftp or on DEC's
Alpha Freeware CD, or both.
>Third party software is still sparse (as compared to the sparc
>world).
True.
>Don't get me wrong, these are wonderful, fast machines, and I wouldn't
>hesitate to recommend them for serious number crunching jobs.
>However, make sure you get enough memory.
Agreed.
I've been very happy with DEC OSF/1. It is a very nice operating
system, with the best of both BSD and SysV.
Disclaimer: we got our DEC machines through a grant from Digital for
the Human Genome Program.
--
Dan Mosedale, Systems Admin Email: mosedale@genome.Stanford.EDU
Stanford Genetics Department
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1993-12-31 17:59 ` Wuxu Peng
@ 1993-12-31 18:50 ` Dan Mosedale
1993-12-31 20:22 ` Wuxu Peng
1993-12-31 19:59 ` ivie
` (2 subsequent siblings)
3 siblings, 1 reply; 69+ messages in thread
From: Dan Mosedale @ 1993-12-31 18:50 UTC (permalink / raw)
peng@pirates.cs.swt.edu (Wuxu Peng) writes:
>
>However, one thing puzzling me and my colleagues here is the following.
>Alpha normally appears much faster than Ultrix on ordinary duties.
>However, whenever the C compiler is being invoked to compile a
>package, the whole system slows down significantly. The response
>is much slower, even though there is only one user. It seems that
>Alpha dedicated too much time and priority to the compilation job.
>This happens on both lasy swap and dedicated swap modes.
I noticed this as well. I'll be willing to bet that one or both of
the following is true for you:
- you are running DEC OSF version 1.2
- you don't have enough memory (eg 32 megs on a 3000/400).
Both were true for me; now I'm running 1.3A on a 64 Meg 3000/400, and
things are much smoother.
--
Dan Mosedale, Systems Admin Email: mosedale@genome.Stanford.EDU
Stanford Genetics Department
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1993-12-31 17:59 ` Wuxu Peng
1993-12-31 18:50 ` Dan Mosedale
@ 1993-12-31 19:59 ` ivie
1994-01-03 8:29 ` Wilko Bulte
1994-01-03 13:13 ` John T. Kohl
[not found] ` <2g1s9h$lbo@nntp2.stanford.edu>
1994-01-11 3:33 ` Hamish Marson
3 siblings, 2 replies; 69+ messages in thread
From: ivie @ 1993-12-31 19:59 UTC (permalink / raw)
In article <2g1p9n$h35@pirates.cs.swt.edu>, peng@pirates.cs.swt.edu (Wuxu Peng) writes:
> However, one thing puzzling me and my colleagues here is the following.
> Alpha normally appears much faster than Ultrix on ordinary duties.
> However, whenever the C compiler is being invoked to compile a
> package, the whole system slows down significantly. The response
> is much slower, even though there is only one user. It seems that
> Alpha dedicated too much time and priority to the compilation job.
> This happens on both lasy swap and dedicated swap modes.
I see this sort of thing whenever I do disk-intensive thingies. For example,
if you have a couple of really big files and execute a shell script to
infinitely copy them to /dev/null, after a couple of minutes the machine is
pretty much gone. It's as if the disk cache takes over all of memory or
something.
Another esoteric thing that I've seen involves interrupt latency. When a
process that has allocated a lot of memory exits, the system sees a long
interrupt latency while the process is cleaned up. Under the real-time
kernel with a process that allocates and touches 80MB of memory, the
interrupt latency can be around 150 milliseconds. DEC found the problem
and it will be fixed in 2.0, but the system will probably still not be
able to schedule new jobs during that 150 milliseconds; it will only be
able to take interrupts.
My other gripe is that you can no longer mmap() a device. Even though it
is possible on the TURBOchannel, I have yet to find a combination of
flags, etc. for the mmap(2) call that causes the device driver's mmap()
entry to be invoked. Of course, even if the driver's mmap() entry _were_
invoked, there is no documentation about what it's supposed to do...
--
----------------+------------------------------------------------------
Roger Ivie | Don't think of it as a 'new' computer, think of it as
ivie@cc.usu.edu | 'obsolete-ready'
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1993-12-31 18:50 ` Dan Mosedale
@ 1993-12-31 20:22 ` Wuxu Peng
1994-01-04 0:44 ` Dan Mosedale
0 siblings, 1 reply; 69+ messages in thread
From: Wuxu Peng @ 1993-12-31 20:22 UTC (permalink / raw)
Dan Mosedale (mosedale@aeffle.Stanford.EDU) wrote:
: peng@pirates.cs.swt.edu (Wuxu Peng) writes:
: >
: >However, one thing puzzling me and my colleagues here is the following.
: I noticed this as well. I'll be willing to bet that one or both of
: the following is true for you:
: - you are running DEC OSF version 1.2
: - you don't have enough memory (eg 32 megs on a 3000/400).
: Both were true for me; now I'm running 1.3A on a 64 Meg 3000/400, and
: things are much smoother.
I don't if you win or lose here :)
I have a 32Me 3000/300 in my office, running OSF1.3a.
It seems that I have to upgrade to 64Meg?
--
--wuxu peng (peng@pirates.cs.swt.edu)
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
[not found] ` <2g1s9h$lbo@nntp2.stanford.edu>
@ 1994-01-01 10:22 ` -=Runaway Daemon=-
1994-01-01 20:43 ` Dave Cherkus
0 siblings, 1 reply; 69+ messages in thread
From: -=Runaway Daemon=- @ 1994-01-01 10:22 UTC (permalink / raw)
In article <2g1s9h$lbo@nntp2.stanford.edu>,
Dan Mosedale <mosedale@aeffle.Stanford.EDU> wrote:
>peng@pirates.cs.swt.edu (Wuxu Peng) writes:
>[notes a slow responce]
>I noticed this as well. I'll be willing to bet that one or both of
>the following is true for you:
I'm not associated with Mr. Peng's machine but I'd like to point out here.
>- you are running DEC OSF version 1.2
We're running version 1.3
>- you don't have enough memory (eg 32 megs on a 3000/400).
128 megs of RAM on two 3000/400 machines
>Both were true for me; now I'm running 1.3A on a 64 Meg 3000/400, and
>things are much smoother.
Thinks are a little smoother but the effect can still be quite pronounced.
I notice it with the compiler, news spooling, threading etc.. Any time
the machine encounters a task that would love to eat 100% of the cpu cycles
OSF/1 seems to overallocate time to it, slowing interactive processes down
considerably. One of the two machines here has a userbase of 10k or
so, and while I find it impressive that it can run a load of 0.5 with
70 people logged in, if someone starts up a 'find', bang.. the responce
time for all 70 people goes down quite noticably until the process is done.
Fortunately te compiler has been disabled on this particular general
purpose machine or it would be doggin' much more. We put the machine up
at the end of the semester so it'll be interesting to see what happens
when we get back to 150 users logged in at once.
I've also notice some odd things when the load goes up to around 4 or beyond
in the way it allocates cpu time almost too strictly. It's certainly
different from ultrix.. :)
>Dan Mosedale, Systems Admin Email: mosedale@genome.Stanford.EDU
ian
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1994-01-01 10:22 ` -=Runaway Daemon=-
@ 1994-01-01 20:43 ` Dave Cherkus
1994-01-02 11:21 ` Martin Cracauer
0 siblings, 1 reply; 69+ messages in thread
From: Dave Cherkus @ 1994-01-01 20:43 UTC (permalink / raw)
>Thinks are a little smoother but the effect can still be quite pronounced.
>I notice it with the compiler, news spooling, threading etc.. Any time
>the machine encounters a task that would love to eat 100% of the cpu cycles
>OSF/1 seems to overallocate time to it, slowing interactive processes down
>considerably. One of the two machines here has a userbase of 10k or
>so, and while I find it impressive that it can run a load of 0.5 with
>70 people logged in, if someone starts up a 'find', bang.. the responce
>time for all 70 people goes down quite noticably until the process is done.
>Fortunately te compiler has been disabled on this particular general
>purpose machine or it would be doggin' much more. We put the machine up
>at the end of the semester so it'll be interesting to see what happens
>when we get back to 150 users logged in at once.
'find' is not cpu-intensive, it is i/o intensive.
The same can be said for most compilers. Granted they have a fair
amount of CPU work to do, but much of their work is reading and writing
program and intermediary files. Also, most compilers use large amounts
of virtual space, so the i/o system gets involved in this way as well
(supplying pages to the virtual memory system).
Keep in mind that it is the same turbochannel in the Alpha that was in
the 5000/200, yet the cpu puts at much larger load onto it. I hope you
have reasonable disks (i.e. I hope you retired the rz5x's with the
5000/200 and bought rz2x's instead of rz7x's...) and that you spread
the load across the drives/controllers.
This isn't to say that there are no scheduler problems in the presence
of CPU bound jobs. There was work released in 1.3 to address some of
the things people have reported. It is just saying that the examples
you site indicate an i/o starved machine instead of a cpu starved
machine. Examination of vmstat output when the system is heavily
loaded would be interesting.
----
Dave Cherkus UniMaster, Inc. cherkus@unimaster.com
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1994-01-01 20:43 ` Dave Cherkus
@ 1994-01-02 11:21 ` Martin Cracauer
0 siblings, 0 replies; 69+ messages in thread
From: Martin Cracauer @ 1994-01-02 11:21 UTC (permalink / raw)
cherkus@fastball.unimaster.com (Dave Cherkus) writes:
>>Thinks are a little smoother but the effect can still be quite pronounced.
>>I notice it with the compiler, news spooling, threading etc.. Any time
>>the machine encounters a task that would love to eat 100% of the cpu cycles
>>OSF/1 seems to overallocate time to it, slowing interactive processes down
>>considerably. One of the two machines here has a userbase of 10k or
>>so, and while I find it impressive that it can run a load of 0.5 with
>>70 people logged in, if someone starts up a 'find', bang.. the responce
>>time for all 70 people goes down quite noticably until the process is done.
>>Fortunately te compiler has been disabled on this particular general
>>purpose machine or it would be doggin' much more. We put the machine up
>>at the end of the semester so it'll be interesting to see what happens
>>when we get back to 150 users logged in at once.
>'find' is not cpu-intensive, it is i/o intensive.
Try to use an own disk for swapping with its own SCSI
controller. Holding swap and data on the same disk or bus could cause
your effect.
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@wavehh.hanse.de>,Voice+4940-5221829,Fax.-5228536
Smile! >8=B >:)
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1993-12-31 19:59 ` ivie
@ 1994-01-03 8:29 ` Wilko Bulte
1994-01-03 13:13 ` John T. Kohl
1 sibling, 0 replies; 69+ messages in thread
From: Wilko Bulte @ 1994-01-03 8:29 UTC (permalink / raw)
ivie@cc.usu.edu writes:
>In article <2g1p9n$h35@pirates.cs.swt.edu>, peng@pirates.cs.swt.edu (Wuxu Peng) writes:
>> However, one thing puzzling me and my colleagues here is the following.
>> Alpha normally appears much faster than Ultrix on ordinary duties.
>> However, whenever the C compiler is being invoked to compile a
>> package, the whole system slows down significantly. The response
>I see this sort of thing whenever I do disk-intensive thingies. For example,
>if you have a couple of really big files and execute a shell script to
>infinitely copy them to /dev/null, after a couple of minutes the machine is
>pretty much gone. It's as if the disk cache takes over all of memory or
>something.
This should also be solved in DEC OSF/1 V2.0
Wilko
--
| / o / / _ Wilko Bulte mail: wilko@idca.tds.philips.nl
|/|/ / / /( (_) |d|i|g|i|t|a|l| Equipment Corporation voice: +3155-432062
fax: +3155-432103 DTN: 829 2062 PO Box 245 - 7300 AE Apeldoorn - The Netherlands
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1993-12-31 19:59 ` ivie
1994-01-03 8:29 ` Wilko Bulte
@ 1994-01-03 13:13 ` John T. Kohl
1994-01-04 9:40 ` Burkhard Neidecker-Lutz
1 sibling, 1 reply; 69+ messages in thread
From: John T. Kohl @ 1994-01-03 13:13 UTC (permalink / raw)
>>>>> "I" == ivie <ivie@cc.usu.edu> writes:
I> I see this sort of thing whenever I do disk-intensive thingies. For example,
I> if you have a couple of really big files and execute a shell script to
I> infinitely copy them to /dev/null, after a couple of minutes the machine is
I> pretty much gone. It's as if the disk cache takes over all of memory or
I> something.
Well, it does! DEC OSF/1 has a unified buffer cache, meaning that
memory pages and file data pages share the same allocation pool. The VM
system in V1.2 (and, to a lesser extent, in V1.3) doesn't do a
spectacular job of choosing pages to eject from memory, so that reading
a large file can effectively flush out all the instruction/data pages.
--
John Kohl <jtk@atria.com> or <jtkohl@mit.edu>
working for but not representing: Atria Software
---------
What are you pretending not to know?
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1993-12-31 20:22 ` Wuxu Peng
@ 1994-01-04 0:44 ` Dan Mosedale
0 siblings, 0 replies; 69+ messages in thread
From: Dan Mosedale @ 1994-01-04 0:44 UTC (permalink / raw)
peng@pirates.cs.swt.edu (Wuxu Peng) writes:
>
>I have a 32Me 3000/300 in my office, running OSF1.3a.
>It seems that I have to upgrade to 64Meg?
>
I certainly found 32 Meg to be inadequate for OSF/1 on a 3000/400. To
see whether this is really your problem, use syd* to look at
the swapio and pageout statistics. If you are seeing lots of swapping
or even a moderate amount of pageouts, you probably need more memory.
* syd is a system monitoring program (similar to top) by Claus Kalle
which can be ftp'ed from ftp.rrz.uni-koeln.de:/decosf/src/syd-3.1p1.tar.z.
--
Dan Mosedale, Systems Admin Email: mosedale@genome.Stanford.EDU
Stanford Genetics Department
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1994-01-03 13:13 ` John T. Kohl
@ 1994-01-04 9:40 ` Burkhard Neidecker-Lutz
0 siblings, 0 replies; 69+ messages in thread
From: Burkhard Neidecker-Lutz @ 1994-01-04 9:40 UTC (permalink / raw)
In article <CJ2237.n3n@atria.com> jtk@atria.com (John T. Kohl) writes:
>Well, it does! DEC OSF/1 has a unified buffer cache, meaning that
>memory pages and file data pages share the same allocation pool. The VM
>system in V1.2 (and, to a lesser extent, in V1.3) doesn't do a
>spectacular job of choosing pages to eject from memory, so that reading
>a large file can effectively flush out all the instruction/data pages.
The default value for "ubc_maxpercent" (the maximum percentage of system
memory that is allocated to the dynamic buffer cache) is 100%. If you
want to avoid the situation above, change that kernel parameter to something
smaller (I normally keep it around 60 %).
Burkhard Neidecker-Lutz
Distributed Multimedia Group, CEC Karlsruhe
BERKOM II Project
Digital Equipment Corporation
neideck@nestvx.enet.dec.com
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1993-12-31 17:59 ` Wuxu Peng
` (2 preceding siblings ...)
[not found] ` <2g1s9h$lbo@nntp2.stanford.edu>
@ 1994-01-11 3:33 ` Hamish Marson
1994-01-11 16:50 ` Dave Cherkus
3 siblings, 1 reply; 69+ messages in thread
From: Hamish Marson @ 1994-01-11 3:33 UTC (permalink / raw)
Wuxu Peng (peng@pirates.cs.swt.edu) wrote:
> Randy M. Hayman (HaymanR@icefog.uacn.alaska.edu) wrote:
> : In article <CI01E8.EoH@metronet.com>, mcquill@metronet.com (Ed McQuillen) writes:
> : |>
> : |>Since I got no takers the first time I'm going to repost:
> : |>
> : |>
> : Most likely no takers because there aren't any horror stories 8'). My
> Indeed, I haven't encountered horrible experiences with my Alpha box.
You are lucky. Of ours, one 3000/300 is DOA when it gets warm (ie > 2 mins use),
and the AXP PC's came VMS ready instead if OSF ready. (Why would we want
VMS?)
I'm also puzzled how diskless upgrades are OSF ready....
> Overall, it appears that Alpha is improved over Ultrix and I am happy
Thats an understatement. However they didn't have to work hard to get it
better than ultrix...
What I didn't like most of all was the missing OSF-BASE license that
was supposed to be in each box. That should get here tonight, so I
can then read the docs. (Why protect the docs, surely they would be
a good advertisement so people can read about what they are missing...
> with it. As evidence, I have successfully compiled several packages
> which previously my Ultrix station couldn't compile. Most public
> domain packages of interestes to me have been successfully compiled
> and installed by now. I was most annoyed by Ultrix's memory leak
> problem. Still don't know whether Alpha has such a problem. Even
> if it has, it appears the problem less severe.
I was annoyed with the way config is set up. By default it seems to symbolically
link a whole swag of .o files from ../BINARY and ../BINARY.rt this breaks
rathger severely when you do a config BINARY (You get symbolic links to
themselves... Wipeing out the original file....)
> However, one thing puzzling me and my colleagues here is the following.
> Alpha normally appears much faster than Ultrix on ordinary duties.
> However, whenever the C compiler is being invoked to compile a
> package, the whole system slows down significantly. The response
> is much slower, even though there is only one user. It seems that
> Alpha dedicated too much time and priority to the compilation job.
> This happens on both lasy swap and dedicated swap modes.
I tried compiling 2x programs (One on the console and one via an xterm),
on a 3000/600. Only one would run at once (ie one would seem to pause while
the other was doing something). Surely 32MB is enough for 2 users to
compile a program?
> --
> --wuxu peng (peng@pirates.cs.swt.edu)
--
======================================================================
| Hamish Marson |
| Systems Programmer | |
| Computer Services | INTERNET h.marson@waikato.ac.nz |
| University of Waikato | PHONE +64 7 8562889 xt 8181 |
| New Zealand | FAX +64 7 8384066 |
===========Disclaimer :- Remember. You heard it here first.===========
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: ALPHA/OSF1 info wanted; Again
1994-01-11 3:33 ` Hamish Marson
@ 1994-01-11 16:50 ` Dave Cherkus
0 siblings, 0 replies; 69+ messages in thread
From: Dave Cherkus @ 1994-01-11 16:50 UTC (permalink / raw)
In article <2gt6mu$14pg@thebes.cc.waikato.ac.nz>, hamish@thebes.cc.waikato.ac.nz (Hamish Marson) writes:
|> Wuxu Peng (peng@pirates.cs.swt.edu) wrote:
|> > However, one thing puzzling me and my colleagues here is the following.
|> > Alpha normally appears much faster than Ultrix on ordinary duties.
|> > However, whenever the C compiler is being invoked to compile a
|> > package, the whole system slows down significantly. The response
|> > is much slower, even though there is only one user. It seems that
|> > Alpha dedicated too much time and priority to the compilation job.
|> > This happens on both lasy swap and dedicated swap modes.
|>
|> I tried compiling 2x programs (One on the console and one via an xterm),
|> on a 3000/600. Only one would run at once (ie one would seem to pause while
|> the other was doing something). Surely 32MB is enough for 2 users to
|> compile a program?
As stated in a previous post, you might want to reduce ubc_maxpercent
in /usr/sys/conf/param.c and rebuild and reboot your kernel. This
controls the percentage of main memory that the filesystem can consume.
Jobs like compilers that are both I/O and cpu intensive tend to start
battles between the filesystem and the vm, and reducing ubc_maxpercent
allows the vm to keep more pages for program text and data.
Also, others have reported that with the current versions of OSF/1,
32 mb is kind of on the small side, believe it or not.
----
Dave Cherkus UniMaster, Inc. cherkus@unimaster.com
^ permalink raw reply [flat|nested] 69+ messages in thread
* Trouble with Motif compilation
@ 1994-04-26 16:51 marco broglia
1994-04-26 17:53 ` Frank Wortner
0 siblings, 1 reply; 69+ messages in thread
From: marco broglia @ 1994-04-26 16:51 UTC (permalink / raw)
Hi everybody,
I'm trying to compile a X/Motif application on an alpha station
running OSF1 V1.3.
At link time, I got this ld error (running gcc V2.5.5):
/bin/ld:
Error: Undefined:
dnet_conn
dnet_addr
getnodebyname
_DYNAMIC
collect2: ld returned 1 exit status
Does anyone know anything about it?
My source code doesn't refer in any way to that identifiers (at least, not
explicitely) and I didn't find any refence to them on the man pages (neither
on the alpha nor on othe architectures [Sun, Hp]).
Please help!
Please send mail directly to me at:
gobbo@parproc3.elet.polimi.it
Thanx in advance
Stefano Gobbo
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: Trouble with Motif compilation
1994-04-26 16:51 Trouble with Motif compilation marco broglia
@ 1994-04-26 17:53 ` Frank Wortner
1994-04-26 23:25 ` Paul Southworth
0 siblings, 1 reply; 69+ messages in thread
From: Frank Wortner @ 1994-04-26 17:53 UTC (permalink / raw)
In article <2pjgps$4le@ghost.sm.dsi.unimi.it>, broglia@ghost.sm.dsi.unimi.it (marco broglia) writes:
|>Hi everybody,
|>
|>I'm trying to compile a X/Motif application on an alpha station
|>running OSF1 V1.3.
|>At link time, I got this ld error (running gcc V2.5.5):
|>
|>/bin/ld:
|>Error: Undefined:
|>dnet_conn
|>dnet_addr
|>getnodebyname
|>_DYNAMIC
|>collect2: ld returned 1 exit status
Add the following to the list of libraries on the compile:
-ldnet_stub
The Motif and X11 contain support for DECNET as a transport. Since there
is no way of knowing in advance whether or not a given DEC OSF/1 system
actually has DECNET or not, the dnet_stub library resolves all the DECNET
routines. On systems that contain DECNET the stubs arrange to automatically
call the real DECNET routines if the application tries to use DECNET as
a transport.
--
Frank
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: Trouble with Motif compilation
1994-04-26 17:53 ` Frank Wortner
@ 1994-04-26 23:25 ` Paul Southworth
0 siblings, 0 replies; 69+ messages in thread
From: Paul Southworth @ 1994-04-26 23:25 UTC (permalink / raw)
In article <1994Apr26.175326.18073@datum.nyo.dec.com>,
Frank Wortner <frank@nyo.dec.com> wrote:
:In article <2pjgps$4le@ghost.sm.dsi.unimi.it>, broglia@ghost.sm.dsi.unimi.it (marco broglia) writes:
:>|>/bin/ld:
:>|>Error: Undefined:
:>|>dnet_conn
:>|>dnet_addr
:>|>getnodebyname
:>|>_DYNAMIC
:>|>collect2: ld returned 1 exit status
:>
:>Add the following to the list of libraries on the compile:
:>
:> -ldnet_stub
The other thing you can do is to edit out the -DDNETCONN defined in
/usr/lib/X11/config/osf1.cf (or ~mit/config/osf1.cf if you're working
from source -- if the latter, you can nuke DEC-Net out of the whole
distribution) which will disable DEC-Net functionality in X clients you
build. Obviously DEC can't do this by default since that would ruin X
for the poor suffering DEC-Net users out there (eek!).
--
Paul Southworth
CICNet Systems Support
pauls@cic.net
^ permalink raw reply [flat|nested] 69+ messages in thread
* telnet prompts for root
@ 1994-06-09 2:29 Lyn Kempter
1994-06-09 22:07 ` Randy M. Hayman
0 siblings, 1 reply; 69+ messages in thread
From: Lyn Kempter @ 1994-06-09 2:29 UTC (permalink / raw)
I've noticed on OSF V2.0 that when I telnet to the system
(2000 AXP), root is thrown into the login field automatically.
login: root
Password:
^
Cursor sits here.
I've set up so that only the console is secure, so that even if
you enter the correct password, you're kicked back. Not entering
a password at all means you have to wait for a loging retry, not
a long wait, granted, but a nuisance.
Anybody have any idea why it does this? Seems a strange thing to
me, since most sites allow root login only on the console.
Thanks muchly.
Lyn
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Lyn Kempter _--_|\ Internet: l.kempter@ucq.edu.au
Information Technology / *\ Phone: (+)61 79 309806
Univ. Central Queensland \_.--._/ Fax: (+)61 79 309254
Rockhampton, Queensland 4702 v
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: telnet prompts for root
1994-06-09 2:29 telnet prompts for root Lyn Kempter
@ 1994-06-09 22:07 ` Randy M. Hayman
1994-06-15 21:16 ` Tom Jordahl
0 siblings, 1 reply; 69+ messages in thread
From: Randy M. Hayman @ 1994-06-09 22:07 UTC (permalink / raw)
In article <2t5upe$t13@janus.cqu.edu.au>, kempterl@jasper.ucq.edu.au (Lyn Kempter) writes:
|>
|>I've noticed on OSF V2.0 that when I telnet to the system
|>(2000 AXP), root is thrown into the login field automatically.
|>
|> login: root
|> Password:
|> ^
|> Cursor sits here.
|>
My experience has shown that the account name of the account you are
telnetting *from* is the account stuffed into the login field.
--
Randy M. Hayman HaymanR@icefog.uacn.alaska.edu
"Ethernet works in practice but not in theory" -- Bob Metcalfe
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: telnet prompts for root
1994-06-09 22:07 ` Randy M. Hayman
@ 1994-06-15 21:16 ` Tom Jordahl
1994-06-23 23:34 ` The Fantom Ferret
0 siblings, 1 reply; 69+ messages in thread
From: Tom Jordahl @ 1994-06-15 21:16 UTC (permalink / raw)
In article <Cr5HH0.8vA@raven.alaska.edu> HaymanR@icefog.uacn.alaska.edu writes:
>
>In article <2t5upe$t13@janus.cqu.edu.au>, kempterl@jasper.ucq.edu.au (Lyn Kempter) writes:
>|>
>|>I've noticed on OSF V2.0 that when I telnet to the system
>|>(2000 AXP), root is thrown into the login field automatically.
>|>
>|> login: root
>|> Password:
>|> ^
>|> Cursor sits here.
>|>
>
>My experience has shown that the account name of the account you are
>telnetting *from* is the account stuffed into the login field.
Just like rlogin, which is what it is trying to emulate/imitate.
Note: if you don't like it, use the -l switch to telnet to provide
a userid to login with.
Handy feature if you ask me. Weren't we nice to include it in OSF/1?
--
Tom Jordahl Internet: tom@osf.org
Open Software Foundation UUCP: ..!uunet!osf!tom
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: telnet prompts for root
1994-06-15 21:16 ` Tom Jordahl
@ 1994-06-23 23:34 ` The Fantom Ferret
1994-06-24 15:21 ` Dr Marco Luchini
0 siblings, 1 reply; 69+ messages in thread
From: The Fantom Ferret @ 1994-06-23 23:34 UTC (permalink / raw)
Tom Jordahl wrote:
|Handy feature if you ask me. Weren't we nice to include it in OSF/1?
It's a pain in the arse. If I want something to act like rlogin I'll use
rlogin - when I use telnet I want it act like telnet.
--
Graeme Wightman (GW211) - System Support Email: ferret@fuzzy.seqeb.gov.au
South East Queensland Electricity Board Fax: +61 7 2217556
GPO Box 1461, Brisbane 4001 AUSTRALIA Phone: +61 7 2234150
<<< GOD is REAL .... unless declared INTEGER >>>
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: telnet prompts for root
1994-06-23 23:34 ` The Fantom Ferret
@ 1994-06-24 15:21 ` Dr Marco Luchini
1994-06-28 0:02 ` Andrew Rutherford
0 siblings, 1 reply; 69+ messages in thread
From: Dr Marco Luchini @ 1994-06-24 15:21 UTC (permalink / raw)
In article <CrvItE.3Iw@un.seqeb.gov.au> sysman1@un.seqeb.gov.au (The Fantom Ferret) writes:
> Tom Jordahl wrote:
>
> |Handy feature if you ask me. Weren't we nice to include it in OSF/1?
>
> It's a pain in the arse. If I want something to act like rlogin I'll use
> rlogin - when I use telnet I want it act like telnet.
Seconded. This new "feature" of telnet is a complete pain. rlogin is
rlogin, telnet is telnet. It would be nice if 3.0 removed this
"feature".
Ciao, Marco
--
-------------------------------------------------------------------------
Marco Luchini Internet : m.luchini@ic.ac.uk
Department of Mathematics Telephone: +44 71 589 5111 x5765
Imperial College Fax: +44 71 225 8361
London SW7 2BZ, UK
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: telnet prompts for root
1994-06-24 15:21 ` Dr Marco Luchini
@ 1994-06-28 0:02 ` Andrew Rutherford
1994-06-28 10:08 ` Peter Lister
1994-06-30 18:12 ` R. David Murray
0 siblings, 2 replies; 69+ messages in thread
From: Andrew Rutherford @ 1994-06-28 0:02 UTC (permalink / raw)
Dr Marco Luchini (luchini@ic.ac.uk) wrote:
: > |Handy feature if you ask me. Weren't we nice to include it in OSF/1?
: >
: > It's a pain in the arse. If I want something to act like rlogin I'll use
: > rlogin - when I use telnet I want it act like telnet.
: Seconded. This new "feature" of telnet is a complete pain. rlogin is
: rlogin, telnet is telnet. It would be nice if 3.0 removed this
: "feature".
Try this sometime:
= cat > ~/.telnetrc
= default
= environ unexport USER
= ^D
I like the feature. I use telnet to get my display variable
copied around, I don't like .rhosts files all over the place, so I
am prepared to type my password but don't want to have to type in too
many things.
If your view that it is a pain in the arse because you have
different account names on different machines, then go ahead and make
entries for that host. Or only have entries for the hosts you do want
it for - but note that you'll have to re-export USER since the defaults
get rid of it, eg:
= cat > ~/.telnetrc
= default
= environ unexport USER
= xxx.yyy.zzz
= environ define USER username
= environ export USER
= ^D
I like it. If you don't, there are documented ways around it.
(Although DEC documentation doesn't refer to "default" in one's
.telnetrc file, it's pretty obvious when everything else of similar
vein does, such as .netrc for ftp. :-( ) I don't use a .telnetrc file
myself.
Hope this helps,
Andrew.
--
Andrew Rutherford andrewr@iagu.itd.adelaide.edu
Phone: +61 8 303 5669 Plaza 1060, Adelaide Uni
Fax: +61 8 303 4400 Real Programmers always confuse Christmas and
Mobile: +61 414 313 767 Halloween because OCT 31 == DEC 25 !
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: telnet prompts for root
1994-06-28 0:02 ` Andrew Rutherford
@ 1994-06-28 10:08 ` Peter Lister
1994-06-28 23:12 ` Andrew Rutherford
1994-06-30 18:12 ` R. David Murray
1 sibling, 1 reply; 69+ messages in thread
From: Peter Lister @ 1994-06-28 10:08 UTC (permalink / raw)
I too find the telnet "feature" of entering the username very annoying and
utterly pointless. Some people apparently find it useful; that's fine by me. The
behaviour can be changed in a config file. Great.
What I REALLY object to is when the out-of-the-box default behaviour is changed
between versions for no good reason. Add functionality and configurability by
all means, BUT allow me to continue to use telnet as I have always done. Give me
the option of putting a new feature in. Don't shove it in regardless and then
leave it to me to take that new feature out if I happen not to think it's
wonderful.
--
Peter Lister Email: p.lister@cranfield.ac.uk
Computer Centre, Cranfield University Voice: +44 234 754200 ext 2828
Cranfield, Bedfordshire MK43 0AL UK Fax: +44 234 750875
--- 3-1, 2-1, 1-1. Probability factor of 1 to 1. We have normality. ---
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: telnet prompts for root
1994-06-28 10:08 ` Peter Lister
@ 1994-06-28 23:12 ` Andrew Rutherford
0 siblings, 0 replies; 69+ messages in thread
From: Andrew Rutherford @ 1994-06-28 23:12 UTC (permalink / raw)
Peter Lister (ccprl@xdm039.pegasus.cranfield.ac.uk) wrote:
: the option of putting a new feature in. Don't shove it in regardless and then
: leave it to me to take that new feature out if I happen not to think it's
: wonderful.
... Although elsewhere in the group it's said they should about /bin/sh
as the default shell. :-)
I guess they're going to get yelled at whatever they do. :-(
I suppose no-one would even have known about it if they hadn't.
Disgusting, isn't it?
Andrew.
--
Andrew Rutherford andrewr@iagu.itd.adelaide.edu
Phone: +61 8 303 5669 Plaza 1060, Adelaide Uni
Fax: +61 8 303 4400 Real Programmers always confuse Christmas and
Mobile: +61 414 313 767 Halloween because OCT 31 == DEC 25 !
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: telnet prompts for root
1994-06-28 0:02 ` Andrew Rutherford
1994-06-28 10:08 ` Peter Lister
@ 1994-06-30 18:12 ` R. David Murray
1994-07-01 21:46 ` Jeffrey Mogul
1 sibling, 1 reply; 69+ messages in thread
From: R. David Murray @ 1994-06-30 18:12 UTC (permalink / raw)
andrewr@itd.adelaide.edu.au (Andrew Rutherford) writes:
>Try this sometime:
>= cat > ~/.telnetrc
>= default
>= environ unexport USER
>= ^D
I couldn't get this to work. (I used vi instead of cat, of course <grin>.)
I must be missing some simple magic. Here is what I've got:
$ ls -l .telnetrc
-rw------- 1 rdmurray compstaff 54 Jun 30 14:04 .telnetrc
$ cat .telnetrc
default
environ unexport USER
But I still get a "Password:" prompt and not a login prompt.
I, too, find this default behaviour unacceptable. Especially since it seems
to surpress the pre-login banner on most systems, and that pre-login banner
often contains information on how to log in to special guest accounts.
I like the existence of the feature, but I very much dislike the default.
--David
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: telnet prompts for root
1994-06-30 18:12 ` R. David Murray
@ 1994-07-01 21:46 ` Jeffrey Mogul
0 siblings, 0 replies; 69+ messages in thread
From: Jeffrey Mogul @ 1994-07-01 21:46 UTC (permalink / raw)
In article <2uv1u7$42l@newpisgah.keene.edu> rdmurray@keene.edu (R. David Murray) writes:
>andrewr@itd.adelaide.edu.au (Andrew Rutherford) writes:
>>Try this sometime:
>
>>= cat > ~/.telnetrc
>>= default
>>= environ unexport USER
>>= ^D
>
>I couldn't get this to work.
I believe that you must also remove "LOGNAME" from the environment;
telnet tenaciously tries to use whatever it can find with your name
in it. I don't know if this can be done or not from .telnetrc
>I, too, find this default behaviour unacceptable. Especially since it seems
>to surpress the pre-login banner on most systems, and that pre-login banner
>often contains information on how to log in to special guest accounts.
>I like the existence of the feature, but I very much dislike the default.
I don't know about supression of the pre-login banner, but I do agree
that this is annoying, and I filed an internal bug report on the problem
a few weeks ago. Meanwhile, there's an easy workaround.
Create this shell script:
#!/bin/csh -f
unsetenv USER
unsetenv LOGNAME
/usr/bin/telnet $*
And either call it "telnet" and put it in your search path before
/usr/bin (and before /usr/ucb, which is a link to /usr/bin) ... or
call it something else (for example, "telnet_why_cant_DEC_get_this_right").
-Jeff "Works in research, not in the OSF product group"
^ permalink raw reply [flat|nested] 69+ messages in thread
* Alpha system clock calls
@ 1994-07-13 17:41 Tony Alvarez
1994-07-18 18:02 ` Jeffrey M. Denham
0 siblings, 1 reply; 69+ messages in thread
From: Tony Alvarez @ 1994-07-13 17:41 UTC (permalink / raw)
I have been trying to use the following system clock calls on OSF/1 ver 2.0:
times(), gettimer(), getclock(), clock_gettime()
The first two return "0" in all fields, getclock() seems to work,
and haven't found the library containing clock_gettime(). I looked
over the header files in enough detail to make sure that the arguments
matched properly, and tried all libraries that seemed likely to have
anything to do with clock_gettime().
Are these functions working for anyone else ? Is there something that
must be done before they will work ?
thanks in advance,
Tony Alvarez
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: Alpha system clock calls
1994-07-13 17:41 Alpha system clock calls Tony Alvarez
@ 1994-07-18 18:02 ` Jeffrey M. Denham
1994-07-18 19:36 ` Christopher Phillips
` (2 more replies)
0 siblings, 3 replies; 69+ messages in thread
From: Jeffrey M. Denham @ 1994-07-18 18:02 UTC (permalink / raw)
In article <301912$5te@masala.cc.uh.edu>, tony@uh.edu (Tony Alvarez) writes:
|>
|>I have been trying to use the following system clock calls on OSF/1 ver 2.0:
|>
|>
|>times(), gettimer(), getclock(), clock_gettime()
Have you tried the man pages? They all have entries (the last in the
realtime man pages).
times: return process execution times. It seems to be working.
gettimer: Obsolete POSIX.4 (1b) Draft 9 routine. Gets the time remaining
on a timer set with abstimer or reltimer. This is a front end
to set/getitimer. Should be working, but don't use it.
getclock: Obsolete POSIX.4 (1b) Draft 9 routine. Gets the system time.
Front end to gettimeofday.
clock_gettimer: The up-to-date realtime function to read the system clock.
This lives in librt.a. You have to load the OSFRTDEV200 subset to
get it.
|>The first two return "0" in all fields, getclock() seems to work,
|>and haven't found the library containing clock_gettime(). I looked
|>over the header files in enough detail to make sure that the arguments
|>matched properly, and tried all libraries that seemed likely to have
|>anything to do with clock_gettime().
They should all be working if you call them correctly and interrupt
the returns correctly.
Jeff Denham
-----------
Digital:denham@zk3.dec.com
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: Alpha system clock calls
1994-07-18 18:02 ` Jeffrey M. Denham
@ 1994-07-18 19:36 ` Christopher Phillips
1994-07-18 22:53 ` Steve Peltz
1994-07-25 9:14 ` Philip Shearer @ZUO-DC EBS-Team
2 siblings, 0 replies; 69+ messages in thread
From: Christopher Phillips @ 1994-07-18 19:36 UTC (permalink / raw)
In article <1994Jul18.180219.17019@decvax.dec.com>,
Jeffrey M. Denham <denham@zk3.dec.com> wrote:
>
>In article <301912$5te@masala.cc.uh.edu>, tony@uh.edu (Tony Alvarez) writes:
>|>
>|>I have been trying to use the following system clock calls on OSF/1 ver 2.0:
>|>
>|>
>|>times(), gettimer(), getclock(), clock_gettime()
>
>Have you tried the man pages? They all have entries (the last in the
>realtime man pages).
>[...]
>clock_gettimer: The up-to-date realtime function to read the system clock.
> This lives in librt.a. You have to load the OSFRTDEV200 subset to
> get it.
I can't find any references to anything ``realtime'' on an Alpha I have
access to, but the clock_gettime [not clock_gettimer] man page is
available. You do give the answer though; look in librt.a (which
I don't have and the man page does *not* mention).
Chris
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: Alpha system clock calls
1994-07-18 18:02 ` Jeffrey M. Denham
1994-07-18 19:36 ` Christopher Phillips
@ 1994-07-18 22:53 ` Steve Peltz
1994-07-25 9:14 ` Philip Shearer @ZUO-DC EBS-Team
2 siblings, 0 replies; 69+ messages in thread
From: Steve Peltz @ 1994-07-18 22:53 UTC (permalink / raw)
In article <1994Jul18.180219.17019@decvax.dec.com>,
Jeffrey M. Denham <denham@zk3.dec.com> wrote:
>getclock: Obsolete POSIX.4 (1b) Draft 9 routine. Gets the system time.
> Front end to gettimeofday.
gettimeofday() is indicated as obsolete, and that you should use getclock()
(which is indicated as "Trial Usage")!
At least in V2.0 Rev. 240 and before, the constant TIMEOFDAY which you
are supposed to give it is not correctly defined in the header files. Had
to do with either having or not having some POSIX symbol defined already.
It ought to work as advertised without doing anything special or using
any special compiler flags.
Other than that, getclock() works fine for me. Be sure you are using the
correct structure for the return, as there are about 8 different, incompatible
time structures for the 10 or so different methods of doing timers, getting
process times and time of day/elapsed time/date-and-time/etc.
^ permalink raw reply [flat|nested] 69+ messages in thread
* OSF1 2.0 memory leaks and process table errors?
@ 1994-07-21 17:26 Shayde
1994-07-21 19:10 ` Torbj|rn Lindgren
1994-07-22 14:22 ` Frank Wortner
0 siblings, 2 replies; 69+ messages in thread
From: Shayde @ 1994-07-21 17:26 UTC (permalink / raw)
We're running an OSf/1 box here (Alpha 3000/500s), with a whopping
96 meg of memory in it. We've got all our X clients running via xdm
off it, and things are okay.
Most of the time.
We keep running out of memory. It looks like the X server on the console
has a hole in it, and I found it yesterday with a size of 26 meg. Killed
it off, and reclaimed some space, but I'm still running out of memory.
I've switched the swap space allocation from 'greedy' to whatever the other
mode is is (deleteing hte 'swapdefault' file, i believe), but sitll no go.
The only way I've been able to get things cleared up is a reboot.
Soooo. What do i do to cork the memory leaks? Here's the gruesome
news:
[eridani#]/usr/sbin> swapon -s
Total swap allocation:
Allocated space: 16384 pages (128MB)
Reserved space: 16384 pages (100%)
Available space: 0 pages ( 0%)
Swap partition /dev/rz3b:
Allocated space: 16384 pages (128MB)
In-use space: 16384 pages (100%)
Free space: 0 pages ( 0%)
I'm also getting process table full errors. ps aux report s 273 processes
running, which ain't all that much. Is it related to the memory problem?
and how do i increase the size of the table?
Inquiring Alpha-admins wannaknow. :)
-------------------------------------------------------------------------
One whose existence relies heavily Shayde - Dave Shevett
on the solidity of others. shevett@pilot.njin.net
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: OSF1 2.0 memory leaks and process table errors?
1994-07-21 17:26 OSF1 2.0 memory leaks and process table errors? Shayde
@ 1994-07-21 19:10 ` Torbj|rn Lindgren
1994-07-22 14:22 ` Frank Wortner
1 sibling, 0 replies; 69+ messages in thread
From: Torbj|rn Lindgren @ 1994-07-21 19:10 UTC (permalink / raw)
In article <Jul.21.13.26.56.1994.5252@pilot.njin.net>,
Shayde <shevett@pilot.njin.net> wrote:
>Soooo. What do i do to cork the memory leaks? Here's the gruesome
Have you added -terminate to the line in /usr/lib/X11/xdm/Xservers ?
According to the Release Notes this switch should be added to avoid
that the Xserver grows without bound (apparently it leaks 2.4 MB per
logout/login recycle.).
>I'm also getting process table full errors. ps aux report s 273 processes
>running, which ain't all that much. Is it related to the memory problem?
>and how do i increase the size of the table?
I don't have the manuals here, but a fast look at param.h makes it
clear that with 'maxusers 32' (the default) and without NPROC defined
it will support 276 (the formula used is 20+maxuser*8 or NPROC if it's
defined).
I would recommend that you change maxusers to 64 and creates a new
kernel. In addition to this you migh change NPROC, but without manuals
I can't tell you what you should put into the kernel configuration
file.
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: OSF1 2.0 memory leaks and process table errors?
1994-07-21 17:26 OSF1 2.0 memory leaks and process table errors? Shayde
1994-07-21 19:10 ` Torbj|rn Lindgren
@ 1994-07-22 14:22 ` Frank Wortner
1994-07-25 15:07 ` Mark Bartelt
1994-08-02 12:38 ` Tolliver Johnny S
1 sibling, 2 replies; 69+ messages in thread
From: Frank Wortner @ 1994-07-22 14:22 UTC (permalink / raw)
In article <Jul.21.13.26.56.1994.5252@pilot.njin.net>, shevett@pilot.njin.net (Shayde) writes:
|> We keep running out of memory. It looks like the X server on the console
|> has a hole in it, and I found it yesterday with a size of 26 meg. [...]
|> The only way I've been able to get things cleared up is a reboot.
|>
Try editing the file /usr/lib/X11/xdm/Xservers and adding the "-terminate"
option to the X server invocation.
:0 local /usr/bin/X11/X -terminate
That will cause the server to exit on logout. Xdm will start a new
instance, and memory will be reclaimed.
Another possibility is to edit /usr/lib/X11/Xserver.conf and remove
the lines that load extensions you don't normally use.
To avoid grief, remember to save a copy of each file before you go
making changes.
|> I'm also getting process table full errors. ps aux report s 273 processes
|> running, which ain't all that much.
Try changing the "maxusers" parameter in the system configuration file,
/usr/sys/conf/SYSTEMNAME. Make the parameter larger. Then run
doconfig -c SYSTEMNAME and rebuild the kernel.
I would also check the to see if there were daemons that don't need to
run. The SNMP daemons are good candidates if you don't use them. To
avoid running them, rename the link /sbin/rc3.d/S50common_agent to some
name that does not begin with an "S", like disabled_S50common_agent.
Your original posting indicated that you were using a 96 Meg system with
128 Meg of paging area. If you can find a second paging partition or
enlarge the current one, you might reduce some of the effects of "bottoming
out."
Hope this helps.
Frank
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: Alpha system clock calls
1994-07-18 18:02 ` Jeffrey M. Denham
1994-07-18 19:36 ` Christopher Phillips
1994-07-18 22:53 ` Steve Peltz
@ 1994-07-25 9:14 ` Philip Shearer @ZUO-DC EBS-Team
1994-07-25 18:21 ` Jeffrey M. Denham
2 siblings, 1 reply; 69+ messages in thread
From: Philip Shearer @ZUO-DC EBS-Team @ 1994-07-25 9:14 UTC (permalink / raw)
In article <1994Jul18.180219.17019@decvax.dec.com> you write:
:
: In article <301912$5te@masala.cc.uh.edu>, tony@uh.edu (Tony Alvarez)
writes:
: |>
: |>I have been trying to use the following system clock calls on OSF/1
ver 2.0:
: |>
: |>
: |>times(), gettimer(), getclock(), clock_gettime()
:
: Have you tried the man pages? They all have entries (the last in the
: realtime man pages).
:
: times: return process execution times. It seems to be working.
:
The manual entry for times is brain dead.
time_t times() is wrong!! It returns clock_t (see the header file
<sys/times.h>).
Also the RETURN VALUES of the manual page reports that it returns
"time in clock ticks since an arbitrary reference time"
This is a POSIX standard so can be used for portable software. But is is
not the best one to use for new software, I guess that clock_gettime()
is "better" as it is in Draft POSIX and has finer granularity without
the
danger of overflow which is inherent in times().
TTFN Philip
PS to convert that to somthing usefull sysconf(_SC_CLK_TCK) will return
the number of tick per second so to calculate time to 10th of a second
#define CT sysconf(_SC_CLK_TCK)
#define TENTHS 10
#define SUBSEC TENTHS
#define _getTimeout(t) (((long)t * (long)SUBSEC ) / (long)CT )
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: OSF1 2.0 memory leaks and process table errors?
1994-07-22 14:22 ` Frank Wortner
@ 1994-07-25 15:07 ` Mark Bartelt
1994-07-25 19:41 ` Frank Wortner
1994-07-26 14:54 ` Torbj|rn Lindgren
1994-08-02 12:38 ` Tolliver Johnny S
1 sibling, 2 replies; 69+ messages in thread
From: Mark Bartelt @ 1994-07-25 15:07 UTC (permalink / raw)
[ Frank Wortner ]
| Try editing the file /usr/lib/X11/xdm/Xservers and adding the "-terminate"
| option to the X server invocation.
|
| :0 local /usr/bin/X11/X -terminate
|
| That will cause the server to exit on logout. Xdm will start a new
| instance, and memory will be reclaimed.
Thanks for the tip. But where is the "-terminate" option documented? Under
OSF/1 V2.0, I don't find anything about it in the online man page for any of
{X,xdm,Xserver}. The "DisplayManager.DISPLAY.terminateServer" resource (you
just have to *love* those names; remember when UNIX used to be criticized for
being too terse? ;-) is discussed in the RESOURCES section of xdm's man page,
but I don't see anything about a "-terminate" command line option.
Mark Bartelt 416/978-5619
Canadian Institute for mark@cita.toronto.edu
Theoretical Astrophysics mark@cita.utoronto.ca
"Clothes not busy being worn are busy drying." - Dylan, on laundry day
[ singing "It's all right, ma (I'm only bleaching)" ]
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: Alpha system clock calls
1994-07-25 9:14 ` Philip Shearer @ZUO-DC EBS-Team
@ 1994-07-25 18:21 ` Jeffrey M. Denham
1994-08-02 1:01 ` Sinan Karasu
0 siblings, 1 reply; 69+ messages in thread
From: Jeffrey M. Denham @ 1994-07-25 18:21 UTC (permalink / raw)
|>: times: return process execution times. It seems to be working.
|>:
|>The manual entry for times is brain dead.
|>time_t times() is wrong!! It returns clock_t (see the header file
|><sys/times.h>).
Well, "brain dead" seems a bit extreme, but I'll get the problem
fixed. Thanks.
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: OSF1 2.0 memory leaks and process table errors?
1994-07-25 15:07 ` Mark Bartelt
@ 1994-07-25 19:41 ` Frank Wortner
1994-07-26 10:46 ` Mark Bartelt
1994-07-26 14:54 ` Torbj|rn Lindgren
1 sibling, 1 reply; 69+ messages in thread
From: Frank Wortner @ 1994-07-25 19:41 UTC (permalink / raw)
In article <CtI4p8.DG5@helios.physics.utoronto.ca>, sysmark@helios.physics.utoronto.ca (Mark Bartelt) writes:
|>[ Frank Wortner ]
|>| :0 local /usr/bin/X11/X -terminate
|>|
|>
|>Thanks for the tip. But where is the "-terminate" option documented? Under
|>OSF/1 V2.0, I don't find anything about it in the online man page for any of
|>{X,xdm,Xserver}.
It's in the Xserver man page. Look again --- near the end of the
first set of options.
Frank
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: OSF1 2.0 memory leaks and process table errors?
1994-07-25 19:41 ` Frank Wortner
@ 1994-07-26 10:46 ` Mark Bartelt
1994-07-26 15:24 ` Torbj|rn Lindgren
` (2 more replies)
0 siblings, 3 replies; 69+ messages in thread
From: Mark Bartelt @ 1994-07-26 10:46 UTC (permalink / raw)
[ me ]
| Thanks for the tip. But where is the "-terminate" option documented? Under
| OSF/1 V2.0, I don't find anything about it in the online man page for any of
| {X,xdm,Xserver}.
[ Frank Wortner ]
| It's in the Xserver man page. Look again --- near the end of the
| first set of options.
Umm... I *did* RTFM before posting, but at your suggestion I went back and
looked again, and it's not there. So either you're referring to the V1.3 or
the V3.0 man page, or else you have a different set of V2.0 man pages from
what gets shipped to customers. FYI, here's the list of options documented
in our Xserver man page:
-a -cc -fn -lf -s -wm -port
-ac -co -fp -ls -su -x -once
-auth -dpi -help -logo -t -query -class
-bs -f -I -p -to -broadcast -cookie
-c -fc -ld -r -v -indirect -displayID
Mark Bartelt 416/978-5619
Canadian Institute for mark@cita.toronto.edu
Theoretical Astrophysics mark@cita.utoronto.ca
"Sheep not busy being shorn are busy frying" - Dylan, at a NZ lamb barbecue
[ singing "It's all right, ma (I'm only bleating)" ]
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: OSF1 2.0 memory leaks and process table errors?
1994-07-25 15:07 ` Mark Bartelt
1994-07-25 19:41 ` Frank Wortner
@ 1994-07-26 14:54 ` Torbj|rn Lindgren
1 sibling, 0 replies; 69+ messages in thread
From: Torbj|rn Lindgren @ 1994-07-26 14:54 UTC (permalink / raw)
In article <CtI4p8.DG5@helios.physics.utoronto.ca>,
Mark Bartelt <mark@cita.toronto.edu> wrote:
>Thanks for the tip. But where is the "-terminate" option documented? Under
>OSF/1 V2.0, I don't find anything about it in the online man page for any of
>{X,xdm,Xserver}. The "DisplayManager.DISPLAY.terminateServer" resource (you
Well, I found it in the Release Notes... Section 5.1 (X Server and
Window Manager).
Using 'grep -e -terminate /usr/share/man1/*' showed that it *is*
documented in the Xdec.1X. Knowing this made it easy to find it using
'man Xdec'.
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: OSF1 2.0 memory leaks and process table errors?
1994-07-26 10:46 ` Mark Bartelt
@ 1994-07-26 15:24 ` Torbj|rn Lindgren
1994-07-26 16:59 ` Mark Bartelt
1994-07-27 18:28 ` OSF1 2.0 memory leaks and process table errors? Frank Wortner
2 siblings, 0 replies; 69+ messages in thread
From: Torbj|rn Lindgren @ 1994-07-26 15:24 UTC (permalink / raw)
In article <CtJn9J.75u@helios.physics.utoronto.ca>,
Mark Bartelt <mark@cita.toronto.edu> wrote:
>what gets shipped to customers. FYI, here's the list of options documented
>in our Xserver man page:
Looks like there is different versions of OSF/1 2.0 then :)
I found it using grep in Xdec.1X (Xserver.1X is a one-liner that calls
Xdec.1X). It is located between '-t' and '-to' (on page 8 using a
24-line screen).
uname -a reports:
OSF1 aesrv0 V2.0 250 alpha
The OS was installed from the OSF/1 2.0B CD delivered with the system,
but since the machine is a 3000/800S this *should* install 2.0 instead
(According to the installation instruction the 2.0B version is only
for 2100/A500MP and 2100/A600MP), all other machines still gets the
V2.0 identifier. Patch 001 and some other patches are installed, but
none of them touched anything in /usr/share/man
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: OSF1 2.0 memory leaks and process table errors?
1994-07-26 10:46 ` Mark Bartelt
1994-07-26 15:24 ` Torbj|rn Lindgren
@ 1994-07-26 16:59 ` Mark Bartelt
1994-07-26 19:25 ` Strange (mis)feature of the "man" command (was Re: OSF1 2.0 memory leaks ...) Mark Bartelt
1994-07-27 18:28 ` OSF1 2.0 memory leaks and process table errors? Frank Wortner
2 siblings, 1 reply; 69+ messages in thread
From: Mark Bartelt @ 1994-07-26 16:59 UTC (permalink / raw)
[ me ]
| Thanks for the tip. But where is the "-terminate" option documented? Under
| OSF/1 V2.0, I don't find anything about it in the online man page for any of
| {X,xdm,Xserver}.
[ Frank Wortner ]
| It's in the Xserver man page. Look again --- near the end of the
| first set of options.
[ me again ]
| Umm... I *did* RTFM before posting, but at your suggestion I went back and
| looked again, and it's not there. So either you're referring to the V1.3 or
| the V3.0 man page, or else you have a different set of V2.0 man pages from
| what gets shipped to customers.
I just got an e-mail message from Trin Tantsetthi <trin@nucleus.nectec.or.th>,
who cleared up the confusion. It turns out that "-terminate" is documented in
the "Xdec" man page, whereas I'd been looking in the "Xserver" man page (which
is, after all, where Frank claimed I'd find it). But to add to the ambiguity,
one observes that "man Xserver" produces a man page which starts out ...
XSERVER(1)
NAME
Xserver - X Window System server
... whereas "man Xdec" produces one which start out ...
Xdec(1X)
NAME
Xdec, Xserver - X Window System server
... so one could argue that the "Xdec" man page *is* the (well, is an) Xserver
man page; it's just not the one you get when you type "man Xserver".
Mark Bartelt 416/978-5619
Canadian Institute for mark@cita.toronto.edu
Theoretical Astrophysics mark@cita.utoronto.ca
"Sheep not busy being shorn are busy frying" - Dylan, at a NZ lamb barbecue
[ singing "It's all right, ma (I'm only bleating)" ]
^ permalink raw reply [flat|nested] 69+ messages in thread
* Strange (mis)feature of the "man" command (was Re: OSF1 2.0 memory leaks ...)
1994-07-26 16:59 ` Mark Bartelt
@ 1994-07-26 19:25 ` Mark Bartelt
1994-07-28 14:17 ` Frank Wortner
0 siblings, 1 reply; 69+ messages in thread
From: Mark Bartelt @ 1994-07-26 19:25 UTC (permalink / raw)
Earlier today, I wrote ...
| I just got an e-mail message from Trin Tantsetthi <trin@nucleus.nectec.or.th>,
| who cleared up the confusion. It turns out that "-terminate" is documented in
| the "Xdec" man page, whereas I'd been looking in the "Xserver" man page (which
| is, after all, where Frank claimed I'd find it). But to add to the ambiguity,
| one observes that "man Xserver" produces a man page which starts out ...
|
| XSERVER(1)
|
| NAME
| Xserver - X Window System server
|
| ... whereas "man Xdec" produces one which start out ...
|
| Xdec(1X)
|
| NAME
| Xdec, Xserver - X Window System server
|
| ... so one could argue that the "Xdec" man page *is* the (well, is an) Xserver
| man page; it's just not the one you get when you type "man Xserver".
... and I thought that was the end of this thread. Until I got a message from
Richard Eckman <eckman@eos1.larc.nasa.gov>, saying:
| Just to add to the confusion, I do get the Xdec page when I type
| "man Xserver". The contents of /usr/man/man1/Xserver.1X are:
|
| .so man1/Xdec.1X
|
| So, it's more or less a symbolic link to Xdec.1X. Sounds like
| you've somehow installed a different Xserver man page compared
| with the one that comes standard with OSF/1 v2.0
So I checked, and in fact *our* Xserver.1X contains the same thing as his does!
Then I realized that "man Xserver" was actually giving me the MIT X11R5 Xserver
man page (which we have in /usr/local/man, since we have vanilla MIT X11R5 for
our SunOS users, who want an alternative to the loathsome OpenWindows).
At first I thought I must have a MANPATH defined, which had /usr/local/man in
front of /usr/share/man. But, no, no MANPATH was defined. After some fussing
around, I verified that
man -M /usr/share/man Xserver ==> DEC's Xserver man page
and
man -M /usr/local/man Xserver ==> MIT's Xserver man page
but
man Xserver ==> MIT's, not DEC's
Why? Well, it turns out that the files are named
/usr/share/man/man1/Xserver.1X
and
/usr/local/man/man1/Xserver.1
Despite the fact that /usr/share/man comes before /usr/local/man in the default
MANPATH, the "man" command seems to search all the directories for "Xserver.1",
before rescanning them again to look for "Xserver.1X". This was easy to check:
If I rename /usr/share/man/man1/Xserver.1X to /usr/share/man/man1/Xserver.1 (or,
alternatively, /usr/local/man/man1/Xserver.1 to /usr/local/man/man1/Xserver.1X),
then "man Xserver" will give DEC's Xserver man page. As long as both man pages
have the same name, all is well.
Also, if there's an "Xserver.1" in /usr/local/man/cat1, "man Xserver" will pick
that one in preference to /usr/share/man/man1/Xserver.1X, though it will choose
/usr/share/man/man1/Xserver.1 over /usr/local/man/cat1/Xserver.1, curiously.
So, my question is: Is this behavious intentional, or is it a bug? And if the
former, what's the rationale?
Mark Bartelt 416/978-5619
Canadian Institute for mark@cita.toronto.edu
Theoretical Astrophysics mark@cita.utoronto.ca
"Sheep not busy being shorn are busy frying" - Dylan, at a NZ lamb barbecue
[ singing "It's all right, ma (I'm only bleating)" ]
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: OSF1 2.0 memory leaks and process table errors?
1994-07-26 10:46 ` Mark Bartelt
1994-07-26 15:24 ` Torbj|rn Lindgren
1994-07-26 16:59 ` Mark Bartelt
@ 1994-07-27 18:28 ` Frank Wortner
2 siblings, 0 replies; 69+ messages in thread
From: Frank Wortner @ 1994-07-27 18:28 UTC (permalink / raw)
In article <CtJn9J.75u@helios.physics.utoronto.ca>, sysmark@helios.physics.utoronto.ca (Mark Bartelt) writes:
|
|>[ Frank Wortner ]
|>
|>| It's in the Xserver man page. Look again --- near the end of the
|>| first set of options.
|>
|>Umm... I *did* RTFM before posting, but at your suggestion I went back and
|>looked again, and it's not there. So either you're referring to the V1.3 or
|>the V3.0 man page, or else you have a different set of V2.0 man pages from
|>what gets shipped to customers. FYI, here's the list of options documented
|>in our Xserver man page:
|>
|> -a -cc -fn -lf -s -wm -port
|> -ac -co -fp -ls -su -x -once
|> -auth -dpi -help -logo -t -query -class
|> -bs -f -I -p -to -broadcast -cookie
|> -c -fc -ld -r -v -indirect -displayID
|>
Here's the options documented on my Xserver man page:
-I -a -ac -audit -auth -bp
-broadcast -bs -btn -c -cc -class
-co -config -cookie -core -displayID -dpi
-dpix -dpiy -edge_botto -edge_left -edge_right -edge_top
-errorFile -f -fc -fn -fp -help
-indirect -ld -lf -logo -ls -p
-pn -port -query -r -s -showConfig
-showDefaul -showUsed -su -t -terminate -to
-tst -v -vclass -wm -wp -x
I have 2.0 straight off the CD that gets shipped to customers.
It looks like someone changed your Xserver man page. The file is
/usr/share/man/man1/Xserver.1X and it should contain a
.so ../man/man1/Xdec.1X
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: Strange (mis)feature of the "man" command (was Re: OSF1 2.0 memory leaks ...)
1994-07-26 19:25 ` Strange (mis)feature of the "man" command (was Re: OSF1 2.0 memory leaks ...) Mark Bartelt
@ 1994-07-28 14:17 ` Frank Wortner
0 siblings, 0 replies; 69+ messages in thread
From: Frank Wortner @ 1994-07-28 14:17 UTC (permalink / raw)
In article <CtKBAx.MB1@helios.physics.utoronto.ca>, sysmark@helios.physics.utoronto.ca (Mark Bartelt) writes:
|>Despite the fact that /usr/share/man comes before /usr/local/man in the default
|>MANPATH, the "man" command seems to search all the directories for "Xserver.1",
|>before rescanning them again to look for "Xserver.1X". This was easy to check:
|>If I rename /usr/share/man/man1/Xserver.1X to /usr/share/man/man1/Xserver.1 (or,
|>alternatively, /usr/local/man/man1/Xserver.1 to /usr/local/man/man1/Xserver.1X),
|>then "man Xserver" will give DEC's Xserver man page. As long as both man pages
|>have the same name, all is well.
|>
|>Also, if there's an "Xserver.1" in /usr/local/man/cat1, "man Xserver" will pick
|>that one in preference to /usr/share/man/man1/Xserver.1X, though it will choose
|>/usr/share/man/man1/Xserver.1 over /usr/local/man/cat1/Xserver.1, curiously.
|>
|>So, my question is: Is this behavious intentional, or is it a bug? And if the
|>former, what's the rationale?
Given several possible man pages with the same basename, the man command
sorts them alphabetically and displays the first one. Xserver.1 comes
before Xserver.1X, so it displays Xserver.1. Why? Probably because there
are a one or more layered products that add new man pages with the same
names as existing ones. For example, DECnet adds a select.2dn man page to
man/man2. That page documents the use of the select system call with DECnet.
If you type "man select", you get the original man page; if you type
"man 2dn select" you get the new one. Sigh. :-)
Frank
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: Alpha system clock calls
1994-07-25 18:21 ` Jeffrey M. Denham
@ 1994-08-02 1:01 ` Sinan Karasu
0 siblings, 0 replies; 69+ messages in thread
From: Sinan Karasu @ 1994-08-02 1:01 UTC (permalink / raw)
In article <1994Jul25.182147.10426@decvax.dec.com>,
Jeffrey M. Denham <denham@zk3.dec.com> wrote:
>
>|>: times: return process execution times. It seems to be working.
>|>:
>|>The manual entry for times is brain dead.
>|>time_t times() is wrong!! It returns clock_t (see the header file
>|><sys/times.h>).
>
>Well, "brain dead" seems a bit extreme, but I'll get the problem
>fixed. Thanks.
>
A related question. How does one implement the following pseudo-code:
set interrupt period to 3 milliseconds;
while(got_another_interrupt()){
do_something();
};
I want to be able to do this for some preset periodic timer.
I want to be able to set the periodic timer anywhere from 1 millisecond
to 1 second . I want 1 millisecond resolution. I want less than 300
microseconds dispatch latency....
Thanx
Sinan
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: OSF1 2.0 memory leaks and process table errors?
1994-07-22 14:22 ` Frank Wortner
1994-07-25 15:07 ` Mark Bartelt
@ 1994-08-02 12:38 ` Tolliver Johnny S
1994-08-05 16:44 ` Dave Hill
1 sibling, 1 reply; 69+ messages in thread
From: Tolliver Johnny S @ 1994-08-02 12:38 UTC (permalink / raw)
I know of at least two ways to cause the X server to terminate and restart upon
logout:
1. Editing the file /usr/lib/X11/xdm/Xservers and adding the "-terminate"
option to the X server invocation.
:0 local /usr/bin/X11/X -terminate
2. Editing /usr/lib/X11/xdm/xdm-config to include a line like
DisplayManager._0.terminateServer: true
ARE THESE TWO EXACTLY EQUIVALENT?
Any reason to choose one method over the other?
Thanks,
--
Johnny Tolliver
Oak Ridge National Laboratory
jxt@ornl.gov
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: OSF1 2.0 memory leaks and process table errors?
1994-08-02 12:38 ` Tolliver Johnny S
@ 1994-08-05 16:44 ` Dave Hill
0 siblings, 0 replies; 69+ messages in thread
From: Dave Hill @ 1994-08-05 16:44 UTC (permalink / raw)
In article <31leo1$ihu@stc06.CTD.ORNL.GOV>, jxt@ca12.cad.ornl.gov (Tolliver Johnny S) writes:
|>
|> I know of at least two ways to cause the X server to terminate and restart upon
|> logout:
|>
|> 1. Editing the file /usr/lib/X11/xdm/Xservers and adding the "-terminate"
|> option to the X server invocation.
|>
|> :0 local /usr/bin/X11/X -terminate
|>
|> 2. Editing /usr/lib/X11/xdm/xdm-config to include a line like
|>
|> DisplayManager._0.terminateServer: true
|>
|> ARE THESE TWO EXACTLY EQUIVALENT?
No.
In the first, the X server chooses to terminate when the session ends.
In the second, xdm tells the X server to terminate when the session ends.
|>
|> Any reason to choose one method over the other?
|>
No.
This will not be needed in OSF/1 v3.0 which will be made available
shortly (late Sept probably). The memory leak in DPS was corrected
with DPS level II which is part of the v3.0 release.
/Dave
^ permalink raw reply [flat|nested] 69+ messages in thread
* How much memory?
@ 1994-10-27 16:59 David Rawlinson
1994-10-27 17:41 ` Rick Murphy
1994-10-27 19:39 ` Tim Llewellyn
0 siblings, 2 replies; 69+ messages in thread
From: David Rawlinson @ 1994-10-27 16:59 UTC (permalink / raw)
Apologies if this is simple but I can't for the life of me figure out
how you find out "simply" how much memory there is on an OSF/1 system.
We need to find this out to input the info to a test suite. uerf and the
/var/adm/messages file give the physical amount LESS 2.0MB, swapon
doesn't, neither does sizer nor anything else as far as I can see. The
public domain utility "swapstat" DOES so the information must be in a
kernel data structure somewhere.
Why haven't DEC provided the tool?
We're running OSF/1 V2.0.
Thanks!
--
--------------------------------------------------------------------------
Dave Rawlinson Email: djr@star.rl.ac.uk
Starlink Project
--------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: How much memory?
1994-10-27 16:59 How much memory? David Rawlinson
@ 1994-10-27 17:41 ` Rick Murphy
1994-10-28 12:34 ` Dan Pop
1994-10-27 19:39 ` Tim Llewellyn
1 sibling, 1 reply; 69+ messages in thread
From: Rick Murphy @ 1994-10-27 17:41 UTC (permalink / raw)
In article <38oma6$s14@rlsaxp.bnsc.rl.ac.uk>, djr@rlsaxp.bnsc.rl.ac.uk (David Rawlinson) writes:
>Apologies if this is simple but I can't for the life of me figure out
>how you find out "simply" how much memory there is on an OSF/1 system.
> ...
>Why haven't DEC provided the tool?
getsysinfo GSI_PHYSMEM provides the hook. A little program that uses it is attached.
-Rick
#include <stdio.h>
#include <sys/sysinfo.h>
#include <machine/hal_sysinfo.h>
main(argc, argv)
int argc;
char **argv;
{
int memsize;
getsysinfo(GSI_PHYSMEM, &memsize, sizeof(memsize), NULL, NULL);
printf("This machine has %d Kb of memory\n", memsize);
exit(0);
}
--
Rick Murphy, WA1SPT/4 Washington Federal Programs Office
Domain: murphy@dco.dec.com Technical Support Group
Bang: decwrl!burfle.enet!murphy This posting expresses MY opinions only;
Ding: 301-306-2040. I do not speak for Digital.
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: How much memory?
1994-10-27 16:59 How much memory? David Rawlinson
1994-10-27 17:41 ` Rick Murphy
@ 1994-10-27 19:39 ` Tim Llewellyn
1994-10-28 1:49 ` Steve Strange
1994-10-28 13:22 ` Stefan Monnier
1 sibling, 2 replies; 69+ messages in thread
From: Tim Llewellyn @ 1994-10-27 19:39 UTC (permalink / raw)
In article <38oma6$s14@rlsaxp.bnsc.rl.ac.uk>, djr@rlsaxp.bnsc.rl.ac.uk (David
Rawlinson) writes:
|>Xref: bsmail comp.unix.osf.osf1:5781
|>Path: bsmail!warwick!ral!not-for-mail
|>From: djr@rlsaxp.bnsc.rl.ac.uk (David Rawlinson)
|>Newsgroups: comp.unix.osf.osf1
|>Subject: How much memory?
|>Date: 27 Oct 1994 16:59:50 -0000
|>Organization: Rutherford Appleton Laboratory, UK
|>Lines: 20
|>Distribution: world
|>Message-ID: <38oma6$s14@rlsaxp.bnsc.rl.ac.uk>
|>NNTP-Posting-Host: rlsaxp.bnsc.rl.ac.uk
|>
|>Apologies if this is simple but I can't for the life of me figure out
|>how you find out "simply" how much memory there is on an OSF/1 system.
|>
|>We need to find this out to input the info to a test suite. uerf and the
|>/var/adm/messages file give the physical amount LESS 2.0MB, swapon
|>doesn't, neither does sizer nor anything else as far as I can see. The
|>public domain utility "swapstat" DOES so the information must be in a
|>kernel data structure somewhere.
|>
|>Why haven't DEC provided the tool?
|>
You mean like the VMS $ SHOW MEMORY command?
I've often wondered the same. Also an out of the box shell that supports
command line editing. I don't mind answering the question "Would you
like to have user friendly command line editing or a brain-damaged shell
for Unix pedants" or something like that during the install (can ya tell
I'm upgrading to OSF/1 3.0 today?). The standard answer "But you can get
tcsh from the net" doesn't cut it for me, I want command line editing
BEFORE I configure my network interface, and without having the grief
associated with trying to login with a non-executable shell and all that
stuff :-(. I mean, DEC supply these systems with keyboards with arrow keys
on them, to me a shell that just vomits the escape sequences back to
the terminal is useless.
|>We're running OSF/1 V2.0.
|>
|>Thanks!
|>
|>--
|>--------------------------------------------------------------------------
|>Dave Rawlinson Email: djr@star.rl.ac.uk
|>Starlink Project
|>--------------------------------------------------------------------------
|>
--
-----------------------------------------------------+------------------+
Tim Llewellyn - OpenVMS, Soukous and Cricket Addict |Hey, and get wise |
Physicist Programmer, Bristol Uni Particle Physics. | to the sounds of |
HEPNET/SPAN 19716::TJL Internet tjl@siva.bris.ac.uk | Africa,seen. |
I speak for me and noone else OK (and I might even | Soukous Makossa |
change my mind sometimes!-) Atari and EMagic user too| Mbalax Rumba...|
-----------------------------------------------------+------------------+
I neither love OpenVMS nor hate OSF/1, for they are both just tools I use
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: How much memory?
1994-10-27 19:39 ` Tim Llewellyn
@ 1994-10-28 1:49 ` Steve Strange
[not found] ` <38qasf$9k4@mrnews.mro.dec.com>
1994-10-28 13:22 ` Stefan Monnier
1 sibling, 1 reply; 69+ messages in thread
From: Steve Strange @ 1994-10-28 1:49 UTC (permalink / raw)
In article <CyCJxI.5no@info.bris.ac.uk> tjl@siva.bris.ac.uk (Tim Llewellyn) writes:
I've often wondered the same. Also an out of the box shell that supports
command line editing. I don't mind answering the question "Would you
like to have user friendly command line editing or a brain-damaged shell
for Unix pedants" or something like that during the install (can ya tell
I'm upgrading to OSF/1 3.0 today?).
csh supports command line editing, that's what I use all the time.
The arrow keys work for command recall, and you use emacs control
sequences to edit the line. You'll need to do 'set editmode=emacs'.
I also do 'set history = 200' and 'set savehist = 200'. I think
that's all you need.
Steve
--
Steve Strange
Digital Equipment Corporation, Nashua, NH
DCE DFS for DEC OSF/1 -- Development
strange@zk3.dec.com
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: How much memory?
[not found] ` <38qasf$9k4@mrnews.mro.dec.com>
@ 1994-10-28 12:21 ` Dan Pop
1994-10-28 20:39 ` Tim Llewellyn, (0272) 288738.
0 siblings, 1 reply; 69+ messages in thread
From: Dan Pop @ 1994-10-28 12:21 UTC (permalink / raw)
In <38qasf$9k4@mrnews.mro.dec.com> kaiser@mammal.vbo.dec.com (Pete KAISER) writes:
>In article <CyCJxI.5no@info.bris.ac.uk> tjl@siva.bris.ac.uk (Tim Llewellyn)
>writes that he wants
>
>> ... an out of the box shell that supports command line editing.
>
>and in article <STRANGE.94Oct27214950@squeeze.dec.com>, strange@zk3.dec.com
>(Steve Strange) replies:
>
>>csh supports command line editing ...
>
>Well, so does the out-of-the-box ksh, which I use. Here are the relevant
>lines from my ~/.profile, where "^x" represents literal CONTROL-x:
>
> set -o emacs
> alias __A=^P __B=^N __C=^F __D=^B __O=^[[
>
>Full command-line editing with emacs-style keybindings. ksh has the
>advantages of being solid, bug-resistant, and well documented.
>
And much better than the above does the free tcsh which supports
everything without any magical settings. And, unlike csh, it
works as the user expects it to work.
Dan
--
Dan Pop
CERN, CN Division
Email: danpop@cernapo.cern.ch
Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: How much memory?
1994-10-27 17:41 ` Rick Murphy
@ 1994-10-28 12:34 ` Dan Pop
1994-10-28 19:21 ` Peter da Silva
1994-10-31 20:01 ` Ross Alexander
0 siblings, 2 replies; 69+ messages in thread
From: Dan Pop @ 1994-10-28 12:34 UTC (permalink / raw)
In <38oop7$dih@decuac.dec.com> murphy@dco.dec.com (Rick Murphy) writes:
>In article <38oma6$s14@rlsaxp.bnsc.rl.ac.uk>, djr@rlsaxp.bnsc.rl.ac.uk (David Rawlinson) writes:
>>Apologies if this is simple but I can't for the life of me figure out
>>how you find out "simply" how much memory there is on an OSF/1 system.
>> ...
>>Why haven't DEC provided the tool?
>
>getsysinfo GSI_PHYSMEM provides the hook. A little program that uses it is attached.
> -Rick
>#include <stdio.h>
>#include <sys/sysinfo.h>
>#include <machine/hal_sysinfo.h>
>
>main(argc, argv)
>int argc;
>char **argv;
>{
> int memsize;
>
> getsysinfo(GSI_PHYSMEM, &memsize, sizeof(memsize), NULL, NULL);
> printf("This machine has %d Kb of memory\n", memsize);
> exit(0);
>}
Very nice, but it doesn't compile:
ues5:~/bin 8> uname -a
OSF1 ues5.cern.ch V2.1 250 alpha
ues5:~/bin 9> cc mem.c
/usr/lib/cmplrs/cc/cfe: Error: mem.c, line 11: 'GSI_PHYSMEM' undefined, reoccurrences will not be reported
getsysinfo(GSI_PHYSMEM, &memsize, sizeof(memsize), 0L, 0L);
---------------^
After looking in <sys/sysinfo.h>, it seems that the magical incantation
to get it compiled is:
ues5:~/bin 12> cc -DULT_BIN_COMPAT mem.c
ues5:~/bin 13> ./a.out
This machine has 32768 Kb of memory
Is there a more elegant way to do this? The man page for getsysinfo
doesn't mention anything about the ULT_BIN_COMPAT macro.
Dan
--
Dan Pop
CERN, CN Division
Email: danpop@cernapo.cern.ch
Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: How much memory?
1994-10-27 19:39 ` Tim Llewellyn
1994-10-28 1:49 ` Steve Strange
@ 1994-10-28 13:22 ` Stefan Monnier
1 sibling, 0 replies; 69+ messages in thread
From: Stefan Monnier @ 1994-10-28 13:22 UTC (permalink / raw)
In article <CyCJxI.5no@info.bris.ac.uk>,
Tim Llewellyn <Tim.Llewellyn@bristol.ac.uk> wrote:
> I've often wondered the same. Also an out of the box shell that supports
> command line editing. I don't mind answering the question "Would you
> like to have user friendly command line editing or a brain-damaged shell
> for Unix pedants" or something like that during the install (can ya tell
The standard csh shell distributed by DEC has command line editing.
The only trouble is that it's not turned on by default !
Stefan
PS: but I still prefer tcsh !
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: How much memory?
1994-10-28 12:34 ` Dan Pop
@ 1994-10-28 19:21 ` Peter da Silva
1994-10-31 20:01 ` Ross Alexander
1 sibling, 0 replies; 69+ messages in thread
From: Peter da Silva @ 1994-10-28 19:21 UTC (permalink / raw)
What version of OSF/1 are you using? It drops right in for 3.0.
--
Peter da Silva `-_-'
Network Management Technology Incorporated 'U`
1601 Industrial Blvd. Sugar Land, TX 77478 USA
+1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?"
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: How much memory?
1994-10-28 12:21 ` Dan Pop
@ 1994-10-28 20:39 ` Tim Llewellyn, (0272) 288738.
0 siblings, 0 replies; 69+ messages in thread
From: Tim Llewellyn, (0272) 288738. @ 1994-10-28 20:39 UTC (permalink / raw)
In article <CyDuBM.DCD@news.cern.ch>, danpop@cernapo.cern.ch (Dan Pop) writes:
>In <38qasf$9k4@mrnews.mro.dec.com> kaiser@mammal.vbo.dec.com (Pete KAISER) writes:
>
>
>>In article <CyCJxI.5no@info.bris.ac.uk> tjl@siva.bris.ac.uk (Tim Llewellyn)
>>writes that he wants
>>
>>> ... an out of the box shell that supports command line editing.
>>
>>and in article <STRANGE.94Oct27214950@squeeze.dec.com>, strange@zk3.dec.com
>>(Steve Strange) replies:
>>
>>>csh supports command line editing ...
>>
Yes, so I have been told. Not very friendly though. What are the arrow keys
on that LK401 for, after all?
>>Well, so does the out-of-the-box ksh, which I use. Here are the relevant
>>lines from my ~/.profile, where "^x" represents literal CONTROL-x:
>>
>> set -o emacs
>> alias __A=^P __B=^N __C=^F __D=^B __O=^[[
>>
OK I take the point. Except to me "out-of-the-box" means what you get
when you install the system from scratch and login. Thanks for the hints
about control sequences.
>>Full command-line editing with emacs-style keybindings. ksh has the
>>advantages of being solid, bug-resistant, and well documented.
>>
>And much better than the above does the free tcsh which supports
>everything without any magical settings. And, unlike csh, it
>works as the user expects it to work.
>
Actually, I posted just after I had almost (1 carriage return away from)
damaged my newly installed system attempting to get tcsh up. That was after
several single user reboots because I forgot to register tcsh in /etc/shells
and whatever.
>Dan
>--
Anyway, thanks for the advice. I've got VCL up now :-)
-----------------------------------------------------+------------------+
Tim Llewellyn - OpenVMS, Soukous and Cricket Addict |Hey, and get wise |
Physicist Programmer, Bristol Uni Particle Physics. | to the sounds of |
HEPNET/SPAN 19716::TJL Internet tjl@siva.bris.ac.uk | Africa,seen. |
I speak for me and noone else OK (and I might even | Soukous Makossa |
change my mind sometimes!-) Atari and EMagic user too| Mbalax Rumba...|
-----------------------------------------------------+------------------+
I neither love OpenVMS nor hate OSF/1, for they are both just tools I use
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: How much memory?
1994-10-28 12:34 ` Dan Pop
1994-10-28 19:21 ` Peter da Silva
@ 1994-10-31 20:01 ` Ross Alexander
1994-11-04 21:31 ` Jeff Lanka
1 sibling, 1 reply; 69+ messages in thread
From: Ross Alexander @ 1994-10-31 20:01 UTC (permalink / raw)
danpop@cernapo.cern.ch (Dan Pop) writes:
[of the physmem tool]
>Very nice, but it doesn't compile:
> getsysinfo(GSI_PHYSMEM, &memsize, sizeof(memsize), 0L, 0L);
> ---------------^
It built for me absolutely without incident on a v3.0 machine.
regards,
Ross
--
Ross Alexander VE6PDQ rwa@cs.athabascau.ca,
(403) 675 6311 rwa@auwow.cs.athabascau.ca
Television is chewing gum for the eyes. -- Frank Lloyd Wright
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: How much memory?
1994-10-31 20:01 ` Ross Alexander
@ 1994-11-04 21:31 ` Jeff Lanka
0 siblings, 0 replies; 69+ messages in thread
From: Jeff Lanka @ 1994-11-04 21:31 UTC (permalink / raw)
|>danpop@cernapo.cern.ch (Dan Pop) writes:
|>[of the physmem tool]
|>Very nice, but it doesn't compile:
|> getsysinfo(GSI_PHYSMEM, &memsize, sizeof(memsize), 0L, 0L);
|> ---------------^
|>
I had to explicitly do a
#define GSI_PHYSMEM 19
even though it's defined in /usr/include/sys/sysinfo.h
it wouldn't pick it up. Maybe someone can explain?
--
Jeff Lanka
VMS/Unix SM sysdev
Dow Jones/Telerate
^ permalink raw reply [flat|nested] 69+ messages in thread
* rc3/rc3.d problems
@ 1994-11-23 16:11 Andrew Top
1994-11-23 18:13 ` John Kohl
` (2 more replies)
0 siblings, 3 replies; 69+ messages in thread
From: Andrew Top @ 1994-11-23 16:11 UTC (permalink / raw)
I'm planning to have ArcInfo licensed automatically each
time the Alpha boots up. From what I've read this is done with
the rc3/rc3.d utility. What I've done is inserted the line in
the rc3 file but although the line came up saying that the
ArcInfo license was started it wasn't. I then removed that and
added a file (S99.....) to the rc3.d directory with the line
that starts the license manager. Unfortunately that didn't work
either.
The line I'm using works at the prompt but not as a startup
process. Could someone inform me as to what I'm doing wrong?
What shell are these run in? Am I right about rc3, that I
shouldn't be using rc1 or rc2?
Thanks in advance...
Andrew Top top@ccrs.emr.ca
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: rc3/rc3.d problems
1994-11-23 16:11 rc3/rc3.d problems Andrew Top
@ 1994-11-23 18:13 ` John Kohl
1994-11-24 15:35 ` Tim Llewellyn
1994-11-28 10:20 ` Richard Rogers
2 siblings, 0 replies; 69+ messages in thread
From: John Kohl @ 1994-11-23 18:13 UTC (permalink / raw)
>>>>> "Andrew" == Andrew Top <top@ccrs.emr.ca> writes:
In article <top.27.2ED36998@ccrs.emr.ca> top@ccrs.emr.ca (Andrew Top) writes:
Andrew> The line I'm using works at the prompt but not as a startup
Andrew> process. Could someone inform me as to what I'm doing wrong?
Andrew> What shell are these run in? Am I right about rc3, that I
Andrew> shouldn't be using rc1 or rc2?
This should probably go into the FAQ. My experience is that this
happens with programs which do not properly detach from the terminal;
the startup process will revoke terminal access when the console login
prompt starts, and this often results in the termination of ill-behaved
background processes.
Try this program as a wrapper to your license process:
main(int argc, char *argv[])
{
close(0);
close(1);
close(2);
setsid();
++argv;
execv(argv[0], argv);
}
--
John Kohl <jtk@atria.com> or <jtkohl@mit.edu>
working for but not representing: Atria Software
sometimes hacking on: NetBSD/i386
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: rc3/rc3.d problems
1994-11-23 16:11 rc3/rc3.d problems Andrew Top
1994-11-23 18:13 ` John Kohl
@ 1994-11-24 15:35 ` Tim Llewellyn
1994-11-24 19:10 ` Ron Ginger
1994-11-26 19:59 ` Peter da Silva
1994-11-28 10:20 ` Richard Rogers
2 siblings, 2 replies; 69+ messages in thread
From: Tim Llewellyn @ 1994-11-24 15:35 UTC (permalink / raw)
In article <top.27.2ED36998@ccrs.emr.ca>, top@ccrs.emr.ca (Andrew Top) writes:
|>Xref: bsmail comp.unix.osf.osf1:6312
|>Newsgroups: comp.unix.osf.osf1
|>Path:
|
bsmail!warwick!usenet.eel.ufl.edu!news.mathworks.com!europa.eng.gtefsd.com!howla
and.reston.ans.net!torn!nott!emr1!ccrs.emr.ca!top
|>From: top@ccrs.emr.ca (Andrew Top)
|>Subject: rc3/rc3.d problems
|>Message-ID: <top.27.2ED36998@ccrs.emr.ca>
|>Lines: 17
|>Sender: news@emr1.emr.ca
|>Nntp-Posting-Host: pctop.ccrs.emr.ca
|>Organization: CCRS
|>X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
|>Date: Wed, 23 Nov 1994 16:11:05 GMT
|>
|> I'm planning to have ArcInfo licensed automatically each
|>time the Alpha boots up. From what I've read this is done with
|>the rc3/rc3.d utility. What I've done is inserted the line in
|>the rc3 file but although the line came up saying that the
|>ArcInfo license was started it wasn't. I then removed that and
|>added a file (S99.....) to the rc3.d directory with the line
|>that starts the license manager. Unfortunately that didn't work
|>either.
|>
|> The line I'm using works at the prompt but not as a startup
|>process. Could someone inform me as to what I'm doing wrong?
|>What shell are these run in? Am I right about rc3, that I
|>shouldn't be using rc1 or rc2?
|>
|> Thanks in advance...
|>
|>Andrew Top top@ccrs.emr.ca
|>
--
I've been having fun recently with rc3.d and init.d, for httpd.
What I have done is also add a line to the /etc/inittab file to
start the daemon. I suggest you refer to the OSF system administration
manual to find out more.
Anyone else, is this the right thing (tm) to do, or am I trying to
kill a fly with a steamroller?
-----------------------------------------------------+------------------+
Tim Llewellyn - OpenVMS, Soukous and Cricket Addict |Hey, and get wise |
Physicist Programmer, Bristol Uni Particle Physics. | to the sounds of |
HEPNET/SPAN 19716::TJL Internet tjl@siva.bris.ac.uk | Africa,seen. |
I speak for me and noone else OK (and I might even | Soukous Makossa |
change my mind sometimes!-) Atari and EMagic user too| Mbalax Rumba...|
-----------------------------------------------------+------------------+
Unix is crap. I said it, I mean it, but I still gotta use it :=(
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: rc3/rc3.d problems
1994-11-24 15:35 ` Tim Llewellyn
@ 1994-11-24 19:10 ` Ron Ginger
1994-11-26 19:59 ` Peter da Silva
1 sibling, 0 replies; 69+ messages in thread
From: Ron Ginger @ 1994-11-24 19:10 UTC (permalink / raw)
In article <Czs3Av.EF5@info.bris.ac.uk> tjl@siva.bris.ac.uk (Tim Llewellyn) writes:
>From: tjl@siva.bris.ac.uk (Tim Llewellyn)
>Subject: Re: rc3/rc3.d problems
>Date: Thu, 24 Nov 1994 15:35:18 GMT
>I've been having fun recently with rc3.d and init.d, for httpd.
>What I have done is also add a line to the /etc/inittab file to
>start the daemon. I suggest you refer to the OSF system administration
>manual to find out more.
>Anyone else, is this the right thing (tm) to do, or am I trying to
>kill a fly with a steamroller?
I think the best approach is to put all local startup stuff in rc3.d. Give
them names starting with S## and usually a number in the range 90-99. Just be
sure you put it after things you need- like the network, or other daemons.
I would not put things like httpd in inittab.
For things you want to shutdown properly, place K## scripts in rc0.d.
CAUTION: using 'shutdown -r now' or 'shutdown -h now' does NOT execute the
rc0.d directory as you would guess. It simply shuts down the system processes.
Doing 'shutdown now' DOES run thru rc0.d, but then it stops at single user
mode, so if you want to do a reboot you must then go to the console terminal.
This is a pain, but it is explicit, if well hidden, in the shutdown man page.
ron ginger
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: rc3/rc3.d problems
1994-11-24 15:35 ` Tim Llewellyn
1994-11-24 19:10 ` Ron Ginger
@ 1994-11-26 19:59 ` Peter da Silva
1 sibling, 0 replies; 69+ messages in thread
From: Peter da Silva @ 1994-11-26 19:59 UTC (permalink / raw)
In article <Czs3Av.EF5@info.bris.ac.uk>,
Tim Llewellyn <Tim.Llewellyn@bristol.ac.uk> wrote:
> I've been having fun recently with rc3.d and init.d, for httpd.
I run httpd from inetd.conf, myself.
Of course that makes each connection a little slower, but if you're not
doing a lot of www service (we're behind a firewall, so we aren't) then
you don't need to run it as a daemon.
You should be able to run it from rc3.d/S99*, if it backgrounds itself
properly. I personally don't like the tendency of BSD software to background
itself, and tend to run through the old double-fork-and-setpgrp myself
in a wrapper (I call it detach). Once you do that it doesn't matter if
you're doing it from a script or what.
> What I have done is also add a line to the /etc/inittab file to
> start the daemon.
That will work, but then you need to set the environment right yourself.
In general you should start stuff from inittab that runs to completion,
not daemons... the main point of inittab is that it lets init manage
a bevy of scripts and sessions.
--
Peter da Silva `-_-'
Network Management Technology Incorporated 'U`
1601 Industrial Blvd. Sugar Land, TX 77478 USA
+1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?"
^ permalink raw reply [flat|nested] 69+ messages in thread
* Re: rc3/rc3.d problems
1994-11-23 16:11 rc3/rc3.d problems Andrew Top
1994-11-23 18:13 ` John Kohl
1994-11-24 15:35 ` Tim Llewellyn
@ 1994-11-28 10:20 ` Richard Rogers
2 siblings, 0 replies; 69+ messages in thread
From: Richard Rogers @ 1994-11-28 10:20 UTC (permalink / raw)
In article <top.27.2ED36998@ccrs.emr.ca>, top@ccrs.emr.ca (Andrew Top) writes:
> I'm planning to have ArcInfo licensed automatically each
>time the Alpha boots up. From what I've read this is done with
>the rc3/rc3.d utility. What I've done is inserted the line in
>the rc3 file but although the line came up saying that the
>ArcInfo license was started it wasn't. I then removed that and
>added a file (S99.....) to the rc3.d directory with the line
>that starts the license manager. Unfortunately that didn't work
>either.
>
> The line I'm using works at the prompt but not as a startup
>process. Could someone inform me as to what I'm doing wrong?
>What shell are these run in? Am I right about rc3, that I
>shouldn't be using rc1 or rc2?
>
> Thanks in advance...
>
>Andrew Top top@ccrs.emr.ca
>
I have just been through more or less the same hoop myself; I got
a wide variety of responses from readers of the alpha-osf-managers
mailing list, which I summarized back to the list as follows:
--------------------------------------------------------------
Many thanks to all who responded (and so quickly)!
It seems from the variety of responses I got that there may well be more
than one cause (maybe several) of daemons not starting as expected at
boot time - particularly as I was only able to get my sample daemon
(DEC's MH pop daemon) going correctly by one method (no. 1 below).
Some I could not test as I don't have the source code.
So here are all the suggestions I have received to date; some may work
better in other circumstances, I guess (they all work for someone!)
1. In the startup script, in place of "command", put
at now + 1 minute startup-script
where startup-script contains the necessary command(s).
2. As above but just "at now ..." (no delay)
This may work as well as (1), but having got it working...
3. General problem with terminal output? (No specific cure provided)
4. In the startup script, in place of "command", put
/usr/bin/nohup command
5. Change the daemon command to include a call to setsid(), making the
process a process group leader.
6. Use a separate "wrapper" program to do the setsid() call and then execvp()
the daemon program
7. Put the (undocumented) "daemon()" call in the source code.
Credits to:
Craig I Hagan
Ofer Gan
Bede Webster
Bonfield James
Steve Rosen
John Kohl
Martyn Johnson
Ray Bellis
with apologies for my very simplified summaries!
Richard
________________________________________
Richard M Rogers
Computing Services
Staffordshire University
Tel. 0785 (+44 785) 275396
E-mail: r.m.rogers@staffs.ac.uk or cstrmr@staffs.ac.uk
--
===========================================================================
Richard M Rogers E-mail: cstrmr@staffs.ac.uk
Computing Services OR R.M.Rogers@staffs.ac.uk
Staffordshire University Tel: 01785 (+44 1785) 275396
^ permalink raw reply [flat|nested] 69+ messages in thread
end of thread, other threads:[~1994-11-28 10:20 UTC | newest]
Thread overview: 69+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-23 16:11 rc3/rc3.d problems Andrew Top
1994-11-23 18:13 ` John Kohl
1994-11-24 15:35 ` Tim Llewellyn
1994-11-24 19:10 ` Ron Ginger
1994-11-26 19:59 ` Peter da Silva
1994-11-28 10:20 ` Richard Rogers
-- strict thread matches above, loose matches on Subject: below --
1994-10-27 16:59 How much memory? David Rawlinson
1994-10-27 17:41 ` Rick Murphy
1994-10-28 12:34 ` Dan Pop
1994-10-28 19:21 ` Peter da Silva
1994-10-31 20:01 ` Ross Alexander
1994-11-04 21:31 ` Jeff Lanka
1994-10-27 19:39 ` Tim Llewellyn
1994-10-28 1:49 ` Steve Strange
[not found] ` <38qasf$9k4@mrnews.mro.dec.com>
1994-10-28 12:21 ` Dan Pop
1994-10-28 20:39 ` Tim Llewellyn, (0272) 288738.
1994-10-28 13:22 ` Stefan Monnier
1994-07-21 17:26 OSF1 2.0 memory leaks and process table errors? Shayde
1994-07-21 19:10 ` Torbj|rn Lindgren
1994-07-22 14:22 ` Frank Wortner
1994-07-25 15:07 ` Mark Bartelt
1994-07-25 19:41 ` Frank Wortner
1994-07-26 10:46 ` Mark Bartelt
1994-07-26 15:24 ` Torbj|rn Lindgren
1994-07-26 16:59 ` Mark Bartelt
1994-07-26 19:25 ` Strange (mis)feature of the "man" command (was Re: OSF1 2.0 memory leaks ...) Mark Bartelt
1994-07-28 14:17 ` Frank Wortner
1994-07-27 18:28 ` OSF1 2.0 memory leaks and process table errors? Frank Wortner
1994-07-26 14:54 ` Torbj|rn Lindgren
1994-08-02 12:38 ` Tolliver Johnny S
1994-08-05 16:44 ` Dave Hill
1994-07-13 17:41 Alpha system clock calls Tony Alvarez
1994-07-18 18:02 ` Jeffrey M. Denham
1994-07-18 19:36 ` Christopher Phillips
1994-07-18 22:53 ` Steve Peltz
1994-07-25 9:14 ` Philip Shearer @ZUO-DC EBS-Team
1994-07-25 18:21 ` Jeffrey M. Denham
1994-08-02 1:01 ` Sinan Karasu
1994-06-09 2:29 telnet prompts for root Lyn Kempter
1994-06-09 22:07 ` Randy M. Hayman
1994-06-15 21:16 ` Tom Jordahl
1994-06-23 23:34 ` The Fantom Ferret
1994-06-24 15:21 ` Dr Marco Luchini
1994-06-28 0:02 ` Andrew Rutherford
1994-06-28 10:08 ` Peter Lister
1994-06-28 23:12 ` Andrew Rutherford
1994-06-30 18:12 ` R. David Murray
1994-07-01 21:46 ` Jeffrey Mogul
1994-04-26 16:51 Trouble with Motif compilation marco broglia
1994-04-26 17:53 ` Frank Wortner
1994-04-26 23:25 ` Paul Southworth
1993-12-14 0:30 ALPHA/OSF1 info wanted; Again Ed McQuillen
1993-12-27 22:10 ` Randy M. Hayman
1993-12-28 3:48 ` -=Runaway Daemon=-
1993-12-28 20:18 ` Andrew Gallatin
1993-12-31 18:47 ` Dan Mosedale
1993-12-31 17:59 ` Wuxu Peng
1993-12-31 18:50 ` Dan Mosedale
1993-12-31 20:22 ` Wuxu Peng
1994-01-04 0:44 ` Dan Mosedale
1993-12-31 19:59 ` ivie
1994-01-03 8:29 ` Wilko Bulte
1994-01-03 13:13 ` John T. Kohl
1994-01-04 9:40 ` Burkhard Neidecker-Lutz
[not found] ` <2g1s9h$lbo@nntp2.stanford.edu>
1994-01-01 10:22 ` -=Runaway Daemon=-
1994-01-01 20:43 ` Dave Cherkus
1994-01-02 11:21 ` Martin Cracauer
1994-01-11 3:33 ` Hamish Marson
1994-01-11 16:50 ` Dave Cherkus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox