Re: Heavily loaded nfs/amd gets stuck

1999-06-18 Thread Studded
No action on this in -current for a few days, so let's try
hackers. In response to some suggestions I tried raising the number of
nfsiod's to 20 (the max) and increasing the sysctl cache value to 10,
still no joy. 

I'm using amd to automount directories on sun (sol 2.6) server to
my freebsd-current client machine. Details below, any help appreciated.

Doug

On Thu, 17 Jun 1999, Studded wrote:

  Also, should I be considering a move to -current for this box? Is
  -current stable enough right now to run a fairly heavily loaded web
  server? If the NFS in -current is going to be doing better than what's in
  -stable it will be worth a little headache to change, since our structure
  depends on it heavily. 
 
   Well I went ahead and tried -current, and got better results, but
 the same crash. With the following map:
 
 /defaults  type:=nfs;opts:=rw,nosuid,vers=3,intr,proto=udp,noconn
 *   rhost:=IP${key};rfs:=/Space/${key}
 
 It went MUCH farther through the script (mounted about 60 out of 80
 directories) but it crashed just the same. Kernel stack trace looked like
 this:
 
 stuff
 Xresume1()
 --- interrupt
 bcmp()
 mountnfs()
 nfs_mount()
 mount()
 syscall()
 Xint0x80syscall()

Ok, another interesting development. What the script I'm running
does is go through each user account on our sun servers, reads a file,
then uses certain values from that file to print out conf files on the
local freebsd server that's acting as an NFS client (and crashing). So
it's mounting a directory, reading 250 files, mounting the next directory,
reading the next 250 files, and so on for a total of 80 directories. 

I changed the script so that after each reading the 250 files for
each directory it did a 'sleep 10' before it started again. This allowed
the script to run through to completion. 

So, I'm still open to new things to try here. Does anyone have any
suggestions? I've been looking at nfsiod, all I had started was the
default 4 because I thought they would spawn more if they needed more, but
apparently they don't. Would more of those help? Would turning them off
altogether help? I *really* need help with this since my boss is
(justifiably I think) loathe to put this box into service without a little
more concrete evidence that NFS can hold up. Would it be better to send
this to -hackers? Maybe file a PR? I don't mean to sound like a pest, and
yes I know that we're all volunteers, etc. But after wheedling for 4
months to try freebsd I'm kind of feeling the pinch here. :-/

Thanks for any help you can provide,

Doug



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: timeconsuming processes on FreeBSD 3.1

1999-06-16 Thread Studded
On Thu, 20 May 1999, The Tech-Admin Dude wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I could add another one, top(1) frequently does that on this machine..
 so whatever answers you get, be sure to forward them to me :).

Blast from the past, but since no one gave you an answer, here
is one suggestion. I used to have this problem all the time until I
discovered that top obeys environment variables. So, you could put the
following in /etc/login.conf (make sure to rebuild the db after editing):

:setenv=TOP='-I -d5'

The -I just means don't display idle processes, the -d5 means do 5
cycles then exit. Both are overridable from the command line. You might
want to set the -d value higher so that it's more transparent to the user,
but after setting this up I've never had another runaway top process. 

HTH,

Doug
-- 
***   Chief Operations Officer, DALnet IRC network  ***

On account of being a democracy and run by the people, we are the only
nation in the world that has to keep a government four years, no matter
what it does.
-- Will Rogers



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: [johnathan.f.mee...@bankerstrust.com: FreeBSD Configuration]

1999-05-23 Thread Studded
Wolfram Schneider wrote:
 
 I like the idea of easy configuration as an /option/ to those who would
 like it - particularly newcomers to UNIX. With this in mind, I searched my
 install set for such utilities but couldn't find them, nor see them on the
 wanted projects list. 

Your best bet would be to take a look at http://www.webmin.com/. What
you're talking about would best be included as a module for their
framework. For what it's worth, I think it's an excellent idea.

Doug
-- 
***   Chief Operations Officer, DALnet IRC network  ***

Nominated for quote of the year is the statement made by Representative
Dick Armey (Texas), who when asked if he were in the President's place,
would he resign, responded:

If I were in the President's place I would not get a chance to resign.
I would be lying in a pool of my own blood hearing Mrs. Armey standing
over me saying, 'How do I reload this damn thing?'


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message