Can I stop pvestatd service ?

ashehata

New Member
Jul 12, 2024
5
0
1
Hi everyone ,

I need to know if I can stop pvestatd ? and if I stopped it will it affect anything of the running LXC containers or the health of the containers?

Thank You
 
Hi @ashehata

plese see documentation: https://pve.proxmox.com/pve-docs/pvestatd.8.html

L
-----

Edit:

I just tested it on our polygon for curiosity, there was no immediate impact on running VM.

- Immediate, after stopping pvestad, I stopped machine, the machine was reported still as running, the second running machine continues without issues
- the whole node in about two minutes go "grey as not know state", but still operable from all nodes

1741379214342.png

- No ha triggered, no fencing and migration to another node.
- I was able to operate machines normally (Start / Stop)
- After starting pvestad, machines reported correctly, and node is back to "green" status.

Edit 2:

Do you have any particular issue ?
 
Last edited:
Hi @ashehata

plese see documentation: https://pve.proxmox.com/pve-docs/pvestatd.8.html

Have a nice evening.

L
-----

Edit: I just tested it on our polygon for curiosity, there was no immediate impact on running VM.

- Immediate, after stopping pvestad, I stopped machine, the machine was reported still as running, the second running machine continues without issues
- the whole node in about two minutes go "grey as not know state", but still operable from all nodes

View attachment 83391

- No ha triggered, no fencing and migration to another node.
- I was able to operate machines normally (Start / Stop)
- After starting pvestad, machines reported correctly, and node is back to "green" status.
Thank you for your reply and your tests ,

The issue I am encountering it as pvestatd is running aggressivley lxc-info aganist all me LXC containers makes a huge read from mounted dirs like "/proc/ and "/sys" and this do a huge load on LXCFS .
The thing that bothered me that there is no configuration for poll intervals , it's hard coded in the bin file of this service . that's why I was asking about disabling it
.
@

VictorSTS read above to know why I want to disable it .

 
The issue I am encountering it as pvestatd is running aggressivley lxc-info aganist all me LXC containers makes a huge read from mounted dirs like "/proc/ and "/sys" and this do a huge load on LXCFS .
That is a surprising impact. May I ask what HW you are on?
 
VictorSTS read above to know why I want to disable it
XY problem... IMHO you should ask / investigate why it you are suffering from that load from pvestatd instead of asking how to disable it, which can't be done while keeping PVE working as expected.

First time I've heard about this issue, so can't really help much without details about the symptoms you see, things you've tried, etc.