LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How updates are handled by the O.S.? (https://www.linuxquestions.org/questions/linux-newbie-8/how-updates-are-handled-by-the-o-s-4175532510/)

hllink 01-30-2015 12:29 PM

How updates are handled by the O.S.?
 
Hello, i'm new here at the forums and i'm pleased to meet this community, my native language is not english so please be gentle to me with my spelling errors..

I have a question for more experienced users, how the updates are handled by the O.S.? Imagine this solution:
-Debian 7 wheezy
-Apache Tomcat8
-JRE 1.8.0_31

the server is running with apox. 20 users at same time using a web app, if i update the JRE to a newer version what happens? All process that are using JRE 1.8.0_31 stays with the outdate JRE until the next reboot? or it just figure out alone how to use the newer version?

Thank you and sorry for my bad english.

ps.: I want to know what happens to Shared Objects as well.

RandyGG 01-30-2015 01:11 PM

Hi there,

I am new as well so forgive me if my answer is incorrect but I just run apt-get update and apt-get install for all my linux distros

veerain 01-31-2015 09:24 AM

Yes the running programs stay with old jre.

But it is best to reboot or atleast restart running apps.

DavidMcCann 01-31-2015 10:31 AM

When a user starts a program, the code will be loaded into the memory of their computer from the server. If you change the version on the server, that won't affect them: the version they loaded will still be running.

The only possible problem is if part of something is upgraded: some module or plugin that isn't normally loaded. Then a user could get a new part added to an old program and they might not fit. But that would be rare.

On the whole, it's probably better to do upgrades when you do backups — when the users (or most, at least) have gone home, using a cron script.

SandsOfArrakis 02-01-2015 02:51 AM

Quote:

Originally Posted by RandyGG (Post 5309058)
Hi there,

I am new as well so forgive me if my answer is incorrect but I just run apt-get update and apt-get install for all my linux distros

Pretty sure that only works for Debian based distributions :)

hllink 02-01-2015 06:44 AM

thank you guys for the awnsers!


All times are GMT -5. The time now is 08:39 PM.