Since upgrading to 4.0.14 all of our cPanel servers have not been recording HTTP bandwidth usage. Our servers using Apache are not affected. Additionally, I reverted a couple to 4.0.13 and bandwidth usage was once again being recorded correctly. Under 4.0.14 running /scripts/runweblogs <user> results in a bunch of these warnings being displayed which may be related:
Another side effect which prompted this investigation is incredible RAM usage by cpanellogd. I've seen it use over 2GB of RAM while running on an account that receives a lot of traffic. Seems like 4.0.14 is not logging the data correctly.
There are so many things wrong there I don't even know where to begin. In regards to the 4.0.14, the first number certainly isn't a valid date/time and those outrageously large / negative bytes are simply not possible.
To be clear, this only affects the bandwidth reporting of cPanel/WHM itself. Alternative stats programs (like AWStats) which rely on the domain's log file directly (not the bytes log) work normally as these values are being written correctly.