Installs get stuck...

warriorcookie
Posts: 10
Joined: Wed Sep 01, 2010 10:32 pm

Installs get stuck...

Postby warriorcookie » Wed Sep 01, 2010 10:45 pm

Well, I don't think I've earned any title other than noob, so here it goes.

Been running amahi for a couple months now. It's on a headless machine. Most things have been working great.

Amahitunes has been a bit of a sore spot for me. Usually I'll get it working, then sometimes for whatever reason the amahitunes server stops and will not restart. deleting the pid file usually works. Sometimes I have to uninstall and reinstall.

Well, this time I uninstalled it, reinstalled it, but the install gets stuck on "installing package dependancies." The server slows down, even http requests are slow. I let it sit for an hour and decide to reboot. Well, even clicking the settings tab takes forever to load. Eventually I just ssh and init 6 to reboot.

Tried a couple times and always same result.

So now I try with dlna and same thing.

if I ssh in and do "top" this is what I have after roughly an hour...

Code: Select all

top - 23:39:45 up 11:08, 1 user, load average: 6.54, 6.42, 5.59 Tasks: 202 total, 8 running, 193 sleeping, 0 stopped, 1 zombie Cpu(s): 4.3%us, 94.1%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 1.7%si, 0.0%st Mem: 2509232k total, 2489772k used, 19460k free, 20428k buffers Swap: 4620280k total, 0k used, 4620280k free, 1695944k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 8959 apache 20 0 174m 75m 3240 R 16.2 3.1 4:55.88 ruby 9051 apache 20 0 160m 64m 2012 R 16.2 2.6 4:51.86 ruby 9038 apache 20 0 160m 64m 2012 R 15.9 2.6 4:54.33 ruby 9041 apache 20 0 160m 64m 2012 R 15.6 2.6 4:36.44 ruby 9048 apache 20 0 160m 64m 2012 R 15.6 2.6 4:42.56 ruby 9045 apache 20 0 160m 64m 2012 R 15.3 2.6 4:47.68 ruby 1986 root 20 0 3816 100 36 R 4.3 0.0 113:31.68 smfpd 2058 transmis 20 0 312m 10m 3752 S 0.7 0.4 5:48.91 transmission-da 1661 mysql 20 0 680m 21m 6184 S 0.3 0.9 0:38.37 mysqld 9228 matt 20 0 14908 1224 864 R 0.3 0.0 0:04.58 top

Everynow and then a few processes pop up with the command name yum. They will be there for a few seconds then gone again. That makes me think it's attempting to download the dependencies...


So, what log files do I need to post? Any ideas?
Last edited by warriorcookie on Thu Sep 02, 2010 7:18 am, edited 2 times in total.

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Installs get stuck...

Postby moredruid » Wed Sep 01, 2010 11:00 pm

first I'd run "killall ruby" to make your system more responsive again (it's ruby that's hogging your CPU resources), then sort out what's going on further.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

warriorcookie
Posts: 10
Joined: Wed Sep 01, 2010 10:32 pm

Re: Installs get stuck...

Postby warriorcookie » Thu Sep 02, 2010 7:05 am

tried it. I have to run the command several times, but ruby comes back withing a couple seconds, and couple more seconds and there is 6 instances of ruby. killall ruby again, and they all come back.


Now what exactly is ruby. It is never there until I do an install. When I do an install, several instances pop up and it just bogs everything down. I've been able to install several things in the past...

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Installs get stuck...

Postby moredruid » Thu Sep 02, 2010 7:16 am

Ruby is a programming language; Amahi is based on Ruby on Rails (also known as RoR), so it's definately needed.

My fresh install had nothing of those issues, but maybe this helps:
install amahi (either expresscd or f12 with amahi); reboot; update (yum -y update); reboot into new kernel; then add your apps.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

warriorcookie
Posts: 10
Joined: Wed Sep 01, 2010 10:32 pm

Re: Installs get stuck...

Postby warriorcookie » Thu Sep 02, 2010 9:34 am

well... I'd like to avoid doing a fresh install if I can.

I tried updating yum with yum -y update.

It goes through and very quickly gets stuck on this:

Code: Select all

updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB updates/filelists_db | 95 kB

just keeps going and going and going....

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Installs get stuck...

Postby moredruid » Thu Sep 02, 2010 9:46 am

hmmm can you run the following command: "dmesg | tail -n 40" and post the output?
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

warriorcookie
Posts: 10
Joined: Wed Sep 01, 2010 10:32 pm

Re: Installs get stuck...

Postby warriorcookie » Thu Sep 02, 2010 10:00 am

Code: Select all

♥[root@serv matt]# dmesg | tail -n 40 EXT4-fs: file extents enabled EXT4-fs: mballoc enabled EXT4-fs (md1): mounted filesystem with ordered data mode EXT4-fs (sda1): barriers enabled kjournald2 starting: pid 878, dev sda1:8, commit interval 5 seconds EXT4-fs (sda1): internal journal on sda1:8 EXT4-fs (sda1): delayed allocation enabled EXT4-fs: file extents enabled EXT4-fs: mballoc enabled EXT4-fs (sda1): mounted filesystem with ordered data mode EXT4-fs (sdb1): barriers enabled kjournald2 starting: pid 879, dev sdb1:8, commit interval 5 seconds EXT4-fs (sdb1): internal journal on sdb1:8 EXT4-fs (sdb1): delayed allocation enabled EXT4-fs: file extents enabled EXT4-fs: mballoc enabled EXT4-fs (sdb1): mounted filesystem with ordered data mode EXT4-fs (sde1): barriers enabled kjournald2 starting: pid 880, dev sde1:8, commit interval 5 seconds EXT4-fs (sde1): internal journal on sde1:8 EXT4-fs (sde1): delayed allocation enabled EXT4-fs: file extents enabled EXT4-fs: mballoc enabled EXT4-fs (sde1): mounted filesystem with ordered data mode Adding 4620280k swap on /dev/sdc1. Priority:-1 extents:1 across:4620280k powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 3700+ processors (1 cpu cores) (version 2.20.00) powernow-k8: 0 : fid 0xe (2200 MHz), vid 0x8 powernow-k8: 1 : fid 0xc (2000 MHz), vid 0xa powernow-k8: 2 : fid 0xa (1800 MHz), vid 0xc powernow-k8: 3 : fid 0x2 (1000 MHz), vid 0x12 Clocksource tsc unstable (delta = -82290102 ns) NET: Registered protocol family 10 lo: Disabled Privacy Extensions ip6_tables: (C) 2000-2006 Netfilter Core Team RPC: Registered udp transport module. RPC: Registered tcp transport module. tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> tun0: Disabled Privacy Extensions eth0: no IPv6 routers present

Who is online

Users browsing this forum: No registered users and 19 guests