Chris Seufert
Chris Seufert

Reputation: 869

ArangoDB Windows Idle CPU Load

I have installed arangodb and apart form adding about 10 documents via the console, and otherwise just briefly play with it, it has used over 30 minutes of cpu time in the last 7 days, why is it so high?

I also have MySQL installed, and actively being used (8k+ queries) and its cpu time is less than 30 seconds.

Is this just a problem/issue relating to the windows port, or is this 'normal'.

I see random spikes to 5~10% cpu when watching the process in task manager, even though it is answering no queries.

Edit: Running arango 2.7.2 x64

Upvotes: 2

Views: 143

Answers (1)

dothebart
dothebart

Reputation: 6067

ArangoDB has 3 jobs that will periodically cause CPU usage:

  • the database internal statistics jobs
  • the V8 javascript engine with its garbage collection
  • The Foxx services with their Foxx-queues

You can disable the 3rd via the arangod.conf:

[server]
foxx-queues = false

This will make some of the statistics in the webinterface unavailable.

If you leave a browser with the webinterface open, this will also permanently use resources on the arangod process.

Upvotes: 3

Related Questions