* Rampant Swap Errors on 3100... @ 1991-08-30 14:58 Robert J. Granvin 1991-08-30 21:38 ` fisher 1991-09-03 19:15 ` Sarah Young 0 siblings, 2 replies; 5+ messages in thread From: Robert J. Granvin @ 1991-08-30 14:58 UTC (permalink / raw) It seems that every person I know at DEC decided to leave a day (or four :-) early for Labor Day. We currently have 18 DECstation 3100's. 10 of them are at one site, and the remainder at a second. Recently, the ten system site has been seeing a serious amount of "Sorry, PID <> was killed on swap error" messages. It began with one machine (admittedly one that seems to be a bit more sensitive than the rest), but I'm now running with at least 60% of the machines reporting errors. Each machine has an internal RZ24. The machines at the other site have not recorded even a single swap error (though they do show a few more NFS timeouts, which because of the configuration doesn't surprise me...) This makes it seem like environment is the culprit. Most of these errors occur during the night, but a noticeable number occur during the day when the rooms are actually reasonably cool and not particularly humid. If anyone has any theories of the cause or culprit, I'd appreciate hearing it. These swap errors, besides being annoying, do occasionally manage to lock the individual machine into an unstable state, which when I force a reboot, annoys the heck out of people who run jobs that take hours or days to complete. Thoughts? Incantations? -- Robert J. Granvin School of Statistics rjg@umnstat.stat.umn.edu University of Minnesota ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Rampant Swap Errors on 3100... 1991-08-30 14:58 Rampant Swap Errors on 3100 Robert J. Granvin @ 1991-08-30 21:38 ` fisher 1991-08-30 23:08 ` Ted Lemon 1991-09-03 19:15 ` Sarah Young 1 sibling, 1 reply; 5+ messages in thread From: fisher @ 1991-08-30 21:38 UTC (permalink / raw) In article <1991Aug30.145854.10911@cs.umn.edu>, rjg@umnstat.stat.umn.edu (Robert J. Granvin) writes: > > We currently have 18 DECstation 3100's. 10 of them are at one site, > and the remainder at a second. Recently, the ten system site has been > seeing a serious amount of "Sorry, PID <> was killed on swap error" > messages. It began with one machine (admittedly one that seems to be > a bit more sensitive than the rest), but I'm now running with at least > 60% of the machines reporting errors. Each machine has an internal > RZ24. > > The machines at the other site have not recorded even a single swap > error (though they do show a few more NFS timeouts, which because of > the configuration doesn't surprise me...) > > This makes it seem like environment is the culprit. Most of these > errors occur during the night, but a noticeable number occur during > the day when the rooms are actually reasonably cool and not particularly > humid. > Environment may very well be your culprit....but don't limit your thoughts to only ambient air temp/humidity. Take a look at power. If need be, get a dranitz (sp?) line monitor that can continously monitor power conditions. I have on more than one occasion (with many, many different vendor's equipment also) heard stories of things like janitor's plugging industrial vacum cleaners into the powerstrip or circuit that the computer(s) happens to be plugged into. This kind of activity can cause the problems you are seeing. Other possible cuplrits could be further down the line (i.e. your power company), but you'll have to find out yourself. Everytime I hear "it only happens overnight" I get suspicious. One more thing to check along w/ air temp & humidity is possible static causes. -- --------------------------------------------------------------------------- Lawrence Fisher Internet: fisher@edwards-vax.af.mil Digital Equipment Corporation ^ Principal Software Specialist Currently working here | (Edwards AFB, CA) Specializing in Realtime Disclaimer: I don't speak for Digital or the U. S. Air Force "Bomb Number 20, you're out of the bomb bay again" --------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Rampant Swap Errors on 3100... 1991-08-30 21:38 ` fisher @ 1991-08-30 23:08 ` Ted Lemon 0 siblings, 0 replies; 5+ messages in thread From: Ted Lemon @ 1991-08-30 23:08 UTC (permalink / raw) Actually, I'm not convinced that this is a hardware problem at all. If you are running a program and part of the text segment gets swapped out, the operating system doesn't write it to the swap device - it just remembers where it was in the executable image, and when the time comes to swap it back in, it just re-reads that image. If the executable comes off of a soft-mounted nfs filesystem, and a timeout or other error occurs, then the swapping-in operation will fail, and the process will be killed on a swap error, even though the actual swap device was fine. Another nfs-related swap issue is that with NFS, there's no way to mark an image as read-only while it's being executed, because NFS is a stateless protocol. This means that if somebody runs, say, /usr/local/bin/emacs, and then the system administrator installs a new version of emacs on the central server, the new image will be all that's left when the client tries to swap the old one back in. When this situation occurs, the client machine will notice that the executable has changed, because the file attributes will have changed. However, it won't be able to continue the partially swapped-out process, because there's no way to get back the missing piece of the text segment. It will therefore kill the process, again with a swap error. BTW, when I say swap above, I should add that this also applies to paging. Swapping is generally used to refer to the whole image, whereas paging refers to individual pages of the image. So, in conclusion, I would recommend that you try the following: 1) Try to find out if your network is flakey. I can't really give you a primer on that subject - it's a bit involved. 2) Try mounting server disks hard, to see if the problem goes away. It may be that mounting the servers hard is a suboptimal solution, but at least you can get some information on the nature of the problem this way. 3) Try and find out what applications are regularly being killed on swap errors. If you find that only a few applications are experiencing the majority of the problems, and that these applications are all being built locally and upgraded frequently, then modify your update procedure so that it doesn't actually overwrite an executable. For emacs, I did this by writing a simple shell script called emacs which would search for all files matching, ``emacs-18.59.localversion'', and then choose the numerically highest such file. I would then wait for about fifteen days after installing a new executable before deleting the old one. Good luck! _MelloN_ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Rampant Swap Errors on 3100... 1991-08-30 14:58 Rampant Swap Errors on 3100 Robert J. Granvin 1991-08-30 21:38 ` fisher @ 1991-09-03 19:15 ` Sarah Young 1991-09-11 16:11 ` Alan's Home for Wayward Notes File. 1 sibling, 1 reply; 5+ messages in thread From: Sarah Young @ 1991-09-03 19:15 UTC (permalink / raw) ack! I hate swap errors! Two comments, from previous experience: 1. Once we had lots of seemingly random killed on swaps, accompanied by Bus Parity Errors in the error logs. DEC replaced the disks, and everything was aok. 2. DEC suggested when using an entire disk for swap, partition off the first few bytes and makefs it to preserve the disk's partition tables. Don't ask me to explain it, but there you are. -- =============================================================================== UUCP: ...seismo!ncr-sd!ncrcae!usceast!young CSNET: young@cs.scarolina.edu Sarah Young, Dept of Math, University of South Carolina, Columbia, SC 29208 =============================================================================== ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Rampant Swap Errors on 3100... 1991-09-03 19:15 ` Sarah Young @ 1991-09-11 16:11 ` Alan's Home for Wayward Notes File. 0 siblings, 0 replies; 5+ messages in thread From: Alan's Home for Wayward Notes File. @ 1991-09-11 16:11 UTC (permalink / raw) In article <young.683925348@willow.cs.scarolina.edu>, young@cs.scarolina.edu (Sarah Young) writes: > ack! I hate swap errors! Two comments, from previous experience: > > 1. Once we had lots of seemingly random killed on swaps, accompanied by > Bus Parity Errors in the error logs. DEC replaced the disks, and > everything was aok. Bus errors on SCSI can be hard to find. It's possible for some appearently idle device to be just broken enough that it will corrupt what goes wandering by. I once had a TK50 that was broken, but for a long time thought it was the 2nd RZ23. Whenever I had a very high I/O load, I'd start getting parity errors when that one RZ23 transfered. For a long time I just didn't use it, but when I finally needed and the problem came back I looked closer. When I took off the TK50, the problem went away. > > 2. DEC suggested when using an entire disk for swap, partition off the > first few bytes and makefs it to preserve the disk's partition tables. As of V4.2 the partition table lives at the end of the superblock at the beginning of the disk. The first 16 sectors of a file system are set aside for a boot block. The 2nd 16 are used for the superblock. This is unlikely to change until OSF switches us over to using disk labels. If you're using a whole partition for page/swap then there is a very small possbility that a valid looking partition table can be written into the sector that would contain the partition table if one were to exist. It's pretty unlikely though. I think you'd have to write the superblock magic number to the right place and write the partition table magic number to the write place as well as have a non-zero value in the partition "valid" field. If they really did partition around the first few BYTES then it probably didn't do any good. There's about 16,000 of them from the beginning of the disk before you get to the partition table. > > Don't ask me to explain it, but there you are. > Sarah Young, Dept of Math, University of South Carolina, Columbia, SC 29208 -- Alan Rollow alan@nabeth.cxn.dec.com ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1991-09-11 16:11 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1991-08-30 14:58 Rampant Swap Errors on 3100 Robert J. Granvin 1991-08-30 21:38 ` fisher 1991-08-30 23:08 ` Ted Lemon 1991-09-03 19:15 ` Sarah Young 1991-09-11 16:11 ` Alan's Home for Wayward Notes File.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox