Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

tmp/assets growing out of control

  • ggenellina
  • ggenellina's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 10 months ago #239707 by ggenellina
tmp/assets growing out of control was created by ggenellina
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.6.0+
Own server or LimeSurvey hosting: own server, using cPanel and Softaculous
Survey theme/template:
==================
I noticed the directory tmp/assets contains thousands of subdirectories, and is taking more than 3 GB now.
May I safely delete it? 
May I control its size?
I've barely used LimeSurvey in the last couple years, there is no survey running, but the assets dir keeps growing.
 

Please Log in to join the conversation.

More
1 year 10 months ago #239709 by jelo
Replied by jelo on topic tmp/assets growing out of control

I've barely used LimeSurvey in the last couple years, there is no survey running, but the assets dir keeps growing.
 
What do you mean by keeps growing? If you currently don't create or modify surveys, I would not expect to see new directories in the assets directory.
How many surveys are still in your LimeSurvey system?

You can delete the stuff inside. You can refresh the assets via the button "Clear assets cache" via Global settings -> General.

 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • ggenellina
  • ggenellina's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 10 months ago #239718 by ggenellina
Replied by ggenellina on topic tmp/assets growing out of control
There were about ~2500 subdirectories in tmp/assets, 3.2 Gb in size.
I have two surveys created, none of which has been active for a year or more.

Please Log in to join the conversation.

More
11 months 1 week ago #253488 by riu
Replied by riu on topic tmp/assets growing out of control
Hello
Have you find a solution?
The version that I use is 5.1.3 and with few forms and responses /tmp/assets is 907Mb
And I have used the Global settings -> General : "Clear assets cache"
I have search and don't find how to solve that.
Thanks

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
11 months 6 days ago - 11 months 6 days ago #253528 by DenisChenu
Replied by DenisChenu on topic tmp/assets growing out of control
You can safety delete it,
You can eventually create a cron action to delete assets, runtime, twig cache and some other directory.

When you "Clear assets cache" : it reset the number bit not delete previous directory : maybe report the issue community.limesurvey.org/bug-tracker/

Only about assets : you can linkAssets in your config.php file
Code:
        'assetManager' => array(
            'linkAssets' => true,
        ),
inside component array

This is clearly limit the total size of asset directory (after deleting all directory inside)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
Last edit: 11 months 6 days ago by DenisChenu.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose