NetBox in docker is permanently running on 100%CPU and higher. #1182
VolleyTom8
started this conversation in
General
Replies: 2 comments
-
same issue, did you find a fix? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a querstion regarding NetBox running in docker. If I have a look at the Container-Stats, the CPU is permantently running at ~100%, without any activity from my site via UI or something else.
At the log, I see a lot of the following entries:
_No queues have been specified. This process will service the following queues by default: high, default, low
Traceback (most recent call last):
File "/lsiopy/lib/python3.11/site-packages/redis/client.py", line 1362, in execute_transaction
response = self.parse_response(connection, "")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.11/site-packages/redis/client.py", line 1430, in parse_response
result = Redis.parse_response(self, connection, command_name, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.11/site-packages/redis/client.py", line 560, in parse_response
response = connection.read_response()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.11/site-packages/redis/connection.py", line 536, in read_response
raise response
redis.exceptions.ExecAbortError: Transaction discarded because of previous errors.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/netbox/netbox/./manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/lsiopy/lib/python3.11/site-packages/django/core/management/init.py", line 442, in execute_from_command_line
utility.execute()
File "/lsiopy/lib/python3.11/site-packages/django/core/management/init.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/lsiopy/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/lsiopy/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/netbox/netbox/core/management/commands/rqworker.py", line 28, in handle
super().handle(*args, **options)
File "/lsiopy/lib/python3.11/site-packages/django_rq/management/commands/rqworker.py", line 98, in handle
w.work(
File "/lsiopy/lib/python3.11/site-packages/rq/worker.py", line 406, in work
self.bootstrap(logging_level, date_format, log_format)
File "/lsiopy/lib/python3.11/site-packages/rq/worker.py", line 571, in bootstrap
self.register_birth()
File "/lsiopy/lib/python3.11/site-packages/rq/worker.py", line 824, in register_birth
p.execute()
File "/lsiopy/lib/python3.11/site-packages/redis/client.py", line 1498, in execute
return conn.retry.call_with_retry(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.11/site-packages/redis/retry.py", line 46, in call_with_retry
return do()
^^^^
File "/lsiopy/lib/python3.11/site-packages/redis/client.py", line 1499, in
lambda: execute(conn, stack, raise_on_error),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.11/site-packages/redis/client.py", line 1365, in execute_transaction
raise errors[0][1]
File "/lsiopy/lib/python3.11/site-packages/redis/client.py", line 1355, in execute_transaction
self.parse_response(connection, "")
File "/lsiopy/lib/python3.11/site-packages/redis/client.py", line 1430, in parse_response
result = Redis.parse_response(self, connection, command_name, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.11/site-packages/redis/client.py", line 560, in parse_response
response = connection.read_response()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.11/site-packages/redis/connection.py", line 536, in read_response
raise response
redis.exceptions.ResponseError: Command # 1 (DEL rq:worker:7697574985144779b9cdf7eec22b387f) of pipeline caused error: MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
[uwsgi-daemons] respawning "python3 ./manage.py rqworker" (uid: 1026 gid: 100)
I'm running the following versions:
Python version: 3.11.8
NetBox version: 3.7.4
Plugins: None installed
Someone else facing this issue or has someone an idea, how to fix this CPU issue?
br
Tom
Beta Was this translation helpful? Give feedback.
All reactions