Remove a domain doesn't free space memory

Hi all,

I have removed a huge domain to gain memory space, but it doesn't.

Before the removal, my nuxeo-data directory weighed 45 GB and it still weighs 45 GB after I had delete the domain.

I emptied the trash and restarted nuxeo… I have flush the elasticsearch index and recreated it but nothing changed.

Did someone allready had this kind of problem ?

best regard

0 votes

2 answers

2439 views

ANSWER



You should also purge orphaned binaries: Admin Center > Repository Binaries > check Delete orphaned binaries > Mark orphaned binaries

1 votes



Hi !

I have noticed stranges wrong.

To be clear, I'm going to explain you the problem :

We had an instance of nuxeo created in 2008 which contains only one domain.

In january 2017 we have created I second domain on this instance. We have added around 9 GB of documents.

After reflexion, we have decided to export this second domain in another dedicated instance.

So I have duplicate this instance : I have dumped and restored database + copied nuxeo-data directory

In this new instance I have deleted the first useless domaine and orphaned binaries and then restarted Nuxeo.

The problem is that when I go in the search tab, I can see that olders documents are still accounted for in facet options. I have several thousand files for the 2014 facet option and then for 2015 and then for 2016

Furthermore I know that my remaining domain must weigh something around 9 GB but it weights 23 GB… but why ????

Hi !

I have noticed stranges wrong.

To be clear, I'm going to explain you the problem :

We had an instance of nuxeo created in 2008 which contains only one domain.

In january 2017 we have created I second domain on this instance. We have added around 9 GB of documents.

After reflexion, we have decided to export this second domain in another dedicated instance.

So I have duplicate this instance : I have dumped and restored database + copied nuxeo-data directory

In this new instance I have deleted the first useless domaine and orphaned binaries and then restarted Nuxeo.

The problem is that when I go in the search tab, I can see that olders documents are still accounted for in facet options. I have several thousand files for the 2014 facet option and then for 2015 and then for 2016

Furthermore I know that my remaining domain must weigh something around 9 GB but it weights 23 GB… but why ????

03/08/2017


I have added 3 screenshot to explain my situation

0 votes



Again, you're adding an Answer when you shouldn't. What you wrote isn't an answer. Just use comments or update your original question.
03/08/2017

Be aware that the charts of your first and second screenshots are fed by the audit. Despite you removed your other domain, it still takes into account documents created in your removed domain.

As for the search aggregates, they're also returned by your elasticsearch index. Are you sure you did Re-index your entire repository? There's a dedicated button in the Admin Center -> Elasticsearch -> Admin

03/08/2017

Yes I have flushed and reindexed the repository 3 times, but nothing changed… So I have manually deleted the elasticsearch directory located in nuxeo-data and restarted nuxeo but still unchanged…

After, I have recreate the index … but nothing…

Charts are unchanged and the space memory is still 23 GB

03/08/2017