iam new to mesos/marathon, I have a cluster of 5 mesos slaves with one master. The jobs are placed into mesos slaves, the space in /var/lib/mesos/slaves/../executors start increasing when the task fails and tries to deploy it again and again.
backend_gig.42c25d62-2f07-11e7-9b48-025317f685e8
backend_kw-subscribe.d8bbfff0-2f09-11e7-9b48-025317f685e8
backend_gig.5fb8ab00-2f01-11e7-9b48-025317f685e8
backend_kw-subscribe.d9d9c645-2f01-11e7-9b48-025317f685e8
backend_gigya.7218ec06-2f04-11e7-9b48-025317f685e8
backend_kw-subscribe.f7c1bb09-2f05-11e7-9b48-025317f685e8
backend_gigya.97960c51-2f03-11e7-9b48-025317f685e8
backend_kw-subscribe.fc36ac17-2f06-11e7-9b48-025317f685e8
backend_gig.9e4a9ab7-2f09-11e7-9b48-025317f685e8
backend_charging-mock.3fcf883a-2e56-11e7-8876-025317f685e8
backend_gig.ac4c9a67-2f06-11e7-9b48-025317f685e8
How do I remove the directories of the jobs which are not running/failed/older jobs on mesos slaves? Would that be controlled by mesos/marathon? I should set up a cron or some script to remove the directories. Please suggest as the directories eat up much disk space and slaves go down and unable to start any tasks