Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
multiple instances of emerge, is that ok?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
RikBlankestijn
Guru
Guru


Joined: 01 May 2003
Posts: 315
Location: Arnhem the Netherlands

PostPosted: Sun Dec 28, 2003 5:19 pm    Post subject: multiple instances of emerge, is that ok? Reply with quote

I'm doing an emerge which takes a long time to complete. In the meantime I like to emerge another application. When this application is finished I got a message that N config files need to be updated. But these are the config files from the other emerge still running. Is this a problem?
I always do it actually, but I'm not quite sure if it can't do any harm to the consistancy of my system.


EDIT: Sorry, I didn't search. There a few threads that I should read first ;)
Back to top
View user's profile Send private message
markfl
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 240
Location: Kent, UK

PostPosted: Sun Dec 28, 2003 10:28 pm    Post subject: Reply with quote

i think this has the possibility to screw up your system in some cases so its best to avoid it...
having said that - i do this all the time and i've never had a problem but mayb im lucky

MJ
_________________
Life it seems, will fade away
Drifting further every day
Back to top
View user's profile Send private message
jsinger
n00b
n00b


Joined: 24 Oct 2003
Posts: 16

PostPosted: Mon Dec 29, 2003 4:23 pm    Post subject: Reply with quote

My impression is that there isn't a problem unless two emerge processes try to perform the same step (writing to the portage database, say) at the same time. Then there will be a problem.

I also do it, and believe it shouldn't be a problem to emerge a tiny dockapp while kdelibs compiles. But realize the potential risk.
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Mon Dec 29, 2003 6:35 pm    Post subject: Reply with quote

spawning another emerge session isn't going to to speed things up, on the contrary, it will slow things down.
also, it may be dangerous, as I doubt whether, by design, emerge can deal with such senario.
if you have multiple CPU's you may want to consider tweaking
MAKEOPTS in your /etc/make.conf file as follows
Code:

MAKEOPTS="-jx"

where x is the number of CPU's you have + 1
or if you like to overload your system, and stress it to the max by all means try:-
Code:

MAKEOPTS="-j1000"

and do emerge openoffice
PS don't do -j1000 at home :-)
season's greetings
HTH
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Wed May 12, 2004 9:50 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=32638
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum