"TERM trapped. Shutting down" after restart (OOM) (OD-2499)
Oleksandr Nikitin opened 6 months ago

See the attached console screenshot.

Restarting, downgrading, reimporting the backup XML gives the same issue.

Feels like the export from 11.6.7 was faulty.

image.png

  • Robin Shen commented 6 months ago

    Works at my side. Please check if some other process is killing it.

  • Robin Shen commented 6 months ago

    If no process interfering OneDev, please let me know detail steps to reproduce the issue.

  • Oleksandr Nikitin commented 6 months ago

    Solved. OneDev was stopped by the Linux OOM killer.

    So the issue was not the export but rather the spike of the memory usage right after startup, due to having a lot of cross-issue links.

    Bumping the RAM in the VM dedicated to OneDev to 16GB made it start normally.

    I guess this is worth mentioning in the documentation somewhere, but at least it's now Googleable.

  • Oleksandr Nikitin changed title 6 months ago
    Previous Value Current Value
    "TERM trapped. Shutting down" after 11.6.7->12.0.1 update
    "TERM trapped. Shutting down" after restart (OOM)
  • Oleksandr Nikitin changed fields 6 months ago
    Name Previous Value Current Value
    Priority
    Critical
    Minor
  • Oleksandr Nikitin changed fields 6 months ago
    Name Previous Value Current Value
    Type
    Bug
    Question
  • Robin Shen commented 6 months ago

    16G mem seems quite a lot for OneaDev. Curious how many issues you have in OneDev.

  • Oleksandr Nikitin commented 6 months ago

    Well I was using my personal instance as an impromptu database so I generated "eternal" issues for items like countries, cities and eg my subscription payments, and that bumps the total count to somewhere around 1500 (plus about 4000 extra created due to script bugs and then removed).

    The OOM happened with 8G of RAM and I just doubled it to be sure.

  • Robin Shen commented 6 months ago

    It is odd that this number of issues can lead to OOM in OneDev. I tested with 100k issues with default memory setting (use less than 1G mem). It will help a lot if you can create an example database demonstrating the issue.

  • Robin Shen commented 6 months ago

    Closing this for now, feel free to reopen if there is more info.

  • Robin Shen changed state to 'Closed' 6 months ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Minor
Assignee
Labels
No labels
Issue Votes (0)
Watchers (4)
Reference
OD-2499
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover