LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2015, 12:29 PM   #1
hllink
LQ Newbie
 
Registered: Jan 2015
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 01-30-2015, 01:11 PM   #2
RandyGG
Member
 
Registered: Jan 2015
Posts: 36

Rep: Reputation: Disabled
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
 
Old 01-31-2015, 09:24 AM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Yes the running programs stay with old jre.

But it is best to reboot or atleast restart running apps.
 
Old 01-31-2015, 10:31 AM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,391

Rep: Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348
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.
 
Old 02-01-2015, 02:51 AM   #5
SandsOfArrakis
Member
 
Registered: Apr 2012
Location: Netherlands
Distribution: Debian 8.2 Jessie
Posts: 127

Rep: Reputation: Disabled
Quote:
Originally Posted by RandyGG View Post
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
 
Old 02-01-2015, 06:44 AM   #6
hllink
LQ Newbie
 
Registered: Jan 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
thank you guys for the awnsers!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can this be handled in grub? PeterSteele Linux - General 7 12-21-2012 06:49 AM
Fairness: Where can it be better handled? sinu_nayak2001 Programming 3 05-14-2010 01:54 AM
how are kernel updates handled? nick623 Ubuntu 8 03-16-2007 09:45 PM
Logs - how are they handled TL_CLD Slackware 2 09-15-2006 03:43 PM
How well is FAT32 handled? GAWd Linux - Newbie 3 12-13-2003 05:38 PM


All times are GMT -5. The time now is 08:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration