Date: Wed, 24 May 2006 02:32:45 +0300 (EEST) From: Mario Pavlov <freebsd@abv.bg> To: freebsd-isp@freebsd.org Subject: syslogd: cannot create /var/run/log: No buffer space available Message-ID: <528031609.959681148427165982.JavaMail.nobody@mail03.abv.bg>
next in thread | raw e-mail | index | archive | help
Hi guys I have very bad problem! my syslogd crashes on my newly installed FreeBSD-6.1 router look: ================================================================ router# tail /var/log/messages May 22 07:09:50 router last message repeated 3 times May 22 08:41:46 router kernel: rl1: promiscuous mode enabled May 22 08:42:29 router kernel: rl1: promiscuous mode disabled May 22 08:44:00 router kernel: rl1: promiscuous mode enabled May 22 08:44:28 router kernel: rl1: promiscuous mode disabled May 22 09:03:20 router kernel: rl1: promiscuous mode enabled May 22 09:03:28 router kernel: rl1: promiscuous mode disabled May 22 09:04:24 router kernel: arplookup 10.5.15.71 failed: host is not on local network May 22 09:04:25 router kernel: arplookup 10.5.15.71 failed: host is not on local network May 22 14:28:08 router syslogd: exiting on signal 15 /============================================================== today is 23rd and I can't start it again: =============================================================== router# /etc/rc.d/syslogd start Starting syslogd. syslogd: child pid 665 exited with return code 1 router# /============================================================== here is the debugging mode: =============================================================== router# syslogd -d syslogd: cannot create /var/run/log: No buffer space available logmsg: pri 53, flags 4, from , msg syslogd: cannot create /var/run/log: No buffer space available Logging to CONSOLE /dev/console cannot create /var/run/log (0) router# /============================================================== what does this mean ? here is my sysctl variables: =============================================================== router# cat /etc/sysctl.conf net.inet.ip.fastforwarding=1 kern.ipc.maxsockbuf=520000 kern.ipc.nmbclusters=65536 kern.ipc.nsfbufs=8000 kern.ipc.somaxconn=2048 kern.polling.enable=1 net.inet.tcp.sendspace=131072 net.inet.tcp.recvspace=131072 net.inet.udp.recvspace=42080 net.inet.raw.recvspace=65536 net.inet.raw.maxdgram=57344 net.local.dgram.maxdgram=57344 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 net.local.dgram.recvspace=655536 net.inet.tcp.inflight.enable=1 net.inet.tcp.inflight.min=8000 net.inet.icmp.icmplim=1024 net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 router# /============================================================== and also: =============================================================== router# cat /boot/loader.conf kern.ipc.nsfbufs=10000 router# /============================================================== this router serves less then 200 clients BUT I have bigger problem since this syslogd crashed all clients experience losses to the router more than 30% and delays from 2ms to 60ms and more... even with absolutely minimal ipfw+dummynet configuration is still the same: =============================================================== $IPFW add 1000 pipe 1 ip from ip.network/24 to any out $IPFW add 1001 pipe 2 ip from any to ip.network/24 in $IPFW pipe 1 config mask src-ip 0x000000ff bw 1Mbit/s queue 20Kbytes $IPFW pipe 2 config mask dst-ip 0x000000ff bw 1Mbit/s queue 20Kbytes /============================================================== please tell me how can I fix this! thank you P.S. this router used to run linux and it was fine, so the problem isn't in the hardware ----------------------------------------------------------------- http://www.sportni.bg/worldcup/ - Германия 2006 - Световното първенство по футбол наближава!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?528031609.959681148427165982.JavaMail.nobody>