<br><font size=2 face="sans-serif">Apologies for my broken email client,
which shall remain nameless!</font>
<br>
<br><font size=2 face="sans-serif">> > # default contrib'd version
</font>
<br><font size=2 face="sans-serif">> > # source s_sys { pipe("/dev/log");
internal(); }; </font>
<br><font size=2 face="sans-serif">> > </font>
<br><font size=2 face="sans-serif">> > # recommended by INSTALL </font>
<br><font size=2 face="sans-serif">> > source s_sys { pipe("/dev/log"
pad_size(2048)); }; </font>
<br><font size=2 face="sans-serif">> </font>
<br><font size=2 face="sans-serif">> This should be the proper source
statement. I've just retested it on our</font>
<br><font size=2 face="sans-serif">> local HP-UX box and it seems to
work fine.</font>
<br><font size=2 face="sans-serif">> </font>
<br><font size=2 face="sans-serif">> The things you are experiencing
seems to indicate that the pad_size()</font>
<br><font size=2 face="sans-serif">> option is missing, therefore I'd
like to ask if you are certain that</font>
<br><font size=2 face="sans-serif">> syslog-ng is running with the pad_size()
configuration.</font>
<br>
<br><font size=2 face="sans-serif">Yep, it definitely appears to be opening
the configuration file that I'm playing with:</font>
<br>
<br><font size=2 face="sans-serif"># nohup /opt/tusc/bin/truss -o /tmp/syslog-ng.truss
-aef /usr/local/sbin/syslog-ng --debug --foreground --stderr > syslog-ng.out
2>&1 &</font>
<br><font size=2 face="sans-serif"># grep syslog-ng.conf /tmp/syslog-ng.truss</font>
<br><font size=2 face="sans-serif">7197: open("/usr/local/etc/syslog-ng.conf",
O_RDONLY|O_LARGEFILE, 0666) = 4</font>
<br><font size=2 face="sans-serif">#</font>
<br>
<br><font size=2 face="sans-serif">> If you still think it is, you might
want to use tusc to check if</font>
<br><font size=2 face="sans-serif">> syslog-ng reads /dev/log in 2048
byte chunks (which is should if</font>
<br><font size=2 face="sans-serif">> pad_size() is enabled and which
it doesn't if it is not).</font>
<br>
<br><font size=2 face="sans-serif">Most of the time it does, but sometimes
it doesn't:</font>
<br>
<br><font size=2 face="sans-serif">7197: read(4, "< 3 8
> S e p 7 1 0 : 5 2 ".., 8192) = 2048</font>
<br><font size=2 face="sans-serif">7197: read(4, 0x40025dbd, 8187)
ERR#11 EAGAIN</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 8
> S e p 7 1 0 : 5 3 ".., 8187) = 2048</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 7
> S e p 7 1 0 : 5 3 ".., 8187) = 4096</font>
<br><font size=2 face="sans-serif">7197: read(4, 0x40025db8, 8192)
ERR#11 EAGAIN</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 2
> S e p 7 1 0 : 5 4 ".., 8192) = 4096</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 2
> S e p 7 1 0 : 5 4 ".., 8187) = 2048</font>
<br><font size=2 face="sans-serif">7197: read(4, 0x40025dbd, 8187)
ERR#11 EAGAIN</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 2
> S e p 7 1 0 : 5 4 ".., 8187) = 2048</font>
<br><font size=2 face="sans-serif">7197: read(4, 0x40025dbd, 8187)
ERR#11 EAGAIN</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 3 8
> S e p 7 1 0 : 5 5 ".., 8187) = 8187</font>
<br><font size=2 face="sans-serif">7197: read(4, "\0\0\0\0\0<
3 8 > S e p 7 ".., 8192) = 6149</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 2
> S e p 7 1 0 : 5 5 ".., 8187) = 8187</font>
<br><font size=2 face="sans-serif">7197: read(4, "u s . n e
", 8173)
= 5</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 8
> S e p 7 1 0 : 5 5 ".., 8168) = 2048</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 7
> S e p 7 1 0 : 5 5 ".., 8187) = 4096</font>
<br><font size=2 face="sans-serif">7197: read(4, 0x40025db8, 8192)
ERR#11 EAGAIN</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 8
> S e p 7 1 0 : 5 7 ".., 8192) = 2048</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 7
> S e p 7 1 0 : 5 7 ".., 8187) = 4096</font>
<br><font size=2 face="sans-serif">7197: read(4, 0x40025db8, 8192)
ERR#11 EAGAIN</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 8
> S e p 7 1 0 : 5 9 ".., 8192) = 2048</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 7
> S e p 7 1 0 : 5 9 ".., 8187) = 4096</font>
<br><font size=2 face="sans-serif">7197: read(4, 0x40025db8, 8192)
ERR#11 EAGAIN</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 3 8
> S e p 7 1 1 : 0 0 ".., 8192) = 2048</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 3 8
> S e p 7 1 1 : 0 0 ".., 8192) = 8192</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 3 8
> S e p 7 1 1 : 0 0 ".., 8192) = 8192</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 3 8
> S e p 7 1 1 : 0 0 ".., 8192) = 8192</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 2
> S e p 7 1 1 : 0 0 ".., 8192) = 8192</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 2
> S e p 7 1 1 : 0 0 ".., 8187) = 8187</font>
<br><font size=2 face="sans-serif">7197: read(4, "\0\0\0\0\0",
8192)
= 5</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 8
> S e p 7 1 1 : 0 1 ".., 8192) = 2048</font>
<br><font size=2 face="sans-serif">7197: read(4, "< 2 7
> S e p 7 1 1 : 0 1 ".., 8187) = 4096</font>
<br><font size=2 face="sans-serif">7197: read(4, 0x40025db8, 8192)
ERR#11 EAGAIN</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br>
<br><font size=2 face="sans-serif">Scott<br>
<br>
<br>
<br>
</font>