Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Hi Please help to manage the var/log/faillog in Linux server  RSS feed

 
Greenhorn
Posts: 26
Chrome Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We have our application in IBM Websphere 7.0. in Linux. the disk used space in root folder /var/log/faillog is more.(It is 128 GB.). because of this the disk used space is now 90% under /var folder of root. can anyone tell me how to handle this . I know this is because of userlogin failures of the LDAP Server but It is little bit scary to delete this var/log/faillog.


df -k .
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/rootvg-varlv
3096336 2499888 439188 90% /var


under this /var/log/faillog file is consuming 128GB.

Has Anyone have any Idea ?
 
Bartender
Posts: 19656
92
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I may be mistaken, but I'm fairly sure that you can truncate the log using the WAS admin webapp as part of the log view/maintenance functions.

However, if this log has a history of rapid growth, you really should look at why so many messages are being posted to it and what to fix so that they won't be.
 
Tim Holloway
Bartender
Posts: 19656
92
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... Although, since this is a system (non-WebSphere) log under Linux /var/log, you may need a different approach.

Usually stuff like this is handled via the logrotate Linux utility, which runs as a cron job.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!