Wednesday, June 30, 2004

Reducing OpenPBS Log in OSCAR 3

In the default setting of OSCAR 3 package, OpenPBS server generates about several 10s mega byte log everyday. It causes some storage problem if your /var is not big enough. There might be some other problems also caused by huge log. After a dig to the OSCAR mail archive, I found my savior. This log mode saves a lot of disk space and still makes sense.

This technical note may only apply on OSCAR software

From: Jeremy Enos
Subject: Re: [Oscar-users] PBS server log

Looks like the server was set to log everything by default (511).  Here's 
how to change it:

qmgr -c "set server log_events = 127"

Here are the different level descriptions:

1 Error Events
2 Batch System/Server Events
4 Administration Events
8 Job Events
16 Job Resource Usage (hex value 0x10)
32 Security Violations (hex value 0x20)
64 Scheduler Calls (hex value 0x40)
128 Debug Messages (hex value 0x80)
256 Extra Debug Messages (hex value 0x100)
Everything turned on is 511. 127 is a good value to use.

No comments: