Skip to main content
Question

Unidata warning: "file ... is approaching system maximum"

  • May 10, 2024
  • 3 replies
  • 0 views

Kevin King

Is there any configuration in Unidata that can be adjusted for when a file starts emitting these messages into the udt.errlog?  Seems I've seen this start to appear at different times, but I've never seen a configuration option for it.

3 replies

Jonathan Smith
Forum|alt.badge.img
  • Rocketeer
  • 356 replies
  • May 10, 2024

Is there any configuration in Unidata that can be adjusted for when a file starts emitting these messages into the udt.errlog?  Seems I've seen this start to appear at different times, but I've never seen a configuration option for it.

Kevin,

The check is hardcoded for 32 bit static files.

The maximum file size of a 32bit part file for a dynamic file is controlled at the time it is created and is taken from the MAX_FLENGTH configurable.

Regards,


Jonathan Smith
Forum|alt.badge.img
  • Rocketeer
  • 356 replies
  • May 10, 2024

Is there any configuration in Unidata that can be adjusted for when a file starts emitting these messages into the udt.errlog?  Seems I've seen this start to appear at different times, but I've never seen a configuration option for it.

@Kevin King ... see my updated comment

The check is hardcoded for 32 bit static files.

The maximum file size of a 32bit part file for a dynamic file is controlled at the time it is created and is taken from the MAX_FLENGTH configurable.


John Jenkins
Forum|alt.badge.img+1
  • Participating Frequently
  • 253 replies
  • May 12, 2024

Is there any configuration in Unidata that can be adjusted for when a file starts emitting these messages into the udt.errlog?  Seems I've seen this start to appear at different times, but I've never seen a configuration option for it.

Kevin,

If yiou want to track wneh these events are logged I recommend a script run under cron that is monitoring the size of the log file by the number of lines. When the number changes (whether + or -) then grep for the message in the output of a tail command.  You can then either notify someone my email or flag some other means of alerting.

Regards

JJ