Pagina 1 di 1
Apt-Get sfrutta eccessivamente il processore
Inviato: martedì 7 dicembre 2010, 12:19
da sickb
Salve a tuti,
come da titolo avvio il pc ed il processo apt-get fa un uso spropositato del processore mandando 1 dei due core al 100%, ho provato a mantenerlo attivo anche per circa 3 ore ma non si termini spontaneamente, l'unica soluzione è killarlo. Innanzi tutto se questo è un problema,altri di voi hanno riscontrato ciò?
ringrazio anticipatamente
Re: Apt-Get sfrutta eccessivamente il processore
Inviato: martedì 7 dicembre 2010, 13:54
da gargantua
L'uso eccessivo di cpu da parte di apt inizia dall'avvio del computer oppure solo dopo che hai fatto installazioni/aggiornamenti?
Re: Apt-Get sfrutta eccessivamente il processore
Inviato: mercoledì 8 dicembre 2010, 11:18
da sickb
Inizia dall'avvio del computer, anche se faccio solo web browsing siverifica questo inconveniente.
Re: Apt-Get sfrutta eccessivamente il processore
Inviato: mercoledì 8 dicembre 2010, 15:47
da gargantua
Prova ad andare in Sistema>>Preferenze>>Applicazioni di avvio e disabilitare "Notifica aggiornamenti", probabile che sia quel demone a provocare l'uso massiccio di cpu per un qualche bug e merita provare. Disabilitando quel demone l'unico inconveniente è che gli aggiornamenti del sistema non ti saranno notificati ma dovrai farli tu da "gestione aggiornamenti".
Re: Apt-Get sfrutta eccessivamente il processore
Inviato: mercoledì 8 dicembre 2010, 16:06
da patel
quale versione hai e come ci sei arrivato ? nuova installazione o aggiornamento di versione ?
Re: Apt-Get sfrutta eccessivamente il processore
Inviato: mercoledì 8 dicembre 2010, 18:01
da sickb
In effetti sono scarse le informazioni date... allora uso la 10.10 con nuova installazione.
Ho disabilitato l'avvio per la notifica di aggiornamenti e in effetti non parte il processore a palla, ho notato anche che le situazioni possibili erano 2:
1- detta prima, dell'utilizzo eccessivo del processore;
2- non so cosa accadeva ma la ricerca degli aggiornamenti produceva questo errore con conseguente comparsa dell'icona di pericolo (triangolino con punto esclamativo al suo interno) rossa, ed il messaggio era che o i repository erano offline (non specifica se uno o + di uno) o vi erano dei problemi nella connessione.
Ora il mio dubbio è che potrebbe essere solo un bug dell'applicazione in quanto sia aggiornamenti che installazioni di software funzionano senza particolari problemi sia da console che da terminale...qualche idea?
Re: Apt-Get sfrutta eccessivamente il processore
Inviato: mercoledì 8 dicembre 2010, 23:56
da gargantua
È probabile che sia un bug di update-notifier che di problemi ne ha avuti sempre parecchi, lancia la query
ubuntu bug update-notifier cpu maverick con google e vedrai parecchi bug segnalati tra cui questo
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/36215. Prova a killare il processo(
killall update-notifier) e a riavviarlo(update-notifier) nella stessa sessione per vedere se il consumo di cpu è sempre eccessivo(
top al terminale) potrebbe trattarsi di un bug legato solo all'avvio del sistema, in questo caso basterebbe lanciare il demone con uno scrip a sistema già avviato. Non mi viene in mente altro .
Re: Apt-Get sfrutta eccessivamente il processore
Inviato: giovedì 9 dicembre 2010, 14:32
da sickb
Si in effetti i bugs ci sono...comunque il problema è un'altro ora in pratica non si riescono ne ad effettuare ne aggiornamenti ne scaricare software, ma sembra che il problema non sia solo mio ma anche di altri utenti che hanno postato in precedenza ed una soluzione non è ben chiara.
Allora per chiarezza riassumo i passi fatti, come prima cosa ho cambiato vari server sia con la scelta del migliore sia completamente a caso francesi tedeschi ecc ecc il risultato è sempre il medesimo ovvero se eseguo sudo apt-get update :
Codice: Seleziona tutto
[Hit http://ubuntu.ictvalleumbra.it maverick Release.gpg
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick/deb-src Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick/deb-src Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick/http://it.archive.ubuntu.com/ubuntu/ Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick/http://it.archive.ubuntu.com/ubuntu/ Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick/main Translation-en
Hit http://ubuntu.ictvalleumbra.it/ubuntu/ maverick/main Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick/maverick Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick/maverick Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick/multiverse Translation-en
Hit http://ubuntu.ictvalleumbra.it/ubuntu/ maverick/multiverse Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick/universe Translation-en
Hit http://ubuntu.ictvalleumbra.it/ubuntu/ maverick/universe Translation-it
Hit http://ubuntu.ictvalleumbra.it maverick-updates Release.gpg
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/deb-src Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/deb-src Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/http://it.archive.ubuntu.com/ubuntu/ Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/http://it.archive.ubuntu.com/ubuntu/ Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/main Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/main Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/maverick-updates Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/maverick-updates Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/multiverse Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/restricted Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/restricted Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/universe Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-updates/universe Translation-it
Hit http://ubuntu.ictvalleumbra.it maverick-backports Release.gpg
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/deb-src Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/deb-src Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/http://it.archive.ubuntu.com/ubuntu Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/http://it.archive.ubuntu.com/ubuntu Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/main Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/main Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/maverick-backports Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/maverick-backports Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/multiverse Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/multiverse Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/restricted Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/restricted Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/universe Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-backports/universe Translation-it
Hit http://ubuntu.ictvalleumbra.it maverick-security Release.gpg
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/deb-src Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/deb-src Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/http://security.ubuntu.com/ubuntu Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/http://security.ubuntu.com/ubuntu Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/main Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/main Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/maverick-security Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/maverick-security Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/multiverse Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/multiverse Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/restricted Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/restricted Translation-it
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/universe Translation-en
Ign http://ubuntu.ictvalleumbra.it/ubuntu/ maverick-security/universe Translation-it
Hit http://ubuntu.ictvalleumbra.it maverick Release
Hit http://ubuntu.ictvalleumbra.it maverick-updates Release
Hit http://ubuntu.ictvalleumbra.it maverick-backports Release
Hit http://ubuntu.ictvalleumbra.it maverick-security Release
Hit http://ubuntu.ictvalleumbra.it maverick/main Sources
Hit http://ubuntu.ictvalleumbra.it maverick/restricted Sources
Hit http://ubuntu.ictvalleumbra.it maverick/universe Sources
Hit http://ubuntu.ictvalleumbra.it maverick-updates/restricted Sources
Hit http://ubuntu.ictvalleumbra.it maverick-security/restricted Sources
Hit http://ubuntu.ictvalleumbra.it maverick-security/universe Sources
W: Failed to fetch http://ubuntu.ictvalleumbra.it/ubuntu/dists/maverick/Release Unable to find expected entry http://it.archive.ubuntu.com/ubuntu//source/Sources in Meta-index file (malformed Release file?)
W: Failed to fetch http://ubuntu.ictvalleumbra.it/ubuntu/dists/maverick-updates/Release Unable to find expected entry http://it.archive.ubuntu.com/ubuntu//source/Sources in Meta-index file (malformed Release file?)
W: Failed to fetch http://ubuntu.ictvalleumbra.it/ubuntu/dists/maverick-backports/Release Unable to find expected entry maverick-backports/source/Sources in Meta-index file (malformed Release file?)
W: Failed to fetch http://ubuntu.ictvalleumbra.it/ubuntu/dists/maverick-security/Release Unable to find expected entry http://security.ubuntu.com/ubuntu/source/Sources in Meta-index file (malformed Release file?)
E: Some index files failed to download, they have been ignored, or old ones used instead.
provando a cambiare server e rieffettuando la procedura:
Codice: Seleziona tutto
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/deb-src Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/deb-src Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick/http://it.archive.ubuntu.com/ubuntu/ Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/http://it.archive.ubuntu.com/ubuntu/ Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Hit http://archive.ubuntu.com/ubuntu/ maverick/main Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick/maverick Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/maverick Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Hit http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Hit http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-it
Hit http://archive.ubuntu.com maverick-updates Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/deb-src Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/deb-src Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/http://it.archive.ubuntu.com/ubuntu/ Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/http://it.archive.ubuntu.com/ubuntu/ Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/maverick-updates Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/maverick-updates Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-it
Hit http://archive.ubuntu.com maverick-backports Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/deb-src Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/deb-src Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/http://it.archive.ubuntu.com/ubuntu Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/http://it.archive.ubuntu.com/ubuntu Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/main Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/maverick-backports Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/maverick-backports Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/multiverse Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/restricted Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/universe Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/universe Translation-it
Hit http://archive.ubuntu.com maverick-security Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/deb-src Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/deb-src Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/http://security.ubuntu.com/ubuntu Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/http://security.ubuntu.com/ubuntu Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/main Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/maverick-security Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/maverick-security Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-it
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-it
Hit http://archive.ubuntu.com maverick Release
Hit http://archive.ubuntu.com maverick-updates Release
Hit http://archive.ubuntu.com maverick-backports Release
Hit http://archive.ubuntu.com maverick-security Release
Hit http://archive.ubuntu.com maverick/main Sources
Hit http://archive.ubuntu.com maverick/restricted Sources
Hit http://archive.ubuntu.com maverick/universe Sources
Hit http://archive.ubuntu.com maverick-updates/restricted Sources
Hit http://archive.ubuntu.com maverick-security/restricted Sources
Hit http://archive.ubuntu.com maverick-security/universe Sources
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick/Release Unable to find expected entry http://it.archive.ubuntu.com/ubuntu//source/Sources in Meta-index file (malformed Release file?)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick-updates/Release Unable to find expected entry http://it.archive.ubuntu.com/ubuntu//source/Sources in Meta-index file (malformed Release file?)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick-backports/Release Unable to find expected entry maverick-backports/source/Sources in Meta-index file (malformed Release file?)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick-security/Release Unable to find expected entry http://security.ubuntu.com/ubuntu/source/Sources in Meta-index file (malformed Release file?)
E: Some index files failed to download, they have been ignored, or old ones used instead.
medesimo risultato, ora escludendo i problemi di connessione del pc ed il fatto che entrambi i server pingano regolarmete, da cosa può dipendere il problema?
la source.list è questa:
Codice: Seleziona tutto
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
deb-src http://archive.ubuntu.com/ubuntu maverick main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu maverick multiverse main
deb-src http://archive.ubuntu.com/ubuntu maverick universe http://it.archive.ubuntu.com/ubuntu/ multiverse deb-src maverick #Added by software-properties
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu maverick-updates main restricted multiverse
deb-src http://archive.ubuntu.com/ubuntu maverick-updates restricted http://it.archive.ubuntu.com/ubuntu/ universe maverick-updates deb-src main multiverse #Added by software-properties
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu maverick universe
deb http://archive.ubuntu.com/ubuntu maverick-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu maverick-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu maverick-backports maverick-backports http://it.archive.ubuntu.com/ubuntu restricted universe deb-src main multiverse #Added by software-properties
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://archive.ubuntu.com/ubuntu maverick-security main restricted multiverse
deb-src http://archive.ubuntu.com/ubuntu maverick-security restricted universe http://security.ubuntu.com/ubuntu maverick-security deb-src main multiverse #Added by software-properties
deb http://archive.ubuntu.com/ubuntu maverick-security universe
deb http://archive.ubuntu.com/ubuntu maverick-backports deb-src http://it.archive.ubuntu.com/ubuntu maverick-backports
deb http://archive.ubuntu.com/ubuntu maverick-updates deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates
deb http://archive.ubuntu.com/ubuntu maverick-security deb-src http://security.ubuntu.com/ubuntu maverick-security
deb http://archive.ubuntu.com/ubuntu maverick deb-src http://it.archive.ubuntu.com/ubuntu/ maverick
Re: Apt-Get sfrutta eccessivamente il processore
Inviato: giovedì 9 dicembre 2010, 16:01
da sickb
Ok, volevo capire da cosa causava il problema, ma nullada fare, quindi ho seguito questa procedura
1- aprire temrinale da //etc/apt e dare il comando:
2- salvare gli indirizzi di repo utili, cancellare e riscrivere il file con i repo settati....
fatto questo tutto appare normale e funzionante. bhà
per il bug del gestore degli aggiornamenti che utilizza spropositatamente il processore si "risolve" (se la si può definire tale) disattivando il controllo e controllare da noi periodicamente la presenza degli stessi.