[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 712] altq 3 and openbsd 2.8 (fwd)
oh, its running natd and ipf also if that helps?
PID TT STAT TIME COMMAND
1 ?? Is 0:00.03 /sbin/init
451 ?? Is 0:00.00 inetd
894 ?? Is 0:00.01 /usr/local/psionic/portsentry/portsentry -udp
2995 ?? Is 0:00.03 dhclient
10171 ?? Is 0:00.01 /usr/sbin/identd
10657 ?? Ss 0:01.33 ipmon -Ds
14148 ?? Ss 0:41.42 ppp -ddial onenet
15356 ?? S 0:00.82 sshd: administ@ttyp0 (sshd)
16597 ?? Is 0:00.50 cron
16759 ?? Is 0:00.03 /usr/local/psionic/portsentry/portsentry -tcp
20010 ?? Is 0:00.68 /usr/sbin/sshd
23767 ?? Is 0:00.91 sendmail: accepting connections (sendmail)
28165 ?? Is 0:00.99 syslogd
3685 p0 R+ 0:00.00 ps -ax
4309 p0 Is 0:00.01 -sh (sh)
29763 p0 S 0:00.38 -bash (bash)
32676 C0 Is+ 0:00.01 /usr/libexec/getty Pc ttyC0
26611 C1 Is+ 0:00.01 /usr/libexec/getty Pc ttyC1
/Norman
Paladin Corporation Pty Ltd. Ph:+612 9835-4782 Fax:+612 9864-0487
Software Engineering: c/c++/perl/sql/eiffel/pascal/haskell/php/java
Powered by FreeBSD/SMP http://www.paladincorp.com.au/
The lyf so short, the craft so long to lerne - Chaucer
Unix, VMS, MVS since the 80's, FreeBSD from 2.1.6, Linux since '94
---------- Forwarded message ----------
Date: Wed, 31 Jan 2001 02:01:09 +1100 (EST)
From: Norman Widders <torqumada@paladincorp.com.au>
Cc: altq@csl.sony.co.jp
Subject: altq 3 and openbsd 2.8
hi,
wonder what i've done wrong, ever seen a lockup using altqd + openbsd 2.8,
happened twice, so i disabled altqd and went back to userland-ppp until i
find out why. it runs fine for a few minutes as altqstats shows
me.. previous uptimes were 100days before altq
not sure i am still experimenting and trying to get to grips with it
any tips/tricks would be welcome, as would an ICMP rule that lets me vary
it and see if having it is the problem? (lack of)
lo1: flags=8008<LOOPBACK,MULTICAST> mtu 32972
ne3: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
1500
media: Ethernet autoselect (10baseT)
de0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
1500
media: Ethernet autoselect (10baseT)
status: active
inet 203.164.10.230 netmask 0xffffff80 broadcast 203.164.10.255
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
^^^^
swap ppp0 and tun0 here as i had kernel-pppd with altqd when it was
working/locked up.. i think i can duplicate it but prefer not to as having
a link go down hurts/ouch.
tun0: flags=11<UP,POINTOPOINT> mtu 1500
inet 203.101.1.142
netstat -m
138 mbufs in use:
136 mbufs allocated to data
1 mbuf allocated to packet headers
1 mbuf allocated to socket names and addresses
34/66 mapped pages in use
149 Kbytes allocated to network (57% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
it runs out of buffers and goes up to about 90% in use, and i've tried
beefing up the kernel on the box
pII/300 w/- 128mb ram, not running anything much, just an mta and three
interfaces as mentioned, any clues or more info, otherwise i'll try it on
freebsd, tia
/Norman
option NMBCLUSTERS=4096
maxusers 256 # estimated number of users
interface ppp0 bandwidth 0.033M cbq
# interface de0 bandwidth 0.256M cbq are these valid?
class cbq ppp0 root NULL pbandwidth 100
#
# meta classes
#
class cbq ppp0 ctl_class root pbandwidth 4 control
class cbq ppp0 def_class root borrow pbandwidth 95 default
#
class cbq ppp0 bulk def_class borrow pbandwidth 20
class cbq ppp0 misc def_class borrow pbandwidth 20
class cbq ppp0 intr def_class borrow pbandwidth 50
#
# leaf classes
#
class cbq ppp0 tcp bulk borrow pbandwidth 5 red
filter ppp0 tcp 0 0 0 0 6 # other tcp
class cbq ppp0 ftp bulk borrow pbandwidth 5 red
filter ppp0 ftp 0 0 0 20 6 # ftp-data
filter ppp0 ftp 0 20 0 0 6 # ftp-data
class cbq ppp0 http bulk borrow pbandwidth 5 red
filter ppp0 http 0 0 0 80 6 # http
filter ppp0 http 0 80 0 0 6 # http
class cbq ppp0 smtp bulk borrow pbandwidth 5 red
filter ppp0 smtp 0 0 0 80 6 # smtp
filter ppp0 smtp 0 80 0 0 6 # smtp
class cbq ppp0 auth bulk borrow pbandwidth 5 red
filter ppp0 auth 0 0 0 113 6 # ident
filter ppp0 auth 0 113 0 0 6 # ident
class cbq ppp0 pop3 bulk borrow pbandwidth 5 red
filter ppp0 pop3 0 0 0 110 6 # pop3
filter ppp0 pop3 0 110 0 0 6 # pop3
class cbq ppp0 imap bulk borrow pbandwidth 5 red
filter ppp0 imap 0 0 0 143 6 # imap
filter ppp0 imap 0 143 0 0 6 # imap
#
# misc (udp) classes
#
class cbq ppp0 udp misc borrow pbandwidth 5 red
filter ppp0 udp 0 0 0 0 17 # other udp
#class cbq ppp0 rip misc borrow pbandwidth 5 red
# filter ppp0 rip 0 520 0 0 17 # rip
#
# interactive classes
#
class cbq ppp0 dns intr borrow pbandwidth 5 red
filter ppp0 dns 0 0 0 53 17
filter ppp0 dns 0 0 0 53 6
class cbq ppp0 ssh intr borrow pbandwidth 5 red
filter ppp0 ssh 0 0 0 22 6 # ssh
filter ppp0 ssh 0 22 0 0 6 # ssh
class cbq ppp0 irc intr borrow pbandwidth 5 red
filter ppp0 irc 0 0 0 6667 6 # ssh
filter ppp0 irc 0 6667 0 0 6 # ssh
Paladin Corporation Pty Ltd. Ph:+612 9835-4782 Fax:+612 9864-0487
Software Engineering: c/c++/perl/sql/eiffel/pascal/haskell/php/java
Powered by FreeBSD/SMP http://www.paladincorp.com.au/
The lyf so short, the craft so long to lerne - Chaucer
Unix, VMS, MVS since the 80's, FreeBSD from 2.1.6, Linux since '94