syslogd memory buffers problem

2011-12-10 Thread Lars Hansson
I run a number of 4.9 i386 boxes that functions as routers and are
logging to memory buffers.
Today I noticed that if I sighup the syslogd process the memory
buffers are no longer being logged to.
Below is the output from syslogd -d and I'm guessing the problem has
something to do with the Membuf no match thing.

$ sudo syslogd -d
off  running
init
[priv]: msg PRIV_CONFIG_MODIFIED received
[priv]: msg PRIV_OPEN_CONFIG received
cfline(*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none
:256:messages, f, *)
cfline(kern.debug;syslog,user.info
:256:messages2, f, *)
cfline(auth.info
:256:authlog, f, *)
cfline(authpriv.debug
:256:secure, f, *)
cfline(cron.info
:256:cron, f, *)
cfline(daemon.info
:256:daemon, f, *)
cfline(ftp.info
:256:xferlog, f, *)
cfline(lpr.debug
:256:lpd-errs, f, *)
cfline(mail.info
:256:mail, f, *)
cfline(*.emerg *, f, *)
cfline(*.*
@loghost, f, *)
[priv]: msg PRIV_GETHOSTSERV received
Initialize membuf messages at 0x7f859000
Membuf no match
Initialize membuf messages2 at 0x7f859800
Membuf no match
Initialize membuf authlog at 0x816fb000
Membuf no match
Initialize membuf secure at 0x816fb800
Membuf no match
Initialize membuf cron at 0x816fa800
Membuf no match
Initialize membuf daemon at 0x816fa000
Membuf no match
Initialize membuf xferlog at 0x7f858000
Membuf no match
Initialize membuf lpd at 0x7f858800
Membuf no match
Initialize membuf mail at 0x7f857000
Membuf no match
X X X 5 X 5 X 5 5 X X X 5 5 5 5 5 5 5 5 5 5 5 5 X MEMBUF: messages
7 6 X X X 6 X X X X X X X X X X X X X X X X X X X MEMBUF: messages2
X X X X 6 X X X X X X X X X X X X X X X X X X X X MEMBUF: authlog
X X X X X X X X X X 7 X X X X X X X X X X X X X X MEMBUF: secure
X X X X X X X X X 6 X X X X X X X X X X X X X X X MEMBUF: cron
X X X 6 X X X X X X X X X X X X X X X X X X X X X MEMBUF: daemon
X X X X X X X X X X X 6 X X X X X X X X X X X X X MEMBUF: xferlog
X X X X X X 7 X X X X X X X X X X X X X X X X X X MEMBUF: lpd
X X 6 X X X X X X X X X X X X X X X X X X X X X X MEMBUF: mail
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 X WALL:
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 X FORW: loghost
[priv]: msg PRIV_DONE_CONFIG_PARSE received
logmsg: pri 056, flags 0x4, from mizar, msg syslogd: start
Logging to MEMBUF
Logging to FORW loghost
syslogd: started
^Csyslogd: exiting on signal 2
syslogd: exiting on signal 2
logmsg: pri 053, flags 0x4, from mizar, msg syslogd: exiting on signal 2
Logging to MEMBUF
Logging to MEMBUF
Logging to FORW loghost
[unpriv] syslogd child about to exit

dmesg:
OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar  2 07:19:02 MST 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz (GenuineIntel
686-class) 2.94 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
real mem  = 2111008768 (2013MB)
avail mem = 2066317312 (1970MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/24/10, SMBIOS rev. 2.5 @
0xfc330 (62 entries)
bios0: vendor American Megatrends Inc. version V1.10 date 08/24/2010
bios0: MSI MS-7592
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET GSCI SSDT
acpi0: wakeup devices P0P2(S4) P0P3(S4) P0P1(S4) PS2K(S1) PS2M(S1)
USB0(S4) USB1(S4) USB2(S4) USB3(S4) EUSB(S4) MC97(S4) P0P4(S4)
P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz (GenuineIntel
686-class) 2.94 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P0P1)
acpiprt2 at acpi0: bus 1 (P0P4)
acpiprt3 at acpi0: bus 2 (P0P5)
acpiprt4 at acpi0: bus -1 (P0P6)
acpiprt5 at acpi0: bus -1 (P0P7)
acpiprt6 at acpi0: bus -1 (P0P8)
acpiprt7 at acpi0: bus -1 (P0P9)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
bios0: ROM list: 0xc/0xc600! 0xcc800/0x1000
cpu0: Enhanced SpeedStep 2934 MHz: speeds: 2936, 2670, 2403, 2136,
1870, 1603 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel G41 Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel G41 Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at 

Re: syslogd memory buffers problem

2011-12-10 Thread Lars Hansson
Uhm...ok, never mind. I'm an idiot. it does work. Sorry for that unneeded noise.

Cheers,
Lars