This post is more than 5 years old
455 Posts
0
1380
September 26th, 2007 07:00
Reducing Daemon.log file size.
Hi,
My Daemon.log file size in increasing and is now about 40MB.
I have added the environment variables NSR_MAXLOGVERS and NSR_MAXLOGSIZE as suggested in the doc and also restarted my nsrd. Unfortunately the trimming function does not appear to be working. I shutdown Networker and tried to edit the file and reduce the number - no success as other services are using the files. I currently have only two files; daemon.005 (7MB) and daemon.log (40MB).
Is there another way I can reset the trimming function to work as it should.
Thanks
Habib
My Daemon.log file size in increasing and is now about 40MB.
I have added the environment variables NSR_MAXLOGVERS and NSR_MAXLOGSIZE as suggested in the doc and also restarted my nsrd. Unfortunately the trimming function does not appear to be working. I shutdown Networker and tried to edit the file and reduce the number - no success as other services are using the files. I currently have only two files; daemon.005 (7MB) and daemon.log (40MB).
Is there another way I can reset the trimming function to work as it should.
Thanks
Habib
No Events found!


ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
September 27th, 2007 14:00
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
1
September 26th, 2007 11:00
Workaround in your case is to stop NW, move manually daemon.log to daemon.001 and start NW. It should then create new daemon.log.
HabibG2
455 Posts
0
September 27th, 2007 03:00
Thanks for the information.
I have just upgraded to 7.3.3 from 7.3.2 on W2003 R2 platform. The problem was there even before I upgraded so its not the upgrade that caused it.
I have tried renaming daemon.log to daemon.001 as you suggested, but the system won't let me even when NW has been stopped although I noticed that there are some processes still running under System in Task Manager; nsrmmd.exe, nsrmmdbd.exe, nsrpm.exe..etc.
Thanks
Habib.
HabibG2
455 Posts
0
September 28th, 2007 07:00
Will keep you informed!!
Thanks again.
Habib.