View previous topic :: View next topic |
Author |
Message |
RikBlankestijn Guru
Joined: 01 May 2003 Posts: 315 Location: Arnhem the Netherlands
|
Posted: Sun Dec 28, 2003 5:19 pm Post subject: multiple instances of emerge, is that ok? |
|
|
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 |
|
|
markfl Apprentice
Joined: 10 Apr 2003 Posts: 240 Location: Kent, UK
|
Posted: Sun Dec 28, 2003 10:28 pm Post subject: |
|
|
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 |
|
|
jsinger n00b
Joined: 24 Oct 2003 Posts: 16
|
Posted: Mon Dec 29, 2003 4:23 pm Post subject: |
|
|
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 |
|
|
irf2003 Veteran
Joined: 10 Sep 2003 Posts: 1078
|
Posted: Mon Dec 29, 2003 6:35 pm Post subject: |
|
|
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
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:-
and do emerge openoffice
PS don't do -j1000 at home :-)
season's greetings
HTH |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|