Bug 26249 - univention-repository-update sehr langsam durch errata updates
univention-repository-update sehr langsam durch errata updates
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 3.0
All Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-24 20:42 CET by Philipp Hahn
Modified: 2018-04-14 13:51 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): UCS Performance
Max CVSS v3 score:
hahn: Patch_Available+


Attachments
mirror at once (1.37 KB, patch)
2012-02-24 20:42 CET, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2012-02-24 20:42:19 CET
Created attachment 4224 [details]
mirror at once

univention-repository-update iteriert derzeit von der aktuellen Version des
Depots bis zur derzeit höchsten verfügbaren Version.
Für _jede_ Iteration prüft der Updater _alle_ vorherigen Releases, inklusive
alle Major-, Minor-, Patchlevel-, Security- und Errata-Updates. Je nach Anzahl
der Architekturen und (Un)Maintaines Einstellungen kommen hier sehr viele
HTTP-(HEAD)-Abfragen zustande.
Für jedes Release wird anschließend apt-mirror aufgerufen, das wiederum für
alle diese Verzeichnisse HTTP-GET-Anfragen auf die Packages- und .deb-Dateien
durchführt. Dazu werden viele wget,gunzip,gzip,sh-Prozesse geforkt.

Selbst bei abgeschaltetem apt-mirror (ersetzt durch einen Link auf /bin/true)
dauerte der ucs-test/09_updater/83mirror-many bei 99 major + 99 minor + 99
patchlevel + 1000 errata von "localhost" über 2½ Stunden und erzeugte laut
/var/log/apache/access.log 342.180.352 HTTP-Anfragen.

/univention-repository/
/univention-repository/3.0/
/univention-repository/3.0/maintained/3.0-0/
/univention-repository/3.0/maintained/3.0-0/all/Packages.gz
/univention-repository/3.0/maintained/3.0-0/i386/Packages.gz
/univention-repository/3.0/unmaintained/3.0-0/
 /univention-repository/3.0/maintained/3.0-1—99/...
/univention-repository/3.1/
/univention-repository/3.1/maintained/3.1-0/
/univention-repository/3.1/maintained/3.1-0/all/Packages.gz
/univention-repository/3.1/maintained/3.1-0/i386/Packages.gz
/univention-repository/3.1/unmaintained/3.1-0/
/univention-repository/3.1/maintained/3.1-1/
/univention-repository/3.1/unmaintained/3.1-1/
 /univention-repository/3.2—99/...
/univention-repository/4.0/
/univention-repository/4.0/maintained/4.0-0/
/univention-repository/4.0/maintained/4.0-0/all/Packages.gz
/univention-repository/4.0/maintained/4.0-0/i386/Packages.gz
/univention-repository/4.0/unmaintained/4.0-0/
/univention-repository/4.0/maintained/4.0-1/
/univention-repository/4.0/unmaintained/4.0-1/
/univention-repository/4.1/
 /univention-repository/5—99/...
/univention-repository/3.0/
/univention-repository/3.0/maintained/sec1/
/univention-repository/3.0/unmaintained/sec1/
 /univention-repository/3.1—99/...
/univention-repository/4.0/
/univention-repository/4.0/maintained/sec1/
/univention-repository/4.0/unmaintained/sec1/
/univention-repository/4.1/
 /univention-repository/5—99.0/
/univention-repository/3.0/
/univention-repository/3.0/maintained/errata1/
/univention-repository/3.0/maintained/errata1/all/Packages.gz
/univention-repository/3.0/maintained/errata1/i386/Packages.gz
 /univention-repository/3.0/maintained/errata2—999/...
/univention-repository/3.1/
/univention-repository/3.1/maintained/errata1/
 /univention-repository/3.2—99/...
/univention-repository/4.0/
/univention-repository/4.0/maintained/errata1/
/univention-repository/4.1/
 /univention-repository/5—99.0/...

Hier wäre zu klären, ob univention-repository-update wirklich iterativ arbeiten
muß oder ob nicht der angehängte Patch die Situation entschärft, in dem das
letzte Release ermittelt wird und dann alle Releases bis dahin en-block
gespiegelt werden.
Comment 1 Stefan Gohmann univentionstaff 2017-06-16 20:39:38 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 2 Stefan Gohmann univentionstaff 2017-08-08 07:07:58 CEST
This issue has been filed against UCS 3.0.

UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.