replication runner syslog

kever

New Member
Jul 10, 2017
5
7
3
30
Heya,

Installed proxmox 5.0 on top of debian stretch using the steps in the wiki. I noticed that the syslog repeats the following sentences:

Code:
Jul 10 14:32:01 pve2 systemd[1]: Started Proxmox VE replication runner.
Jul 10 14:33:00 pve2 systemd[1]: Starting Proxmox VE replication runner...
Jul 10 14:33:01 pve2 systemd[1]: Started Proxmox VE replication runner.
Jul 10 14:34:00 pve2 systemd[1]: Starting Proxmox VE replication runner...
Jul 10 14:34:01 pve2 systemd[1]: Started Proxmox VE replication runner.

It goes on like that. The node has zfsonlinux installed but does not use any kind of configured replication from proxmox
 
  • Like
Reactions: netdesignate

kever

New Member
Jul 10, 2017
5
7
3
30
It floods the syslog, it's hard to ignore.. really like to keep the root disk writes as minimal as possible

chose the 'dir' type to be sure vms can be accessed and the pool wont be modified with proxmox specifics. So far I can check there is no way to change the type to zfspool without re-adding the storage
 
  • Like
Reactions: Rick88

vooze

Member
May 11, 2017
77
20
8
32
changed /lib/systemd/system/pvesr.timer 'Minutely' to 'Monthly' and 'systemctl daemon-reload' shared for those who dont use the replictation

You should probably use:

systemctl edit -full pvesr.timer

This will move a local file to /etc/ instead of /lib/ which will be overwritten on next update :)

Thanks for the advice though, this log was driving me crazy.
 

n1nj4888

Member
Jan 13, 2019
149
11
18
40
I'm seeing the same info output to syslog every minute, even when there is no replication setup...

Mar 26 08:54:00 pve-host1 systemd[1]: Starting Proxmox VE replication runner...
Mar 26 08:54:01 pve-host1 systemd[1]: Started Proxmox VE replication runner.

I see from the above that I can either ignore the output or change the timer to run at a different schedule rather than every minute but is there no way of keeping the replication runner running every minute (in future if I wish to add additional nodes!) but simply surpressing the output to syslog through a config setting somewhere? It would seem to be that the output would only be useful in a debug situation?
 

wolfgang

Proxmox Staff Member
Staff member
Oct 1, 2014
6,234
433
103
but simply surpressing the output to syslog through a config setting somewhere?
No systemd has no capability to drop this output in the logs. If there will be a way we would set it as default.
 

fcymk2

New Member
Sep 7, 2019
20
1
3
35
Can I disable pvesr.timer if I not use replication?

```
systemctl stop pvesr.timer
systemctl disable pvesr.timer
```
 

healermagnus

New Member
Aug 7, 2020
1
0
1
42
No systemd has no capability to drop this output in the logs. If there will be a way we would set it as default.


An entry in /etc/rsyslog.d/ could filter or redirect this to wherever you want it to go.

Just create something like /etc/rsyslog.d/proxmox.conf

and add something like:

Code:
:msg, contains, "replication runner" ~

(don't forget the tilde)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!