You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading of python3-rrdtool from 1.7.0 to 1.7.2 we started seeing below stacktraces during our performance tests cycles
May 14 01:54:03 django-admin[544208]: Traceback (most recent call last):
May 14 01:54:03 django-admin[544208]: File "debian/abc/usr/lib/python3.10/dist-packages/abc/models.py", line 519, in a
May 14 01:54:03 django-admin[544208]: File "debian/abc/usr/lib/python3.10/dist-packages/abc/results/ts.py", line 55, in update
May 14 01:54:03 django-admin[544208]: File "debian/abc/usr/lib/python3.10/dist-packages/abc/results/ts.py", line 76, in update_rrd
May 14 01:54:03 django-admin[544208]: File "debian/abc/usr/lib/python3.10/dist-packages/abc/results/models.py", line 695, in update
May 14 01:54:03 django-admin[544208]: File "debian/abcn/usr/lib/python3.10/dist-packages/abc/r/rrd.py", line 100, in update
May 14 01:54:03 django-admin[544208]: rrdtool.OperationalError: could not lock RRD
I barely can estimate the amount of processes that were calling rrdtool.update, but let me state that during test period there were 20000 calls of that method and test started on May 13 18:03:14 and finished on May 14 21:56:06, and there is a limit of having 20 workers at the same time.
I was looking into the logs and can confirm there were no rrdtool.update calls done at the same time to the same file.
So the question is whether there were any changes done to the tool that should be taken into consideration?
I was looking into change log file, but found nothing related to that https://github.com/oetiker/rrdtool-1.x/blob/v1.7.2/CHANGES
Describe the bug
Hi RRD Tool Community!
After upgrading of python3-rrdtool from 1.7.0 to 1.7.2 we started seeing below stacktraces during our performance tests cycles
in the
rrd.update
we just callwhere
To Reproduce
rrdtool.update
from multiple processesI barely can estimate the amount of processes that were calling
rrdtool.update
, but let me state that during test period there were 20000 calls of that method and test started on May 13 18:03:14 and finished on May 14 21:56:06, and there is a limit of having 20 workers at the same time.I was looking into the logs and can confirm there were no
rrdtool.update
calls done at the same time to the same file.So the question is whether there were any changes done to the tool that should be taken into consideration?
I was looking into change log file, but found nothing related to that
https://github.com/oetiker/rrdtool-1.x/blob/v1.7.2/CHANGES
Also was trying to analyze the changes itself, but that also gave no much results
https://github.com/oetiker/rrdtool-1.x/compare/v1.7.0..v1.7.2
Expected behavior
No OperationalError occur
Additional context
It is important to note that when we where using 1.7.0, it was executed on Ubuntu 18.04 environment, while now 1.7.2 is being used on Ubuntu 22.04.
The text was updated successfully, but these errors were encountered: