Using cuckoo 2 latest version from Github, running on Centos 7 latest, with 24 CPUs and 32GB RAM and python 2.7.12 and 4 guests (windows 7).
I am using the json reporting module.
I see that it takes several 10s seconds, many times more than 1 minute to write the result json file. Can be even 2 minutes or more.
The json size can be 10MB - 100MB in size.
It is not an issue of CPU or Memory, the cuckoo server have more than enough and it is not loaded.
Cuckoo process priority is like all processes in the system.
Using my python script i am able to read and re-write the cuckoo reports much faster than cuckoo (simple code using json.load and json.dump).
Any ideas why it take so much time for cuckoo to write the report?
The time consuming lines are:
with codecs.open(path, "w", "utf-8") as report:
json.dump(results, report, default=default, sort_keys=False,