Hi!
Yesterday I tried several updates with yast2 Online Update on my SuSE 7.3 Pro Gameserver. Unfortunately the box died everytime because of a Load of 1.63 and later did not react anymore. I switched to fou4s and didn't have any problems with that. Why is Yast2 so CPU-intensive? Why do I have to wait for ages compared to fou4s? On other distributions (debian: apt-get / RedHat: up2date) there are fine console utilities for that purpose, that can be run via cron and don't kick my server, because of too much cpu use.
Here is my /var/log/y2log file from yesterday:
2003-07-01 20:28:02 <1> 44-6(2616) [liby2] genericfrontend.cc(main):96 Launched YaST2 component 'y2bignfat' 2003-07-01 20:28:02 <1> 44-6(2616) [Interpreter] clients/menu.ycp:47 Including YCP file /usr/lib/YaST2/include/ui/common_messages.ycp 2003-07-01 20:28:02 <1> 44-6(2616) [ncurses] NCurses.cc(init):167 +++ 2003-07-01 20:28:02 <1> 44-6(2616) [ncurses] NCurses.cc(init):172 isatty: stdout-yes stderr-yes 2003-07-01 20:28:02 <1> 44-6(2616) [ncurses] NCurses.cc(init):179 mytty: /dev/tty1 2003-07-01 20:28:02 <1> 44-6(2616) [ncurses] NCurses.cc(init):225 NCurses ready: NC - 24 x 80 - colors 8 - pairs 64 2003-07-01 20:28:02 <1> 44-6(2616) [ncurses] NCurses.cc(init):225 NC - rootw 0x806d010 - ( 0, 0)23x79 - {(nil) - (-1,-1)} 2003-07-01 20:28:02 <1> 44-6(2616) [ncurses] NCurses.cc(init):225 NC - title 0x806ce58 - ( 0, 0) 0x79 - {(nil) - (-1,-1)} 2003-07-01 20:28:02 <1> 44-6(2616) [ncurses] Y2NCursesUI.cc(Y2NCursesUI):110 Y2NCursesUI ready 2003-07-01 20:28:08 <1> 44-6(2616) [Interpreter] clients/menu.ycp:286 Calling YCP module tv ([]) 2003-07-01 20:28:08 <1> 44-6(2616) [Interpreter] clients/tv.ycp:27 Including YCP file /usr/lib/YaST2/include/ui/wizard_dialog.ycp 2003-07-01 20:28:08 <1> 44-6(2616) [Interpreter] ui/wizard_dialog.ycp:18 Including YCP file /usr/lib/YaST2/include/ui/common_messages.ycp 2003-07-01 20:28:08 <1> 44-6(2616) [Interpreter] clients/tv.ycp:28 Including YCP file /usr/lib/YaST2/include/require.ycp 2003-07-01 20:28:08 <1> 44-6(2616) [Interpreter] include/require.ycp:18 Including YCP file /usr/lib/YaST2/include/ui/common_messages.ycp 2003-07-01 20:28:08 <1> 44-6(2616) [Interpreter] clients/tv.ycp:30 Including YCP file /usr/lib/YaST2/include/tv/io.ycp 2003-07-01 20:28:08 <1> 44-6(2616) [Interpreter] clients/tv.ycp:31 Including YCP file /usr/lib/YaST2/include/tv/ui.ycp 2003-07-01 20:28:08 <1> 44-6(2616) [Interpreter] tv/ui.ycp:25 Including YCP file /usr/lib/YaST2/include/wizard/sequencer.ycp 2003-07-01 20:28:08 <1> 44-6(2616) [Interpreter] tv/ui.ycp:26 Including YCP file /usr/lib/YaST2/include/ui/wizard_hw.ycp 2003-07-01 20:28:08 <1> 44-6(2616) [Interpreter] tv/ui.ycp:27 Including YCP file /usr/lib/YaST2/include/ui/common_popups.ycp 2003-07-01 20:28:08 <1> 44-6(2616) [Interpreter] ui/common_popups.ycp:18 Including YCP file /usr/lib/YaST2/include/ui/common_messages.ycp 2003-07-01 20:28:09 <1> 44-6(2616) [Interpreter] tv/ui.ycp:28 Including YCP file /usr/lib/YaST2/include/ui/common_messages.ycp 2003-07-01 20:28:09 <1> 44-6(2616) [Interpreter] tv/ui.ycp:29 Including YCP file /usr/lib/YaST2/include/ui/summary.ycp 2003-07-01 20:28:09 <1> 44-6(2616) [Interpreter] tv/ui.ycp:32 Including YCP file /usr/lib/YaST2/include/tv/helps.ycp 2003-07-01 20:28:09 <1> 44-6(2616) [Interpreter] tv/ui.ycp:33 Including YCP file /usr/lib/YaST2/include/tv/structures.ycp 2003-07-01 20:28:14 <1> 44-6(2616) [Interpreter] :0 shellcommand '/bin/rpm -q kwintv' 2003-07-01 20:28:15 <1> 44-6(2616) [Interpreter] :0 shellcommand '/opt/kde2/bin/kv4lsetup' 2003-07-01 20:28:17 <1> 44-6(2616) [ncurses] Y2NCursesUI.cc(Y2NCursesUI):130 Y2NCursesUI shutdown... 2003-07-01 20:28:17 <1> 44-6(2616) [ncurses] NCurses.cc(NCurses):138 NCurses shutdown... 2003-07-01 20:28:17 <1> 44-6(2616) [ncurses] NCurses.cc(NCurses):146 NCurses down 2003-07-01 20:28:17 <1> 44-6(2616) [liby2] genericfrontend.cc(main):348 Finished YaST2 component 'y2bignfat' 2003-07-01 20:28:22 <1> 44-6(2663) [liby2] genericfrontend.cc(main):96 Launched YaST2 component 'y2bignfat' 2003-07-01 20:28:22 <1> 44-6(2663) [Interpreter] clients/menu.ycp:47 Including YCP file /usr/lib/YaST2/include/ui/common_messages.ycp 2003-07-01 20:28:22 <1> 44-6(2663) [ncurses] NCurses.cc(init):167 +++ 2003-07-01 20:28:22 <1> 44-6(2663) [ncurses] NCurses.cc(init):172 isatty: stdout-yes stderr-yes 2003-07-01 20:28:22 <1> 44-6(2663) [ncurses] NCurses.cc(init):179 mytty: /dev/tty1 2003-07-01 20:28:22 <1> 44-6(2663) [ncurses] NCurses.cc(init):225 NCurses ready: NC - 24 x 80 - colors 8 - pairs 64 2003-07-01 20:28:22 <1> 44-6(2663) [ncurses] NCurses.cc(init):225 NC - rootw 0x806d010 - ( 0, 0)23x79 - {(nil) - (-1,-1)} 2003-07-01 20:28:22 <1> 44-6(2663) [ncurses] NCurses.cc(init):225 NC - title 0x806ce58 - ( 0, 0) 0x79 - {(nil) - (-1,-1)} 2003-07-01 20:28:22 <1> 44-6(2663) [ncurses] Y2NCursesUI.cc(Y2NCursesUI):110 Y2NCursesUI ready 2003-07-01 20:28:31 <1> 44-6(2663) [Interpreter] clients/menu.ycp:286 Calling YCP module online_update ([]) 2003-07-01 20:28:32 <1> 44-6(2663) [Interpreter] clients/online_update.ycp:24 Loading YCP module /usr/lib/YaST2/modules/Installation.ycp 2003-07-01 20:28:32 <1> 44-6(2663) [Interpreter] clients/online_update.ycp:28 Including YCP file /usr/lib/YaST2/include/ui/wizard_dialog.ycp 2003-07-01 20:28:32 <1> 44-6(2663) [Interpreter] ui/wizard_dialog.ycp:18 Including YCP file /usr/lib/YaST2/include/ui/common_messages.ycp 2003-07-01 20:28:32 <1> 44-6(2663) [Interpreter] clients/online_update.ycp:29 Including YCP file /usr/lib/YaST2/include/ui/common_popups.ycp 2003-07-01 20:28:32 <1> 44-6(2663) [Interpreter] ui/common_popups.ycp:18 Including YCP file /usr/lib/YaST2/include/ui/common_messages.ycp 2003-07-01 20:28:32 <1> 44-6(2663) [Interpreter] clients/online_update.ycp:30 Including YCP file /usr/lib/YaST2/include/ui/common_functions.ycp 2003-07-01 20:28:32 <1> 44-6(2663) [Interpreter] clients/online_update.ycp:31 Including YCP file /usr/lib/YaST2/include/ui/common_messages.ycp 2003-07-01 20:28:32 <1> 44-6(2663) [Interpreter] clients/online_update.ycp:331 Calling YCP function module /usr/lib/YaST2/clients/online_update_start.ycp 2003-07-01 20:28:32 <1> 44-6(2663) [Interpreter] clients/online_update_start.ycp:32 Including YCP file /usr/lib/YaST2/include/suseservers.ycp 2003-07-01 20:28:32 <1> 44-6(2663) [YCP] clients/online_update_start.ycp:60 YAST2_LOADFTPSERVER = yes 2003-07-01 20:28:32 <1> 44-6(2663) [Interpreter] :0 shellcommand '/bin/cp /etc/suseservers /etc/suseservers.bak' 2003-07-01 20:28:32 <1> 44-6(2663) [Interpreter] :0 shellcommand '/usr/bin/wget -q --output-document=/etc/suseservers --tries=2 --timeout=5 http://www.suse.de/de/support/download/suseservers.txt' 2003-07-01 20:28:33 <1> 44-6(2663) [YCP] clients/online_update_start.ycp:77 command /usr/bin/wget -q --output-document=/etc/suseservers --tries=2 --timeout=5 http://www.suse.de/de/support/download/suseservers.txt ok 2003-07-01 20:28:33 <1> 44-6(2663) [Interpreter] :0 shellcommand '/bin/rm /etc/suseservers.bak' 2003-07-01 20:28:33 <1> 44-6(2663) [YCP] clients/online_update_start.ycp:101 FTP server: ftp.leo.org, directory: /pub/comp/os/unix/linux/suse/suse 2003-07-01 20:28:54 <1> 44-6(2663) [Interpreter] clients/online_update.ycp:331 Calling YCP function module /usr/lib/YaST2/clients/online_update_load.ycp 2003-07-01 20:28:54 <2> 44-6(2665) [ui-layout] YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #1 (YSplit) below its nice size of 122 to 78 - check the layout! 2003-07-01 20:28:54 <2> 44-6(2665) [ui-layout] YSplit.cc(calcPrimaryGeometry):350 Resizing child widget #2 (YSplit) below its nice size of 84 to 53 - check the layout! 2003-07-01 20:28:54 <2> 44-6(2665) [ui-layout] YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #2 (YAlignment) below its nice size of 84 to 53 - check the layout! 2003-07-01 20:28:54 <2> 44-6(2665) [ui-layout] YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #1 (YSplit) below its nice size of 84 to 53 - check the layout! 2003-07-01 20:28:54 <2> 44-6(2665) [ui-layout] YSplit.cc(calcPrimaryGeometry):350 Resizing child widget #0 (YSplit) below its nice size of 42 to 26 - check the layout! 2003-07-01 20:28:54 <2> 44-6(2665) [ui-layout] YSplit.cc(calcPrimaryGeometry):350 Resizing child widget #1 (YSplit) below its nice size of 42 to 26 - check the layout! 2003-07-01 20:28:54 <2> 44-6(2665) [ui-layout] YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #1 (YAlignment) below its nice size of 42 to 26 - check the layout! 2003-07-01 20:28:54 <2> 44-6(2665) [ui-layout] YSplit.cc(calcSecondaryGeometry):521 Resizing child widget #1 (YAlignment) below its nice size of 42 to 26 - check the layout! 2003-07-01 20:28:56 <2> 44-6(2663) [yast2-core-pkginfo] ConfigFile.cc(readFile):114 opening : /info 2003-07-01 20:28:56 <2> 44-6(2663) [Interpreter] :0 Execute (.bash, ...) without full path ! 2003-07-01 20:28:56 <1> 44-6(2663) [Interpreter] :0 shellcommand 'rm -rf /var/lib/YaST/patches/i386/update/7.3/patches/*.new' 2003-07-01 20:28:56 <2> 44-6(2663) [Interpreter] :0 Execute (.bash, ...) without full path ! 2003-07-01 20:28:56 <1> 44-6(2663) [Interpreter] :0 shellcommand 'rm -rf /var/lib/YaST/patches/i386/update/7.3/patches/*.error'
Philippe
On Jul 2, Philippe Vogel filiaap@freenet.de wrote:
Yesterday I tried several updates with yast2 Online Update on my SuSE 7.3 Pro Gameserver. Unfortunately the box died everytime because of a Load of 1.63 and later did not react anymore. I switched to fou4s and didn't have any problems with that. Why is Yast2 so CPU-intensive?
I've asked this question several times, and never got an appropriate answer. That's the reason why I wrote fou4s, and after more than one year YOU has only changed very slowly (YOU on 8.2 is 'usable', but maybe only because 8.2 doesn't run very well on old and outdated machines??).
Markus PS: latest fou4s beta which came out today is even faster than previous versions of fou4s :) - http://fou4s.gaugusch.at/download.shtml
Markus Gaugusch wrote:
On Jul 2, Philippe Vogel filiaap@freenet.de wrote:
Yesterday I tried several updates with yast2 Online Update on my SuSE 7.3 Pro Gameserver. Unfortunately the box died everytime because of a Load of 1.63 and later did not react anymore. I switched to fou4s and didn't have any problems with that. Why is Yast2 so CPU-intensive?
I've asked this question several times, and never got an appropriate answer.
YOU versions prior to SuSE 8.2 download every single patch description when you run it (even though you may have most of them on disk already.) That is why they are so slow. I believe they use rsync to update the patch descs. on 8.2.
I don't recall high loads when I use it on machines with 7.3, you may just have a slow machine. Try doing the update in the text console.
Am Don, 2003-07-03 um 08.07 schrieb Rafael E. Herrera:
YOU versions prior to SuSE 8.2 download every single patch description when you run it (even though you may have most of them on disk already.) That is why they are so slow.
Yeah, and 7.3 seems to store them in RAM and using 400MB RAM makes YOU slow on machines with less than half a gig RAM. I`ve never seen that behavior with SuSE 7.2 or >=8.0 and we`re running 7.2 Online Updates on P133 with 64MB RAM.
Sven
YOU versions prior to SuSE 8.2 download every single patch description when you run it (even though you may have most of them on disk already.) That is why they are so slow.
Yeah, and 7.3 seems to store them in RAM and using 400MB RAM makes YOU slow on machines with less than half a gig RAM. I`ve never seen that behavior with SuSE 7.2 or >=8.0 and we`re running 7.2 Online Updates on P133 with 64MB RAM.
Sven
Yes ideed, the Server is a PII-350/256 MB RAM and the load comes from intensive swap use. As read in the mail from Rafael E. Herrera my box is not to slow, but does not support >256 MB RAM! I tried YOU from console and via SSH and both times in several tests it crashed my server (who runs his/her server anyway under X?). After this damn situation I switched to fou4s, until it works better in the new version and fits my needs better, than YOU!
I saw machines with P1-200/128MB running faster under Linux, than under any other OS (because of my special runlevel edit ;-) ).
Is it possible to update Yast2 on older machines, or is it better to upgrade the distribution. The last step would be a long time duration, unless most things on my box doesn't have nothing to do with the original distribution (kernel, rightsmanagement, chattr, own compiled stuff ...).
A apt-get or an up2date of Debian or Red Hat makes the life much more easy. This should be shipped with YOU a console-version (text only, no ui-ncurses-2.x.y version). For example: "yast --console --update" would be a fine solution for cron-jobs, compared to any distribution I tested (compared to fou4s, thats not supported by SuSE but a fine thing)!
Philippe
P.S.: A big greeting to SuSE for the new You in 8.2 it really works faster and is more reliable, than the old version. P.S.S.: A second big greeting to SuSE for the new and better kernel (now my promise LVM works without the special promise kernel and different other stuff -> AMD, that works better).