Your system keeps a diary of its limits

A while back I shared how to check how close your system is to its architectural limits, the maximum members in a file, the size of a journal receiver, and so on. Today, the companion to that, because your system has not just been living near those limits, it has been quietly keeping a diary of every time it got close. Easier to check now, and know you are getting close, as opposed to hitting the wall, and then having to react.

IBM i tracks system limits over time, and you can read the history:

SELECT LAST_CHANGE_TIMESTAMP, DESCRIPTION,
       CURRENT_VALUE, MAXIMUM_VALUE,
       SYSTEM_SCHEMA_NAME, SYSTEM_OBJECT_NAME
  FROM QSYS2.SYSLIMTBL
 ORDER BY LAST_CHANGE_TIMESTAMP DESC
 FETCH FIRST 50 ROWS ONLY;

That gives you the most recent entries in the tracked limits history, what the limit is, how high the value climbed, and which object it was.

The difference between this and a simple current check is the word history. A single snapshot tells you where you are right now. This tells you the direction you are heading. When you see the same object showing up again and again with its CURRENT_VALUE creeping up over weeks, that is not a problem you have, that is a problem you can see coming, with enough runway to do something about it on your schedule instead of at the worst possible moment. And you know, it will happen at the worst time.

This is the whole art of good system administration in one idea: stop reacting to problems and start seeing them arrive. A file steadily marching toward its maximum size, a receiver chain growing faster than expected, a member count climbing, all of it shows up here before it shows up as a failed job at two in the morning. You just have to look.

Pull up your limits history this week and watch for anything trending the wrong way. The problems that end careers are almost never the ones nobody could have predicted. They are the ones the system was quietly reporting all along, in a place nobody thought to check.

Originally posted on LinkedIn. Join the conversation there.

Get new posts by email

Practical IBM i tips on SQL services, security and backup, sent when I publish. No spam, unsubscribe anytime.

Leave a Reply