At 10:42 PM 11.10.2003 +0000, Daniela wrote: >On Monday 10 November 2003 21:18, Jack L. Stone wrote: >> FreeBSD 4.8-RELEASE-p13 - GW/router/NAT/FW/Caching DNS - Bind-8.3x + >> IPFW(8) >> >> Have just setup the above to route mainly for a LAN (in place of hardware >> router), but natd runs non-stop as per TOP(1) and keeps eating up the CPU >> until it crashes. Takes about 1/2 hour to eat up the resources and requires >> a reboot -- then the problem just starts over again. > >Have you tried to attach to the process with gdb(1) or truss(1)? >Also please show us what `ps ax` says about natd. >Can you get a core dump? > >Good luck! >Daniela > Thanks for the quick reply. No, haven't had chance to redo the kernel for gdb, etc. But, here's some more info from the "ps -ax" and log. The tcp start out very small and keep growing in big leaps as below -- this is just before running out of CPU....
>From "/var/log/alias.log" icmp=0, udp=8, tcp=33830, pptp=0, proto=0, frag_id=0 frag_ptr=0 / tot=33838 (sock=0) icmp=0, udp=8, tcp=33831, pptp=0, proto=0, frag_id=0 frag_ptr=0 / tot=33839 (sock=0) ...a FEW minutes later: icmp=2, udp=9, tcp=41608, pptp=0, proto=0, frag_id=0 frag_ptr=0 / tot=41619 (sock=0) icmp=2, udp=9, tcp=41609, pptp=0, proto=0, frag_id=0 frag_ptr=0 / tot=41620 (sock=0) PID TT STAT TIME COMMAND 0 ?? DLs 0:00.00 (swapper) 1 ?? ILs 0:00.01 /sbin/init -- 2 ?? DL 0:00.00 (pagedaemon) 3 ?? DL 0:00.00 (vmdaemon) 4 ?? DL 0:00.01 (bufdaemon) 5 ?? DL 0:00.21 (syncer) 6 ?? DL 0:00.01 (vnlru) 23 ?? Is 0:00.00 adjkerntz -i 116 ?? Rs 6:53.75 /sbin/natd -f /etc/natd.conf -n rl0 133 ?? Ss 0:00.07 /usr/sbin/syslogd -s 136 ?? Is 0:00.13 /usr/sbin/named -u bind -g bind 139 ?? Ss 0:00.10 ntpd -p /var/run/ntpd.pid 142 ?? Is 0:00.01 timed -F earth.netwood.net 148 ?? Is 0:00.00 /usr/sbin/inetd -wW 150 ?? Is 0:00.02 /usr/sbin/cron 152 ?? Is 0:00.62 /usr/sbin/sshd 213 ?? Ss 0:00.41 /usr/local/sbin/httpd 218 ?? I 0:00.00 /usr/local/sbin/httpd 219 ?? I 0:00.00 /usr/local/sbin/httpd 220 ?? I 0:00.00 /usr/local/sbin/httpd 221 ?? I 0:00.00 /usr/local/sbin/httpd 222 ?? I 0:00.00 /usr/local/sbin/httpd 223 ?? Is 0:00.00 /usr/local/sbin/dhcpd 254 ?? S 0:00.10 /usr/local/libexec/mysqld --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/va 264 ?? Is 0:00.04 /usr/local/libexec/postfix/master 265 ?? I 0:00.02 pickup -l -t fifo -u 266 ?? I 0:00.26 qmgr -l -t fifo -u 267 ?? I 0:00.07 sshd: kuni [priv] (sshd) 269 ?? I 0:00.04 sshd: [EMAIL PROTECTED] (sshd) 281 ?? I 0:00.07 sshd: jacks [priv] (sshd) 283 ?? S 0:04.24 sshd: [EMAIL PROTECTED] (sshd) 270 p0 Is 0:00.04 -csh (csh) 273 p0 I+ 0:00.05 _su (csh) 284 p1 Is 0:00.04 -tcsh (tcsh) 290 p1 S 0:00.07 _su (csh) 387 p1 R+ 0:00.00 ps ax 231 v0 Is+ 0:00.01 /usr/libexec/getty Pc ttyv0 232 v1 Is+ 0:00.01 /usr/libexec/getty Pc ttyv1 233 v2 Is+ 0:00.01 /usr/libexec/getty Pc ttyv2 234 v3 Is+ 0:00.01 /usr/libexec/getty Pc ttyv3 235 v4 Is+ 0:00.01 /usr/libexec/getty Pc ttyv4 236 v5 Is+ 0:00.01 /usr/libexec/getty Pc ttyv5 237 v6 Is+ 0:00.01 /usr/libexec/getty Pc ttyv6 238 v7 Is+ 0:00.01 /usr/libexec/getty Pc ttyv7 227 con- I 0:00.02 /bin/sh /usr/local/bin/safe_mysqld --user=mysql --datadir=/var/db/mysql --pid-file=/var/db/mysql/e Best regards, Jack L. Stone, Administrator Sage American http://www.sage-american.com [EMAIL PROTECTED] _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"