[syslog-ng]pipe() under hpux-11 and timestamp
Trapp, Michael
michael.trapp@sap.com
Thu, 4 Jul 2002 13:28:18 +0200
hi,
i am running syslog-ng 1.5.18 on hpux 11.00
with the following options:
use_time_recvd(yes);
use_fqdn(yes);
sync(0);
use_dns(yes);
dns_cache(yes);
dns_cache_size(10000);
dns_cache_expire(3600);
dns_cache_expire_failed(300);
keep_hostname(no);
chain_hostnames(no);
gc_idle_threshold(50);
gc_busy_threshold(5000);
log_fifo_size(2000);
reading from udp() and pipe()
as far as i can see the pipe("/dev/log") isn't working correct.
with a simple fgets() i can see that the messages are
'0' terminated strings, but syslog-ng reads the whole message
obviously each message has 4096 bytes and print out several
lines filled up with characters from the buffer behind the string
termination.
i have also configured use_time_recvd(yes) but there are a few messages
which don't have the right timestamp or are not in the right order (just a
few seconds).
in adition the day field of this lines has a leading '0'.
has anybody experienced these problems?
are there further options to improve the performance,
as i can see syslog-ng still miss some packets.
thanx
michael