🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Tim Thompson Tue, 04 Jun 1996 00:00
SS20/INN1.4/Solaris 2.5: Unhappy combination
#8236
Author: Tim Thompson
Date: Tue, 04 Jun 1996 00:00
99 lines
3930 bytes
First, our environment:

Sparc 20, multi-processor, 192 MB RAM
running Solaris 2.5 (recently upgraded from 2.4)
latest kernel patch and NFS patch applied
used as NNTP "feeder" machine, INN 1.4
exporting large (i.e. 24 GB) file system to two Sparc 10 multi-processors
"reader" machines, from which people actually read the articles.

The problem is that the Sparc 20 "feeder" machine periodically "seizes up"
without a clue - nothing on the console, nothing in /var/adm/messages,
nothing in /var/log/syslog, not a clue anywhere.

Unfortunately, when this happens, the thing has to be halted rather rudely,
leaving the file systems in bad shape. In particular, fsck'ing the large
filesystems we maintain for netnews is not a pleasant task.

I remember something being mentioned here that if kernel memory is exhausted,
it could be the culprit. So as the last seizure was happening, I was
running crash(1M), and doing "map kernelmap". I was getting output like this:


	>  map kernelmap
	 
	kernelmap:
	MAPNAME: kernel map
	FREE: 3577      WANT: 0 SIZE: 3578
	m_lock:  waiters 0   lock 0
		type: MUTEX_ADAPTIVE    owner 0
	Condition variable m_cv: 0
	 
	SIZE    ADDRESS
	 499       620d
	TOTAL NUMBER OF SEGMENTS 1
	TOTAL SIZE 499

The TOTAL SIZE number was steadily decreasing, until the output looked like
this:

	>  map kernelmap
	 
	kernelmap:
	MAPNAME: kernel map
	FREE: 3578      WANT: 1 SIZE: 3578
	m_lock:  waiters 0   lock 0
		type: MUTEX_ADAPTIVE    owner 0
	Condition variable m_cv: 13
	 
	SIZE    ADDRESS
	TOTAL NUMBER OF SEGMENTS 0
	TOTAL SIZE 0

At this point, performance on the machine got extremely sluggish, and 
although you could telnet to the machine and get the "Connected" message,
a "login:" prompt was never received.

I further noticed that as time went by, the "Condition variable m_cv" was
growing:

	> map kernelmap
	 
	kernelmap:
	MAPNAME: kernel map
	FREE: 3578      WANT: 1 SIZE: 3578
	m_lock:  waiters 0   lock 0
		type: MUTEX_ADAPTIVE    owner 0
	Condition variable m_cv: 57
	 
	SIZE    ADDRESS
	TOTAL NUMBER OF SEGMENTS 0
	TOTAL SIZE 0

At this point, the system can not be shutdown gracefully; it can't even
be halted from the console. The only choice is to either L1-A or power
cycle the beast, and incur the wrath of the ugly fsck monster.

We were advised to move to Solaris 2.5 from 2.4 because the NFS performance
would be much improved. Given our set-up, that seemed like a good thing.

Obviously, we're much less than pleased with the way things have gone
thus far. On a typical weekday, we're experiencing two seizures a day.

What (if anything) might you suggest be done to correct this situation?
We've got the latest patches applied. I've heard of a Solaris 2.5.1
version, but can't seem to get my hands on it.

Lacking any concrete improvement in the next couple of days, my last
resort is to migrate the machines back to Solaris 2.4.

Thanks to any and all who can provide me with help with this situation.

-- 
This is an all-natural posting, containing | Tim Thompson
no artificial colorings, flavorings, or    | Netnews Service Manager/Engineer
preservatives.                             | Lucent Technologies
                                           | tgt@lucent.com

Re: SS20/INN1.4/Solaris 2.5: Unhappy combination
#8259
Author: Andrew A. Vasilyev
Date: Tue, 04 Jun 1996 00:00
23 lines
1620 bytes
Tim Thompson (tgt@pongo.cb.att.com) wrote:
> Sparc 20, multi-processor, 192 MB RAM
> running Solaris 2.5 (recently upgraded from 2.4)

  What about minfree/desfree/lotsfree parameters in your /etc/system
  file? Nothing to said about 2.5, but in 2.4 the default values were
  bad for MP machines, so you should set minfree to 128*N (number of
  CPUs), and lotsfree = 2*desfree = 2*minfree (let Casper Dick correct
  me, but this was a great win on our SS20 server). And if you have
  increased ncsize in /etc/system (for the benefit of NFS performance),
  probably it would be better to reduce it's value.

> latest kernel patch and NFS patch applied
> used as NNTP "feeder" machine, INN 1.4
> exporting large (i.e. 24 GB) file system to two Sparc 10 multi-processors

  Afraid to be wrong but why not to read via NNTP? (Without NFS).
  Performance should be better.
_______
	ANDY

Re: SS20/INN1.4/Solaris 2.5: Unhappy combination
#8265
Author: bugs
Date: Tue, 04 Jun 1996 00:00
43 lines
2258 bytes
tgt@pongo.cb.att.com (Tim Thompson) writes:
>Sparc 20, multi-processor, 192 MB RAM
>running Solaris 2.5 (recently upgraded from 2.4)
>latest kernel patch and NFS patch applied
>used as NNTP "feeder" machine, INN 1.4
>exporting large (i.e. 24 GB) file system to two Sparc 10 multi-processors
>"reader" machines, from which people actually read the articles.
>The problem is that the Sparc 20 "feeder" machine periodically "seizes up"
>without a clue - nothing on the console, nothing in /var/adm/messages,
>nothing in /var/log/syslog, not a clue anywhere.

