Results 1 to 3 of 3

Thread: nscd.log = 13 Gb size :D

  1. #1

    Question nscd.log = 13 Gb size :D

    Hi friends !

    And yes. This is are magic file who kill 20 linux nodes today


    and.. of course i want to ask - What i can do for limiting size of nscd.log file ?

    i try to find help in man files: nscd and nscd.conf - but nothing about log size.

    (just paranoia mode with auto restarting.. but this sounds ugly. i need just limit log file size)

    How you solve this problem ?
    May be i need to create and start some daemon for cleaning logs ?
    The mouse click's skills is not a most important skills in our short life

  2. #2
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: nscd.log = 13 Gb size :D

    You can set "debug-level" in nscd.conf to reduce the output. Additionally use logrotate to rotate the logs periodically. You may have to add a confuration script in /etc/logrotate.d. Then you can delete old log files.
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  3. #3

    Default Re: nscd.log = 13 Gb size :D

    Thanks for answer!

    I set debug level to "0", and create hourly cron script
    ">/var/log/nscd.log"

    now, i think, all must be good.
    The mouse click's skills is not a most important skills in our short life

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •