SOLVED Domlogs Processing Buffer Location

Bob1965

Member
Aug 30, 2018
18
3
3
Germany
cPanel Access Level
Root Administrator
Hi,

I have an issue on a VPS that I would like to resolve for a very low traffic website.
When tailing a low traffic website in SSH, the domlog does not update in real time, it waits until 17 files are accessed then it processes it. I guess this would be called a buffer and I would like to know where this setting is so I can lower it.

Here is the VPS version info:

/etc/redhat-release:CentOS Linux release 7.5.1804 (Core)
/usr/local/cpanel/version:11.74.0.6
/var/cpanel/envtype:kvm
CPANEL=release

Thanks for the information in advance.

Regards,
Bob
 

Bob1965

Member
Aug 30, 2018
18
3
3
Germany
cPanel Access Level
Root Administrator
Hello Lauren,

tail -f /usr/local/apache/domlogs/website.com

I have checked every website on the server and it only updates when 17 files have been accessed.
If no one visits the website for even 3 days, I do not see any updates to the file. But if I pull up a file I can see it in the apache status in WHM. If I pull up 17 different files or even refresh 17 times, the tail will all of a sudden post all 17 at once. So there must be some buffer configuration somewhere. lso to be noted, I have Piped Log Configuration enabled. Maybe I should disable this?

Regards,
Bob
 
Last edited by a moderator:

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,126
667
263
Houston
cPanel Access Level
DataCenter Provider
Hi @Bob1965


I believe piped logging will do something like this though it's not exactly 17 files as the settings. Information on this can be found here: The splitlogs Binary - Version 74 Documentation - cPanel Documentation

I don't believe there's a way to modify the behavior per say though. You could try manipulating maxopen:

Example:
Code:
/usr/local/cpanel/bin/splitlogs ‑‑maxopen=20000
Otherwise, you might try with piped logging disabled.

Thanks!
 
Last edited:
  • Like
Reactions: Bob1965

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,126
667
263
Houston
cPanel Access Level
DataCenter Provider
Hi @Bob1965

I am glad to see that resolved the issue. Just keep in mind that piped logging does have some resource benefits and if you start seeing higher usage than normal attributed to Apache the disabling of piped logging is most likely the cause. You would most likely only notice this if you had a moderately busy server.

Thanks!
 
  • Like
Reactions: Bob1965