>Unfortunately, when this happens, the thing has to be halted rather rudely,
>leaving the file systems in bad shape. In particular, fsck'ing the large
>filesystems we maintain for netnews is not a pleasant task.

At Netcom we are using a similar configuration, with around 16 servers
running Solaris 2.5, inn1.4unoff3/4, and large file systems.

I discovered that if I export the news spool out the "le0:" port then 
the servers will die as you describe.  I believe the S1000's also
exhibit this behavior.

We now use extra S-BUS cards (cisco-cddi or fast-ethernet) to export
the file systems.  This is very solid and has not given us problems
for several months of the most intense usage.

I have some Ultra140 news boxes where we CAN export the file systems out the
"le0:" port without trouble.

I believe there is a hardware/firmware bug in the sparc20/s1000 ethernet
that NFS seems to bring out.

You might try getting some s-bus ethernet cards and experimenting with them,
and avoiding NFS le0 usage.

Regards,

Mark Hittinger
Netcom/Dallas
bugs@netcom.com

Re: SS20/INN1.4/Solaris 2.5: Unhappy combination
#8271
Author: Anthony D'Atri
Date: Tue, 04 Jun 1996 00:00
10 lines
923 bytes
>  Afraid to be wrong but why not to read via NNTP? (Without NFS).
>  Performance should be better.

I've tried it both ways in a few environments, and found NFS to
be faster in those situations.



Re: SS20/INN1.4/Solaris 2.5: Unhappy combination
#8277
Author: Casper H.S. Dik
Date: Wed, 05 Jun 1996 00:00
65 lines
2377 bytes
tgt@pongo.cb.att.com (Tim Thompson) writes:

>First, our environment:

>Sparc 20, multi-processor, 192 MB RAM
>running Solaris 2.5 (recently upgraded from 2.4)
>latest kernel patch and NFS patch applied
>used as NNTP "feeder" machine, INN 1.4
>exporting large (i.e. 24 GB) file system to two Sparc 10 multi-processors
>"reader" machines, from which people actually read the articles.

>The problem is that the Sparc 20 "feeder" machine periodically "seizes up"
>without a clue - nothing on the console, nothing in /var/adm/messages,
>nothing in /var/log/syslog, not a clue anywhere.


Have you tried the following patch?  I think the subject of the patch is
a bit of a misnomer; it affects all le based systems.

Patch-ID# 103244-01
Keywords: le hang ftp Ultrasparc
Synopsis: SunOS 5.5: ftp tests may cause system hang on Ultrasparc systems
Date: Mar/05/96
 
Solaris Release: 2.5
 
SunOS Release: 5.5
 
Unbundled Product:
 
Unbundled Release:
 
Topic: SunOS 5.5: ftp tests may cause system hang on Ultrasparc systems
 
BugId's fixed with this patch: 1233371
 
Changes incorporated in this version:
 
Relevant Architectures: sparc
 
Patches accumulated and obsoleted by this patch:
 
Patches which conflict with this patch:
 
Patches required with this patch:
 
Obsoleted by:
 
Files included with this patch:
 
/kernel/drv/le
 
Problem Description:
 
1233371 ftp tests cause "le0 port" hang on Ultrasparc systems 
 

-- 
Casper Dik - Sun Microsystems - via my guest account at the University
of Amsterdam.  My work e-mail address is: Casper.Dik@Holland.Sun.COM
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

Re: SS20/INN1.4/Solaris 2.5: Unhappy combination
#8286
Author: Mike Marler
Date: Wed, 05 Jun 1996 00:00
33 lines
2202 bytes
bugs@freebsd.netcom.com writes:

}tgt@pongo.cb.att.com (Tim Thompson) writes:
}}Sparc 20, multi-processor, 192 MB RAM
}}running Solaris 2.5 (recently upgraded from 2.4)

}}Unfortunately, when this happens, the thing has to be halted rather rudely,
}}leaving the file systems in bad shape. In particular, fsck'ing the large
}}filesystems we maintain for netnews is not a pleasant task.

}At Netcom we are using a similar configuration, with around 16 servers
}running Solaris 2.5, inn1.4unoff3/4, and large file systems.

Another almost related problem, which we reported to SUN while beta
testing Solaris 2.5 and have not heard of any patch(es) yet, is that
of fsflush not flushing files.  Inodes and directories would be fine,
but you would find random data on disk for the contents of files that
you would suspect should have been "flushed".  I believe that the
first time someone here noticed it was after checking the contents of
a file which he had just edited.  You might like to do something
similar to what we have in the crontab for user "root" of
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/sbin/sync >/dev/null 2>&1
Of course you may want to vary the frequency and might find it a bit
of problem to backtrack in a log file what where really the last
few articles coming over the feed(s) to the news server.

Mike
-- 
Mike Marler                          Information Technology, Georgia Tech
mike.marler@oit.gatech.edu           Atlanta, Georgia  30332-0715

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads