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
Issues isn't the way to ask for account activation. Ping capesandbox in Twitter with your username
This is open source and you are getting free support so be friendly!
Prerequisites
Please answer the following questions for yourself before submitting an issue.
I am running the latest version
I did read the README!
I checked the documentation and found no answer
I checked to make sure that this issue has not already been filed
I'm reporting the issue to the correct repository (for multi-repository projects)
I have read and checked all configs (with all optional parts)
Expected Behavior
Invoke cleanup if <= of free space detected
Current Behavior
I am trying to make use of the free-space-monitor and the new cleaner function that you can configure in cooko.conf.
It doesn't work properly for me, I think scheduler.py never reaches the cleaner code because the parameter return_value=True is passed when the method is called.
So cleaners_utils.py returns always before execute_cleanup()
if return_value:
return need_space, space_available
if need_space:
if not printed_error:
log.error(
"Not enough free disk space! (Only %d MB!). You can change limits it in cuckoo.conf -> freespace",
space_available,
)
printed_error = True
# Invoke cleaups here if enabled
if config.cleaner.enabled:
# prepare dict on startup
execute_cleanup(cleanup_dict)
free_space_monitor is also used in process.py but without without return_value. So i tried to set freespace_processing = 50000 and freespace = 0 to skip the check in scheduler.py.
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
configure cleaner and freespace/freespace_processing in cuckoo.conf
[cleaner]
# Invoke cleanup if <= of free space detected. see/set freespace/freespace_processing
enabled = yes
# set any value to 0 to disable it. In days
binaries_days = 30
tmp_days = 1
# Remove analysis folder
analysis_days = 30
# Delete mongo data
mongo = no
# Clean orphan files in mongodb
unused_files_in_mongodb = no
start cuckoo.py
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. Operating system version, bitness, installed software versions, test sample details/hash/binary (if applicable).
About accounts on capesandbox.com
This is open source and you are getting free support so be friendly!
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
Invoke cleanup if <= of free space detected
Current Behavior
I am trying to make use of the free-space-monitor and the new cleaner function that you can configure in cooko.conf.
It doesn't work properly for me, I think scheduler.py never reaches the cleaner code because the parameter return_value=True is passed when the method is called.
CAPEv2/lib/cuckoo/core/scheduler.py
Line 245 in a9d80fd
So cleaners_utils.py returns always before execute_cleanup()
free_space_monitor is also used in process.py but without without return_value. So i tried to set freespace_processing = 50000 and freespace = 0 to skip the check in scheduler.py.
CAPEv2/utils/process.py
Line 315 in a9d80fd
But proccess.py checks cfg.cuckoo.freespace. I would expect a check for cfg.cuckoo.freespace_processing?!
CAPEv2/utils/process.py
Line 311 in a9d80fd
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
configure cleaner and freespace/freespace_processing in cuckoo.conf
start cuckoo.py
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. Operating system version, bitness, installed software versions, test sample details/hash/binary (if applicable).
Failure Logs
Please include any relevant log snippets or files here.
The text was updated successfully, but these errors were encountered: