Decreasing of the Application Server Disk Usage

1
Hello guys, Right now I'm working on application monitoring and I noticed Warning status for Application Server Disk Usage.  If I understand correctly this alert parameter is responsible for showing the occupied memory by log files, and other things (backups, deployment packages) that are uploaded in sprinter for the specific project.  So, because we are not allowed to delete for example log files or backups from sprinter, is there any other way to delete those files in order to free up this memory?  On the other hand, we are allowed to delete deployment packages directly from the sprinter.  Thank you, Kind regards, Aleksandar Alempic 
asked
3 answers
0

Hi Aleksandar,

The warning indicates that your application server is running out of space. See https://docs.mendix.com/howto50/monitoring-application-health

I would not worry about log files and such rather check the root causes for your disk usage. Does your application creates file documents and if so are they cleaned up properly after deletion?

 

answered
0

Hello Aleksander,

  The Application Storage does not refer to the team server or the Sprintr portal.  The Application Server is where the Mendix runtime is deployed and where the object cache and file storage is done.  When this error occurs, it nearly always indicates that there are too many large documents stored in the Mendix app.  PDFs, Excel files, and other imported documents do not live in the database as BLOBs.  They are stored on the application server file system.  Does your application generate lots of PDFs?  Maybe you can implement a document cleanup to remove older files and free up space.  Alternatively, you could look at an integration to an external file storage like Amazon S3.  Mendix can also add additional file storage space to your application server for an additional cost, but in the long run that space will end up filling up as well.

answered
0

You can take a look at https://appstore.home.mendix.com/link/app/54339/ This Module greatly helps in analyzing your file documents. This analysis can then help you figure out which documents you don't need and handle appropriately

answered