Editing
Root partition alerts
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Login to server magento.zeb.apoyar (access.log file) ------------------------------------------------- Check at cd /var/log/nginx ls -latrh for demo.apoyar (update.log file) --------------------------------- Go to cd /var/www/magento2/var/log ls -latrh for caching.pcr.apoyar (access.log file) --------------------------------------- Go to cd /var/log/nginx/ ls -latrh To truncate the log file ------------------------ truncate --size 0 /path/logfilenamedf -h it should below 75% than only it will be ok du -s /* 2> >(grep -v 'cannot access') | sort -nr | cut -f2- | xargs du -hs Above command gives the results for where the space is occupying more.. du -s /var/* 2> >(grep -v 'cannot access') | sort -nr | cut -f2- | xargs du -hs This command gives the path of folder where it is taking more space. In the specific folder we should delete old .sql files Alternate method find / -type f -size +1G This command shows where it was taking more Space
Summary:
Please note that all contributions to Apoyar Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Apoyar Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Apoyar Infrastructure
Active Directory
Recent changes
Random page
Upload file
Tools
What links here
Related changes
Special pages
Page information