Grid Engine writes a record of every job that is run to an accounting log that is placed in /data/project/.system/accounting on our deployment. This file gets quite large; it's currently 1.5G. We should figure out how to rotate/truncate it.
Its nice to have 30+ days of history for things like https://tools.wmflabs.org/grid-jobs/, but we really don't need more history than that. The rotation script that http://gridscheduler.sourceforge.net/howto/rotatelogs.html documents looks like it could be most of what we need.