From: <da...@mi...> - 2001-11-05 12:09:11
|
> ps is your friend. Have a look at the columns WCHAN and STAT, that > should help you see what is wrong. I guess you'll see one of the uml > process waiting on a strange? channel and this will be a good clue. Will try this tomorrow, thanks. Throughout the entire loading process, CPU usage is solid at about 100% (100% according to the virtual system -- even when idle. Since it's a dual CPU system, only 50% usage of parent but splitting load between the two CPUs). > dd if=/dev/zero of=swap bs=1M count=32 ; mkswap swap > linux ubd0=rootfs/root_fs_mandrake_7.1_big ubd1=swap mem=32M What is the default memory size that UML uses if mem is not specified in the arguments? Same with the swap? Maybe this is my problem? If it defaults to say 4MB memory or something, it could explain why RedHat takes forever (swapping out like mad eating up CPU). From my understanding I could just run: linux > It took less than 3 mn to boot. Everything actually appears to start up fine (decent speed) up until the point where it trys to load the network. The things that seem to take the most amount of time are network related (SSHD taking an excessively long time as you can see from the results of a ps command. Below are my results of using ps Af (I didn't get this email till afterward so I didn't get a chance to use 'axlwf' arguments. Might try that tomorrow, but since I have to wait for an hour to get the results, I'll send this for now. Seti@home was not running on the machine for this test run, to ensure that wasn't the problem (32 minute load time). UML Version: user_mode_linux-2.4.12.1um-0 (12 Oct 2001). Thanks, Daniel Hedlund da...@di... #------------------------------------------------------------------------# UID PID PPID C STIME TTY TIME CMD root 1 0 0 Nov02 ? 00:00:13 init [3] root 2 1 0 Nov02 ? 00:00:00 [keventd] root 3 1 0 Nov02 ? 00:14:21 [kswapd] root 4 1 0 Nov02 ? 00:00:06 [kreclaimd] root 5 1 0 Nov02 ? 00:11:21 [bdflush] root 6 1 0 Nov02 ? 00:01:22 [kupdated] root 7 1 0 Nov02 ? 00:00:00 [mdrecoveryd] root 77 1 0 Nov02 ? 00:00:00 [khubd] root 440 1 0 Nov02 ? 00:00:04 syslogd -m 0 root 445 1 0 Nov02 ? 00:00:01 klogd -2 root 826 1 0 Nov02 ? 00:00:00 pure-ftpd (SERVER) root 844 1 0 Nov02 ? 00:00:02 crond xfs 886 1 0 Nov02 ? 00:00:03 xfs -droppriv -daemon root 1146 1 0 Nov02 ? 00:00:00 supervise /var/service/svscan root 1151 1146 0 Nov02 ? 00:00:00 svscan /service root 1153 1151 0 Nov02 ? 00:00:00 supervise qmail root 1154 1151 0 Nov02 ? 00:00:00 supervise log root 1155 1151 0 Nov02 ? 00:00:00 supervise qmail-smtpd root 1156 1151 0 Nov02 ? 00:00:00 supervise log root 1157 1151 0 Nov02 ? 00:00:00 supervise qmail-pop3d root 1158 1151 0 Nov02 ? 00:00:00 supervise log qmaill 1244 1154 0 Nov02 ? 00:00:00 multilog t n10 s1000000 ./main qmails 1245 1153 0 Nov02 ? 00:00:00 qmail-send root 1254 1245 0 Nov02 ? 00:00:00 qmail-lspawn ./Mailbox qmailr 1255 1245 0 Nov02 ? 00:00:00 qmail-rspawn qmailq 1256 1245 0 Nov02 ? 00:00:00 qmail-clean root 1314 1 0 Nov02 tty3 00:00:00 /sbin/mingetty tty3 root 1315 1 0 Nov02 tty4 00:00:00 /sbin/mingetty tty4 root 1316 1 0 Nov02 tty5 00:00:00 /sbin/mingetty tty5 root 1317 1 0 Nov02 tty6 00:00:00 /sbin/mingetty tty6 root 1609 1 0 Nov02 ? 00:00:42 [kreiserfsd] daemon 11063 1 0 Nov02 ? 00:00:00 /usr/sbin/atd root 11075 1 0 Nov02 ? 00:00:00 xinetd -stayalive -reuse -pidfil root 11090 1 0 Nov02 ? 00:00:00 /bin/sh /usr/bin/safe_mysqld --d mysql 11179 11090 0 Nov02 ? 00:00:00 /usr/libexec/mysqld --defaults-f mysql 11223 11179 0 Nov02 ? 00:00:00 /usr/libexec/mysqld --defaults-f mysql 11224 11223 0 Nov02 ? 00:00:00 /usr/libexec/mysqld --defaults-f postgres 11233 1 0 Nov02 ? 00:00:00 /bin/sh /usr/bin/pg_ctl -D /var/ postgres 11237 11233 0 Nov02 ? 00:00:00 /usr/bin/postmaster -i mysql 11239 11223 0 Nov02 ? 00:00:00 /usr/libexec/mysqld --defaults-f root 11256 1 0 Nov02 ? 00:00:00 su - nobody -s /bin/sh -c /usr/s nobody 11258 11256 0 Nov02 ? 00:00:00 /usr/sbin/junkbuster /etc/junkbu root 11358 1 0 Nov02 ? 00:00:00 smbd -D root 11363 1 0 Nov02 ? 00:00:40 nmbd -D root 11376 1 0 Nov02 ? 00:00:00 rhnsd --interval 120 qmaill 11553 1158 0 Nov02 ? 00:00:00 multilog t n10 s1000000 ./main root 11554 1157 0 Nov02 ? 00:00:00 tcpserver -v -c40 -UX -x/var/ser qmaill 11580 1156 0 Nov02 ? 00:00:00 multilog t n10 s1000000 ./main qmaild 11581 1155 0 Nov02 ? 00:00:00 tcpserver -v -c40 -UX -x/var/ser root 17681 1 0 Nov02 tty2 00:00:00 /sbin/mingetty tty2 root 17716 1 0 Nov02 tty1 00:00:00 /sbin/mingetty tty1 root 30355 1 0 06:04 ? 00:00:01 /usr/sbin/sshd root 30377 1 0 06:04 ? 00:00:00 /sbin/mount.smbfs //lawson/read root 31432 1 0 17:10 ? 00:00:00 /usr/sbin/httpd -DHAVE_PROXY -DH apache 31435 31432 0 17:10 ? 00:00:02 /usr/sbin/httpd -DHAVE_PROXY -DH apache 31436 31432 0 17:10 ? 00:00:02 /usr/sbin/httpd -DHAVE_PROXY -DH apache 31437 31432 0 17:10 ? 00:00:02 /usr/sbin/httpd -DHAVE_PROXY -DH apache 31438 31432 0 17:10 ? 00:00:02 /usr/sbin/httpd -DHAVE_PROXY -DH apache 31439 31432 0 17:10 ? 00:00:02 /usr/sbin/httpd -DHAVE_PROXY -DH apache 31440 31432 0 17:10 ? 00:00:02 /usr/sbin/httpd -DHAVE_PROXY -DH root 31898 30355 0 20:29 ? 00:00:00 /usr/sbin/sshd dhedlund 31899 31898 0 20:29 pts/0 00:00:00 -bash dhedlund 32017 31899 11 20:37 pts/0 00:08:38 linux [(tracing thread)] dhedlund 32022 32017 0 20:37 pts/0 00:00:01 linux [(idle thread)] dhedlund 32024 32017 0 20:37 pts/0 00:00:00 linux [(kernel thread)] dhedlund 32025 32017 0 20:37 pts/0 00:00:00 linux [(kernel thread)] dhedlund 32026 32017 0 20:37 pts/0 00:00:00 linux [(kernel thread)] dhedlund 32027 32017 0 20:37 pts/0 00:00:00 linux [(kernel thread)] dhedlund 32028 32017 0 20:37 pts/0 00:00:00 linux [(kernel thread)] dhedlund 32029 1 0 20:37 pts/0 00:00:00 linux [(kernel thread)] dhedlund 32031 1 0 20:37 pts/0 00:00:00 linux [init] dhedlund 32049 1 0 20:37 pts/0 00:00:00 linux [/sbin/devfsd] dhedlund 598 1 0 20:37 pts/0 00:00:01 linux [syslogd] dhedlund 614 1 0 20:37 pts/0 00:00:00 linux [klogd] dhedlund 648 1 0 20:37 pts/0 00:00:00 linux [portmap] dhedlund 866 1 42 20:37 pts/0 00:30:30 linux [identd] dhedlund 868 1 0 20:37 pts/0 00:00:00 linux [identd] dhedlund 1034 1 45 20:38 pts/0 00:32:05 linux [named] dhedlund 1036 1 0 20:38 pts/0 00:00:00 linux [named] dhedlund 1051 1 0 20:38 pts/0 00:00:00 linux [named] dhedlund 1136 1 0 20:45 pts/0 00:00:00 linux [/usr/sbin/sshd] dhedlund 1205 1 0 20:48 pts/0 00:00:00 linux [xinetd] dhedlund 1274 1 0 20:52 pts/0 00:00:00 linux [/usr/sbin/sendmail] dhedlund 1340 1 0 20:53 pts/0 00:00:00 linux [/usr/sbin/httpd] dhedlund 1342 1 0 20:53 pts/0 00:00:00 linux [/usr/sbin/httpd] dhedlund 1344 1 0 20:53 pts/0 00:00:00 linux [/usr/sbin/httpd] dhedlund 1370 1 0 20:54 pts/0 00:00:00 linux [/usr/sbin/httpd] dhedlund 1372 1 0 20:54 pts/0 00:00:00 linux [/usr/sbin/httpd] dhedlund 1374 1 0 20:54 pts/0 00:00:00 linux [/usr/sbin/httpd] dhedlund 1384 1 0 20:54 pts/0 00:00:00 linux [/usr/sbin/httpd] dhedlund 1386 1 0 20:54 pts/0 00:00:00 linux [crond] dhedlund 1388 1 0 20:54 pts/0 00:00:00 linux [/usr/sbin/httpd] dhedlund 1402 1 0 20:54 pts/0 00:00:00 linux [/usr/sbin/httpd] dhedlund 1442 1 0 20:57 pts/0 00:00:00 linux [squid] dhedlund 1450 1 0 20:57 pts/0 00:00:25 linux [(squid)] dhedlund 1456 1 0 20:57 pts/0 00:00:00 linux [(unlinkd)] dhedlund 1611 1 0 21:03 pts/0 00:00:00 linux [xfs] dhedlund 1654 1 0 21:05 pts/0 00:00:00 linux [smbd] dhedlund 1804 1 0 21:09 pts/0 00:00:00 linux [/sbin/mingetty] dhedlund 1806 1 0 21:09 pts/0 00:00:00 linux [/sbin/mingetty] dhedlund 1807 32017 0 21:09 pts/0 00:00:00 xterm -Sp011 -T Virtual Console dhedlund 1810 1 0 21:09 pts/0 00:00:00 linux [/sbin/mingetty] dhedlund 1813 32017 0 21:09 pts/0 00:00:00 xterm -Sp213 -T Virtual Console dhedlund 1828 1 0 21:20 pts/0 00:00:00 linux [/bin/login] dhedlund 1864 1 0 21:48 pts/0 00:00:00 linux [-bash] dhedlund 1919 1 0 21:48 pts/0 00:00:00 linux [-bash] dhedlund 1920 907 0 21:49 pts/2 00:00:00 ps -Af |