Mantis - Resin
Viewing Issue Advanced Details
6328 minor always 02-26-20 02:01 02-27-20 15:07
nam  
ferg  
high  
closed 4.0.63  
won't fix  
none    
none 4.0.65  
0006328: jvm_args are not updated after an automatic restart from config change
(rep by M. Shimomura)

An automatic restart from a config change will NOT reflect updated jvm_args. Meanwhile, manual restart will reflect the update jvm_args.

Steps to reproduce
==============

1. edit resin.properties:
     jvm_args : -Xms2048m

2. start resin

3. check resin-admin and see free tenured at around 2000MB:
    http://localhost:8080/resin-admin/index.php?q=memory [^]

4. edit resin.properties:
     jvm_args : -Xms512m

5. wait for resin to automatically restart

6. check resin-admin and see free tenured is NOT 500MB:
    http://localhost:8080/resin-admin/index.php?q=memory [^]

Notes
(0006939)
ferg   
02-27-20 15:07   
A jvm_arg change requires a manual restart because it's read by the watchdog at startup.