Project

General

Profile

Actions

Bug #7345

closed

JVM 8.0: warning about "Ignoring option PermSize=128m; support was removed in 8.0"

Added by David Durieux about 9 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
4
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

There is a warning and I think it can be a problem:

Starting Jetty: OpenJDK 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #7348: rudder-jetty initialisation should not support Java 6ReleasedBenoît PECCATTE2015-11-02Actions
Actions #1

Updated by Jonathan CLARKE about 9 years ago

  • Subject changed from Centos 7.1 to JVM 8.0: Ignoring options MaxPermSize/PermSize=128m; support was removed in 8.0
Actions #2

Updated by François ARMAND about 9 years ago

It's not a problem, in the sense that the JVM is only warning us that we are using a deprecated parameter in its starting option. The corresponding option is now enterilly managed by the JVM and the OS.

But clearly, we should have a way to avoid the warning, that may be frightning - and well, have a soft starting with "warning" is not the best we can hope for :)

So, we need some way to add the "MaxPermSize/PermSize" option only when the installed JVM version (or more preciselly, the JVM version used for starting the webapp) is < 8.0. Certainly, it should be in the init script.

Actions #3

Updated by Jonathan CLARKE about 9 years ago

  • Subject changed from JVM 8.0: Ignoring options MaxPermSize/PermSize=128m; support was removed in 8.0 to JVM 8.0: warning about "Ignoring option PermSize=128m; support was removed in 8.0"
  • Priority changed from N/A to 4
Actions #4

Updated by Jonathan CLARKE about 9 years ago

  • Category set to System integration
  • Status changed from New to In progress
  • Assignee set to Jonathan CLARKE
  • Target version set to 2.10.20

We should detect JVM version and only use these options if JVM version < 1.8.

Actions #5

Updated by Jonathan CLARKE about 9 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/773
Actions #6

Updated by Jonathan CLARKE about 9 years ago

  • Related to Bug #7348: rudder-jetty initialisation should not support Java 6 added
Actions #7

Updated by Jonathan CLARKE about 9 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #9

Updated by Vincent MEMBRÉ almost 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.20, 2.11.17, 3.0.12 and 3.1.5 which were released today.

Actions #10

Updated by Benoît PECCATTE almost 8 years ago

  • Found in version (s) 3.1.2 added
Actions #11

Updated by Benoît PECCATTE almost 8 years ago

  • Found in version(s) old deleted (3.1.2)
Actions

Also available in: Atom PDF