cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

filesystem usage on /var exceeds selected limit (96% / 90%)

Jump to solution

i encounter this issue on my MWG.

I just edit the commands in rsyslog just now

from

/var/log/messages

 

to

 

*.info;daemon.!=info;mail.none;authpriv.none;cron.none        -/var/log/messages

 

And this is the logging rule

send to syslog (Always) | continue | Syslog (6, User-Defined.logLine)

 

Can advise? i am still seeing the issue. I am not familiar with Linux so maybe I need to clear the logs under /var? If yes then whats the command to do so?

 

 

 

1 Solution

Accepted Solutions
asabban
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 3

Re: filesystem usage on /var exceeds selected limit (96% / 90%)

Jump to solution

Changing the syslog line will not clean the already taken disk space. If there is only limited Linux experience, download WinSCP, login to the appliance, navigate to /var. Now have WinSCP sort the files by size and download&remove some of the larger files.

If unsure, let us know which files are big and we tell if they can be deleted or not.

View solution in original post

2 Replies
asabban
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 3

Re: filesystem usage on /var exceeds selected limit (96% / 90%)

Jump to solution

Changing the syslog line will not clean the already taken disk space. If there is only limited Linux experience, download WinSCP, login to the appliance, navigate to /var. Now have WinSCP sort the files by size and download&remove some of the larger files.

If unsure, let us know which files are big and we tell if they can be deleted or not.

View solution in original post

marcus69
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 3 of 3

Re: filesystem usage on /var exceeds selected limit (96% / 90%)

Jump to solution

Hi @User95478885 

try this Command while being in the /var folder:

du -sh ./* | sort -h

It will show You which subfolders consume the most space. Descending down the biggest folders while againusing the above command will guide You to the place where some housecleaning may needs to be done.

Best regards
   Marcus

P.S.: If you find this post helpful, thank You for giving it a Kudo :o)
You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community