Skip to main content
Kevin King
Participating Frequently
May 10, 2024 10:17 AM UTC
Question

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

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
    Rocketeer
    May 10, 2024 11:06 AM UTC

    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,

    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS
    Jonathan Smith
    Rocketeer
    May 10, 2024 11:21 AM UTC

    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.

    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS
    John Jenkins
    Participating Frequently
    May 12, 2024 1:12 PM UTC

    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

    JJ