Author Topic: New experimental improvement in logs (testing wanted)  (Read 3817 times)

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
New experimental improvement in logs (testing wanted)
« on: July 05, 2010, 07:52:23 pm »
Hi fellow eBox users,

We are glad to introduce another one of the improvements coming with eBox 2.0: a rewrite of ebox-loggerd with the objective of reduce the load in the server caused by the processing and store of the logs file.

The improvements are in fact two:

- Use of inotify to detect file modifications instead of continuous reading.
- Buffered insertions in PostgreSQL instead of one-by-one insertions.

As this is a new development, your help testing it is really appreciated and will help us to have a rock-solid 2.0 release.

To test it, you only need to upgrade the version of the "ebox" package to 1.5.6, and restart the logs daemon with the following commands:

sudo apt-get update
sudo apt-get install ebox
sudo /etc/init.d/ebox logs restart

You can also edit the /etc/ebox/90eboxpglogger.conf to adjust the value of the multi_insert_interval variable.

Please, give us the feedback through the Beta Testing forum.

Thanks in advance.
Zentyal Server Lead Developer