Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2002 10:13:24 -0500 (EST)
From:      Eric Dedrick <dedrick@dsl-146-127.resnet.purdue.edu>
To:        <freebsd-questions@freebsd.org>
Subject:   slow mail
Message-ID:  <20020117095637.O172-100000@dsl-146-127.resnet.purdue.edu>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Let me thank you folks in advance for helping me out.

I've just upgraded the OS and just installed another ethernet card and
turned on natd, almost exactly as the instructions say.

Now I get an unusual occurence.  Everything associated with email very
slow.  Sending email is slow, even mailq is slow:

$ time mailq
/var/spool/mqueue is empty

real    1m20.417s
user    0m0.059s
sys     0m0.012s

Specifics:

$ uname -a
FreeBSD dsl-146-127.resnet.purdue.edu 4.5-RC FreeBSD 4.5-RC #0: Thu Jan 17 06:38:45 EST 2002     dedrick@dsl-146-127.resnet.purdue.edu:/usr/obj/usr/src/sys/DSL-146-127-2  i386

/etc/rc.local:
/usr/sbin/sshd
/usr/sbin/lpd
/usr/sbin/lptcontrol -p
/usr/sbin/rndcontrol -q -s 2 -s 3 -s 1
/sbin/ifconfig dc0 192.168.0.1 media 100baseTX
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via ep0
/sbin/ipfw add pass all from any to any
/sbin/natd -interface ep0
/usr/local/apache/bin/httpsdctl start

Unfortunately the card dc0 has some sort of autosensor that switches
between different media.  I can't get it to work unless I manually
tell it which media to use, hence dc0, the firewall and natd are all
configured as lines in /etc/rc.local.

$ ifconfig
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::2a0:ccff:fedb:a8a8%dc0 prefixlen 64 scopeid 0x1
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:a0:cc:db:a8:a8
        media: Ethernet 100baseTX
        status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 128.211.146.127 netmask 0xffffff00 broadcast 128.211.146.255
        inet6 fe80::260:8ff:fe10:e6e5%ep0 prefixlen 64 scopeid 0x3
        ether 00:60:08:10:e6:e5
        media: Ethernet 10baseT/UTP
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500

As I said before, most everything seems to be working fine, 'cept for
really slow mail related processes.

Also, on a probably unrelated note, when I plug dc0 into a switch, the
hub says that dc0 is transmitting like mad, which seems odd,
expecially when there are no other devices on its subnet with which it
should be communicating (all of my other devices just say "link").  Is
this normal behaviour?

Thanks again for your help.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8RuoVzeurue0k47sRAm+3AJ4iHHCC0nm88fxBnttHTu6Uuzue2ACgn2P2
ayWdRgKIP+Y8cHoVBx0W3Gk=
=DQTQ
-----END PGP SIGNATURE-----



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020117095637.O172-100000>