-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about memory usage calculation #57
Comments
I was trying to work out how the memory data is sent from pfsense to influxdb and failed. Any ideas where these values actually come from? I didn't see them in the telegraf config or any if the plugins |
@faandg the new version of pfsense was released today which should resolve the bug with pcscd. |
@wrightsonm thanks, I saw it on my news feed as well. I might wait just a bit longer though because I have IPSEC tunnels and there appear to be many related changes. Maybe a couple of weeks. |
Sorry for the delay. I believe memory stats get inserted from this input Does 2.6 resolve this for you? |
@VictorRobellini 2.6 resolves the bug. In this particular case, adding laundry would show that base usage (20%) + laundry (80%) = 100 % -> memory full Laundry is considered as 'reclaimable space'. However if it cannot be reclaimed at that time, it would keep adding up until max (which is the case when you have a memory leak). |
This flux query should do the trick:
|
@faandg updated my repo with the above: |
Hi,
I recently ran into this pfsense bug after 148d uptime and my memory was full (great fun).
On the pfsense main screen I saw memory usage at 99% steady and swap at 100%.
On this dashboard I saw memory usage at 20% steady and swap at 100%
Can you think of any reason why the dashboard would not report the total memory usage as shown in pfsense?
I read a bit about memory 'ballooning' but it seemed to me that would only be valid for a virtualized pfsense (mine is a hardware device)
The text was updated successfully, but these errors were encountered: