• Java 5 issue on VMS Alpha

    From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to All on Wed Jan 17 21:20:26 2024
    This version of Java is way out of support both generally
    by SUN/Oracle and for VMS by HP(E).

    But I still has it running.

    Playing with some web services in Tomcat I tend to end up
    with the following error:

    global_alloc: out of global space, file JDEV:[fastvm.srcjava.runtime]globals.c;1, line 50

    and Tomcat shutdown.

    I have tried increasing -Xmx and -XX:MaxPermSize,
    but it did not help.

    I have tried increasing PGFLQUOTA, but it did not help.

    Any suggestions?

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to arne@vajhoej.dk on Thu Jan 18 13:30:27 2024
    On 2024-01-17, Arne Vajhj <arne@vajhoej.dk> wrote:

    Any suggestions?


    If you turn on image accounting, do you get any extra clues ?

    Failing that, running your failing command from a newly logged in process
    and then _immediately_ logging out will result in the process accounting
    record showing some peak values used. You may be able to get some
    clues from there, or at least eliminate some possible causes.

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Simon Clubley on Thu Jan 18 09:14:01 2024
    On 1/18/2024 8:30 AM, Simon Clubley wrote:
    On 2024-01-17, Arne Vajhøj <arne@vajhoej.dk> wrote:
    Any suggestions?

    If you turn on image accounting, do you get any extra clues ?

    Failing that, running your failing command from a newly logged in process
    and then _immediately_ logging out will result in the process accounting record showing some peak values used. You may be able to get some
    clues from there, or at least eliminate some possible causes.

    It is running in a separate process, so I did have logout accounting
    info.

    I had also checked and double checked the "Peak virtual size"
    to PGFLQUOTA - even tried increasing PGFLQUOTA anyway just in
    case a gigantic allocation failed.

    But after your post explicit talking about logging in and
    logging out then I looked again and I noticed something -
    the process is not running under the account starting the
    process (SYSTEM) but under the same account as
    Apache httpd (APACHE$WWW).

    Slapping myself hard.

    After increasing PGFLQUOTA on that account then everything worked fine.

    A debug printf with a reference to file and line number
    in the C source is obviously not up to neither VMS nor Java
    error reporting standard, but given that SUN/Oracle stopped
    support in 2009 and HPE in 2020 then I will have to live
    with that.

    So thanks.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)