Alvin_Parreno
Alvin_Parreno
13-02-2019
Hi Community and Staffs,
I'm new to AEM6.1 and just want to seek help from here. I am building packages recently using crxde package manager and curl commands, however, I have encountered an error that does not allow me to build packages anymore. I deleted the package that I've built everytime and now I am confused that I've encountered this error. Am I doing it right? How can I free up space and on what directory should I free up?
Can someone help me regarding with this matter? Any answer is really appreciated. Thank you!
Best Regards,
Alvin
Alvin_Parreno
Alvin_Parreno
13-02-2019
Tagging people who help me a lot:
Jörg Hoh , User Testing , smacdonald2008
Gaurav-Behl
MVP
Gaurav-Behl
MVP
13-02-2019
Cleanup/Increase the temp directory space however you've configured it, either /tmp on linux/Mac or if you pass it via cmd line to AEM using -Djava.io.tmpdir=/path/to/tmpdir
Alvin_Parreno
Alvin_Parreno
13-02-2019
Hi ,
Thank you for your answer., can you elaborate on how can I cleanup the temp directory space? where can I find the /tmp? thank you
Gaurav-Behl
MVP
Gaurav-Behl
MVP
13-02-2019
Check the AEM start script (bat/sh/command line/terminal)
Do you see any parameter like this one -Djava.io.tmpdir=</path/to/tmpdir>
If yes, then /path/to/tmpdir is the configured temp directory for your AEM instance.
Otherwise, on mac/linux - check the size of /tmp or delete everything under /tmp to create some space.
If you're using Win, then open '%temp%' in Run command and cleanup/delete files and create more space in temp directory.
Alvin_Parreno
Alvin_Parreno
13-02-2019
Hi ,
Thank you for your quick response, is /tmp accessible via localhost:4502/crx/de? I am using linux
Gaurav-Behl
MVP
Gaurav-Behl
MVP
13-02-2019
that is via filesystem
open terminal and check the size of /tmp
df -h /tmp
Alvin_Parreno
Alvin_Parreno
13-02-2019
Hi ,
it returned this result:
dev/xdva1
Total size : 7.8gb
Used size : 7.7gb
Available size: 5.5mb
Mounted on : /
Am I doing it right? How can I clean up this? thank you so much
Gaurav-Behl
MVP
Gaurav-Behl
MVP
13-02-2019
yes, you're fine. there is hardly any memory free in /tmp
cd /tmp
rm -rf *
run 'rm' within /tmp only
Alvin_Parreno
Alvin_Parreno
13-02-2019
Hi,
I'm currently not in my machine anymore. Is it safe to rm rf tmp ? Can I have a chance to take a look inside the tmp folder before I do the procedure?