spender-sandbox / cuckoo-modified

Modified edition of cuckoo
395 stars 178 forks source link

[lib.cuckoo.core.plugins] ERROR: Failed to run the reporting module "Json Dump": #402

Open masifpak opened 7 years ago

masifpak commented 7 years ago

I have recently installed cuckoo on google cloud VM instance. Everything is fine except following error. In report folder of analysis, report.json is empty. Analysis on web is complete.

[lib.cuckoo.core.plugins] ERROR: Failed to run the reporting module "Json Dump": 2017-01-06 05:32:08,416 [lib.cuckoo.core.plugins] ERROR: Failed to run the report ing module "JsonDump": Traceback (most recent call last): File "/opt/cuckoo/lib/cuckoo/core/plugins.py", line 624, in process current.run(self.results) File "/opt/cuckoo/modules/reporting/jsondump.py", line 30, in run report.write(buf) File "/usr/lib/python2.7/codecs.py", line 688, in write return self.writer.write(data) File "/usr/lib/python2.7/codecs.py", line 351, in write data, consumed = self.encode(object, self.errors) MemoryError

What i am missing?

doomedraven commented 7 years ago

The MemoryError exception that you are seeing is the direct result of running out of available RAM.

masifpak commented 7 years ago

But RAM is 4GB and I monitor whole process. RAM remain under utilize for about 1.5 GB. I mean 1.5 GB remain free for whole analysis.

doomedraven commented 7 years ago

but the whole cuckoo can eat more between all processes and OS, check htop or free -m

masifpak commented 7 years ago

1.5 GB RAM remain free during whole process.

masifpak commented 7 years ago

I assigned 8Gb to whole VM but issue is there. What problem can be now?

doomedraven commented 7 years ago

But did you checked how many resources in usage?