[Bug 209424] New: processing packages file needs a huge amount of memory, making install on 256mb systems impossible
https://bugzilla.novell.com/show_bug.cgi?id=209424 Summary: processing packages file needs a huge amount of memory, making install on 256mb systems impossible Product: openSUSE 10.2 Version: Alpha 4 plus Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: yast2-maintainers@suse.de ReportedBy: olh@novell.com QAContact: jsrain@novell.com I tried the current factory tree from nfs://dist. yast downloads all these metadata files, at some point it will be busy with 'processing packages file'. This leeds to OOM and YaST2.call and the Xorg progrocess get killed by the kernel. I'm sure this worked better a few weeks ago. After enabling 512MB swap I get a 154MB/107MB/24MB y2base process and 100MB in swap: 3094 root 18 0 154m 107m 24m S 0.0 43.2 1:41.84 y2base Tasks: 41 total, 1 running, 40 sleeping, 0 stopped, 0 zombie Cpu(s): 1.6%us, 0.0%sy, 0.0%ni, 98.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 254692k total, 242608k used, 12084k free, 2776k buffers Swap: 514040k total, 104740k used, 409300k free, 88148k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3094 root 18 0 154m 107m 24m S 0.0 43.2 1:41.84 y2base 2939 root 15 0 30736 10m 3572 S 0.0 4.1 0:05.76 Xorg 2951 root 20 0 11240 4476 3376 S 0.0 1.8 0:02.72 fvwm2 1 root 18 0 5984 3244 2172 S 0.0 1.3 0:15.32 init 2282 root 15 0 8200 3052 2336 S 0.0 1.2 0:00.72 sshd 1204 root 25 0 5728 2012 1648 S 0.0 0.8 0:00.05 bash 1207 root 25 0 5728 2012 1648 S 0.0 0.8 0:00.03 bash 1210 root 25 0 5728 2012 1648 S 0.0 0.8 0:00.01 bash 2384 root 15 0 3960 1988 1608 S 0.0 0.8 0:00.04 bash 2373 root 25 0 5856 1940 1512 S 0.0 0.8 0:00.38 YaST2.call 1300 root 25 0 5724 1848 1500 S 0.0 0.7 0:00.45 yast 3139 root 21 0 5724 1716 1448 S 0.0 0.7 0:00.02 ag_fvwm2_setlan 879 root 25 0 3604 1676 1388 S 0.0 0.7 0:00.01 lsh 1213 root 25 0 5984 1620 548 S 0.0 0.6 0:00.00 init 1214 root 18 0 3828 1612 1352 S 0.0 0.6 0:00.06 inst_setup 1290 root 18 0 7744 1444 1000 S 0.0 0.6 0:00.55 sshd 2950 root 15 0 3004 1320 1064 R 1.6 0.5 0:05.19 top 1223 messageb 17 0 5236 1052 824 S 0.0 0.4 0:00.02 dbus-daemon 1253 root 24 0 2124 704 376 S 0.0 0.3 0:00.01 klogd 386 root 12 -4 2168 680 492 S 0.0 0.3 0:00.56 udevd 1248 root 18 0 1880 484 404 S 0.0 0.2 0:00.03 syslogd.bin 3048 root 15 0 1852 468 404 S 0.0 0.2 0:00.00 FvwmCommandS 1182 nobody 18 0 2036 456 360 S 0.0 0.2 0:00.00 portmap 1180 root 15 0 1884 236 156 S 0.0 0.1 0:00.00 dhcpcd -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209424 ------- Comment #1 from olh@novell.com 2006-10-02 08:01 MST ------- Created an attachment (id=100040) --> (https://bugzilla.novell.com/attachment.cgi?id=100040&action=view) bug209424.tar.bz2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209424 ------- Comment #2 from olh@novell.com 2006-10-02 08:08 MST ------- find /var/ -xdev -type f -print0 | xargs -0 ls -Sharl This shows that all files get copied into local RAM. But they are available via the local filesystem, so nfs,smb,harddisk and CD install do not need to copy them because they are always reachable. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209424 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |schubi@novell.com ------- Comment #3 from fehr@novell.com 2006-10-04 05:25 MST ------- Reassigned to packagers. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209424 schubi@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|schubi@novell.com |dmacvicar@novell.com ------- Comment #4 from schubi@novell.com 2006-10-17 03:05 MST ------- Duncan, can you help here ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209424 dmacvicar@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |ma@novell.com ------- Comment #5 from dmacvicar@novell.com 2007-02-07 10:15 MST ------- Is a CD, nfs, smb always reachable? no they are not. The problem here is that we create a local cache always, and verify its consistency. Michael, how can we avoid doing this? A source doesnt need to be cached, but we cache them for reboot and 2nd stage I guess. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209424 ma@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|ma@novell.com | ------- Comment #6 from ma@novell.com 2007-02-08 10:12 MST ------- We could indeed think about running directly from nfs/smb/dir. CD must be changeable, so we need the copy. YaST had to make sure that all these media stay mounted until inst_rpmcopy copied the data to the system. Ask Stano. I don't know whether a 10.2 fix is needed. And for 10.3. it might be completely different if we get the DB. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209424 ma@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |visnov@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209424 visnov@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|visnov@novell.com | ------- Comment #7 from visnov@novell.com 2007-02-13 07:32 MST ------- I don't see a way to fix 10.2. Please, look into this for 10.3. I believe a configurable behavior would be the best. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209424#c8 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dmacvicar@novell.com |ma@novell.com Component|Installation |libzypp Product|openSUSE 10.2 |openSUSE 10.3 Version|Alpha 4 plus |Final --- Comment #8 from Duncan Mac-Vicar <dmacvicar@novell.com> 2007-10-03 09:51:13 MST --- Moving to 10.3. Here much less memmory is used at parsing, but metadata is also copied. I don't see a feasible way to fix this. May be allowing the downloaders to create symlinks? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=209424 User thnielsen@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=209424#c9 Thomas Nielsen <thnielsen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thnielsen@novell.com --- Comment #9 from Thomas Nielsen <thnielsen@novell.com> 2008-05-20 06:38:56 MST --- what about detecting if system memory is low, and if so suggest to installer to reboot after partitioning to benefit from swap partition. Yellow dog does this on Playstation 3, and it makes a huge difference. Try f.ex to install OpenSUSE 11 on PS3 from no existing partitions - then try again to install OpenSUES 11 when a swap partition exists. Makes the installer blast by. About copying the files as above - not a big difference, but the point is that the install will be done quicker - ALSO for the file handling part - of which Olaf is concerned -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=209424 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=209424#c10 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #10 from Michael Andres <ma@novell.com> 2008-07-10 03:13:43 MDT --- I think this can be closed with 11.0. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=209424 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com