cancel
Showing results for 
Search instead for 
Did you mean: 

Why is my XSA APP using so much Hard Drive Disk Space?

mrwong05
Participant

Hi,

My Hana Express server died today b

ecause the 500 GB disk filled up.

I did some searching and found using the DU command (linux suse)

233357024       /hana/shared/U01/xs/app_working/<FQDN>/executionroot
12      /hana/shared/U01/xs/app_working/<FQDN>/ssl-pub
11256   /hana/shared/U01/xs/app_working/<FQDN>/tracing/log
11260   /hana/shared/U01/xs/app_working/<FQDN>/tracing
4       /hana/shared/U01/xs/app_working/<FQDN>/router
233732348       /hana/shared/U01/xs/app_working/<FQDN>/

233 GB for XS apps executionroot?

Can someone please help me troubleshoot this? My apps are not storing any data, and the database size is not increasing at all. actually the database usage is only using 4 GB of disk space.

I have a 5 Fiori Site Module APP running on XSA.

after more searching

I found:

/hana/shared/U01/xs/app_working/<FQDN>/executionroot/384288f6-f8cf-4c28-949c-4739ebee4074/app/uploads # less ff9c97687c4617511419b1a0b3008e5a
131010806         131010806   0%                            427 files
ff9c97687c4617511419b1a0b3008e5a lines 371-432/432 

It seems to be an archive? 131 GB archive? Is it necessary? can i remove it? What is it purpose for XS?

i noticed this is the biggest file in archive:

119140384  Stored 119140384   0% 2018-07-20 10:52 c76c3ac8  vendor/node4.8/bin/node_main/node

Accepted Solutions (0)

Answers (3)

Answers (3)

Hi Matthew,

I'm facing the same issue and did some research on my own. KBA2775467 states that each (running) instance from every application has a directory (droplet) in the executionroot folder. In addition if you stop an application (or it crashed by itself) the last three instances will be saved for debugging. You can reduce this from 3 to 1 to save diskspace but I haven't tried it yet.
I don't think it's wise to just remove (sub-)folders, especially from a running application.
If you want to free disk space you have to reduce the amount of running instances and delete stopped / crashed instances. You can do this with the xs cli cmd 'xs delete-app-instances'. You can delete specific instances by index or all stopped / crashed ones.
If you don't know which directory belongs to which app you can check the app_info.dat within each directory (e.g. cat app_info.dat). If you know the space- / appname you can search within executionroot with e.g. 'find . -maxdepth 2 -name app_info.dat -type f | xargs grep space_name=<SPACE>' or find . -maxdepth 2 -name app_info.dat -type f | xargs grep app_name=<APP>'. Or even all stopped instances with 'find . -maxdepth 2 -name app_info.dat -type f | xargs grep prunded=true'.
Hope this helps.

Tobias

zano
Discoverer
0 Kudos

Hy Matthew, I've same Problem in my Environment. could you fix the Problem in meantime?

Thanks

Norbert

mrwong05
Participant
0 Kudos

I think the workaround was to delete these large folders., I tried to work with SAP on the issue 1 year ago and the help they provided didn't solve the problem.

jmalla
Contributor
0 Kudos

Hi Matthew - did you get to the bottom of this issue. For me, this folder is filling up:

/hana/shared/HXE/xs/controller_data/executionagent/executionroot

Thanks,

Jay

mrwong05
Participant
0 Kudos

I didn't really, I tried to work with SAP on the issue 1 year ago and the help they provided didn't solve the problem.