home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:12982 comp.unix.sysv386:16270 comp.unix.sys5.r4:443 comp.unix.wizards:4551
- Newsgroups: comp.unix.questions,comp.unix.sysv386,comp.unix.sys5.r4,comp.unix.wizards
- Path: sparky!uunet!ukma!asuvax!ennews!mcdphx!udc!avonruff
- From: avonruff@urbana.mcd.mot.com (Al Von Ruff)
- Subject: Re: Unix System Crashing!! Why?
- Message-ID: <1992Nov5.140301.20874@urbana.mcd.mot.com>
- Sender: news@urbana.mcd.mot.com (News)
- Nntp-Posting-Host: predator.urbana.mcd.mot.com
- Organization: Motorola Computer Group, Urbana Design Center
- References: <1992Nov3.130757.20385@cbfsb.cb.att.com>
- Date: Thu, 5 Nov 1992 14:03:01 GMT
- Lines: 62
-
- In article <1992Nov3.130757.20385@cbfsb.cb.att.com> nll@cbnewsb.cb.att.com (neal.l.leitner) writes:
- >
- >I have been having a problem with my Unix machine crashing every once in
- >a while. I was hoping someone could shed some light on the subject.
- >
- >The machine is a Intel 486 50MHZ machine running AT&T Unix version 4.0.2.1.
- >The system has a full blown Unix system with some additional peripherals
- >such as:
-
- ....
-
- >The messages that are dumped to the console are:
- >
- >WARNING: pprtmount: no msg blocks
- >WARNING: pprtmount: no msg blocks
- >WARNING: pprtmount: no msg blocks
- >WARNING: ldterm: (ldterm_outchar) out of blocks
- >WARNING: ldterm: (ldtermsrv) out of blocks
- >WARNING: ldtermsrv: out of blocks
- >WARNING: pprtmount: no msg blocks
- >WARNING: pprtmount: no msg blocks
- >WARNING: pprtmount: no msg blocks
- >WARNING: ldtermsrv: out of blocks
- >
- >The only way to get the system back is to reboot the machine. If anyone
- >can help I would appreciate it greatly.
-
- You have run out of STREAMS resources. There are two possible reasons
- for your problem:
-
- 1) strthresh is tuned too low for your system use. If your machine
- crashes at approximately the same time of day (i.e: during backups,
- while sending/receiving news, during high UUCP traffic, running heavy
- networking loads), then this is probably the case. strthresh is a
- kernel tunable which designates the maximum number of bytes which
- the STREAMS subsystem is allowed to use. This parameter has a
- notoriously low default setting (around 2 Megabytes). I would recommend
- setting strthresh to a value of 50 percent of physical memory.
-
- The method of changing tunable parameters differ from vendor to vendor
- on SVR4, so I can't tell you the exact steps to take. We have access
- to a 386 reference platform here, and on that machine it appears that
- you would alter the /etc/conf/cf.d/mtune file. Change the line:
-
- STRTHRESH 0x200000 0 0x1000000
-
- To a more appropriate value. For a 16 Meg system, for instance, change
- the 0x200000 to 0x800000.
-
- I recommend contacting your vendor for the exact steps to take in
- changing kernel tunables.
-
- 2) You have a STREAMS memory leak. If your machine crashes at approximately
- the same uptime value (for instance: after 4 days of run time), then this
- is probably the case. In this case, you can't do anything except report
- the bug to your vendor. We have found and plugged a number of STREAMS leaks
- in our product - your implementation may still contain these leaks.
-
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Al von Ruff Motorola Microcomputer Division, Urbana Design Center
- Voice: 217.384.8553 1101 East University Avenue, Urbana, IL 61801 USA
- Internet: avonruff@urbana.mcd.mot.com UUCPnet: uiucuxc!udc!avonruff
-