9th Mar, 2015, 04:24 PM
Hi,
I have a problem with xbian freezing on out of memory, I got working rtorrent + sickrage, but when it's trying to download 2+ files - my raspberry keeps freezing on RPI1 like here:
http://forum.xbian.org/printthread.php?tid=2693
on RPI2 without saying anything.
I suspected it may be out of memory casue i installed syslog and here's output before freeze:
Then it's freeze.
I suspect it may be because my swap is really small:
I'm running it from usb harddrive, here's my cmdline.txt
Best wishes
koper89
I have a problem with xbian freezing on out of memory, I got working rtorrent + sickrage, but when it's trying to download 2+ files - my raspberry keeps freezing on RPI1 like here:
http://forum.xbian.org/printthread.php?tid=2693
on RPI2 without saying anything.
I suspected it may be out of memory casue i installed syslog and here's output before freeze:
Terminal
Mar 7 15:23:10 xbian kernel: <30>[ 24.876932] udevd[1114]: starting version 175
Mar 7 15:23:10 xbian kernel: [ 25.335103] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
Mar 7 15:23:10 xbian kernel: [ 25.335606] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x3f204000 (irq 80)
Mar 7 15:23:10 xbian kernel: [ 25.400182] bcm2708_i2c_init_pinmode(1,2)
Mar 7 15:23:10 xbian kernel: [ 25.400203] bcm2708_i2c_init_pinmode(1,3)
Mar 7 15:23:10 xbian kernel: [ 25.400711] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x3f804000 (irq 79) (baudrate 100000)
Mar 7 15:23:10 xbian kernel: [ 25.572035] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Mar 7 15:23:10 xbian kernel: [ 25.807001] pcm512x 1-004d: Failed to reset device: -5
Mar 7 15:23:10 xbian kernel: [ 25.807049] pcm512x: probe of 1-004d failed with error -5
Mar 7 15:23:10 xbian kernel: [ 25.807197] pcm512x 1-004c: Failed to reset device: -5
Mar 7 15:23:10 xbian kernel: [ 25.807226] pcm512x: probe of 1-004c failed with error -5
Mar 7 15:23:10 xbian kernel: <12>[ 31.875105] init: failsafe main process (512) killed by TERM signal
Mar 7 15:23:10 xbian kernel: <12>[ 35.713325] init: wait-for-state (xbmcxbmc-loaded) main process (1578) killed by TERM signal
Mar 7 15:23:10 xbian kernel: <12>[ 42.803300] init: xbmc-failed-start main process (930) killed by TERM signal
Mar 7 15:23:10 xbian kernel: <12>[ 42.829024] init: wait-for-state (zram-swapxbmc-done) main process (1275) killed by TERM signal
Mar 7 15:23:10 xbian kernel: [ 43.100164] Adding 84988k swap on /dev/mmcblk0p3. Priority:0 extents:1 across:84988k SSFS
Mar 7 15:23:10 xbian kernel: <12>[ 48.414153] init: rtorrent main process (2261) terminated with status 255
Mar 7 15:23:10 xbian kernel: <12>[ 48.414349] init: rtorrent main process ended, respawning
Mar 7 15:23:10 xbian kernel: <12>[ 48.505727] init: rtorrent main process (2350) terminated with status 255
Mar 7 15:23:10 xbian kernel: <12>[ 48.505895] init: rtorrent main process ended, respawning
Mar 7 15:23:10 xbian kernel: <12>[ 48.595088] init: rtorrent main process (2374) terminated with status 255
Mar 7 15:23:10 xbian kernel: <12>[ 48.595306] init: rtorrent respawning too fast, stopped
Mar 7 15:23:10 xbian kernel: [ 25.335103] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
Mar 7 15:23:10 xbian kernel: [ 25.335606] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x3f204000 (irq 80)
Mar 7 15:23:10 xbian kernel: [ 25.400182] bcm2708_i2c_init_pinmode(1,2)
Mar 7 15:23:10 xbian kernel: [ 25.400203] bcm2708_i2c_init_pinmode(1,3)
Mar 7 15:23:10 xbian kernel: [ 25.400711] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x3f804000 (irq 79) (baudrate 100000)
Mar 7 15:23:10 xbian kernel: [ 25.572035] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Mar 7 15:23:10 xbian kernel: [ 25.807001] pcm512x 1-004d: Failed to reset device: -5
Mar 7 15:23:10 xbian kernel: [ 25.807049] pcm512x: probe of 1-004d failed with error -5
Mar 7 15:23:10 xbian kernel: [ 25.807197] pcm512x 1-004c: Failed to reset device: -5
Mar 7 15:23:10 xbian kernel: [ 25.807226] pcm512x: probe of 1-004c failed with error -5
Mar 7 15:23:10 xbian kernel: <12>[ 31.875105] init: failsafe main process (512) killed by TERM signal
Mar 7 15:23:10 xbian kernel: <12>[ 35.713325] init: wait-for-state (xbmcxbmc-loaded) main process (1578) killed by TERM signal
Mar 7 15:23:10 xbian kernel: <12>[ 42.803300] init: xbmc-failed-start main process (930) killed by TERM signal
Mar 7 15:23:10 xbian kernel: <12>[ 42.829024] init: wait-for-state (zram-swapxbmc-done) main process (1275) killed by TERM signal
Mar 7 15:23:10 xbian kernel: [ 43.100164] Adding 84988k swap on /dev/mmcblk0p3. Priority:0 extents:1 across:84988k SSFS
Mar 7 15:23:10 xbian kernel: <12>[ 48.414153] init: rtorrent main process (2261) terminated with status 255
Mar 7 15:23:10 xbian kernel: <12>[ 48.414349] init: rtorrent main process ended, respawning
Mar 7 15:23:10 xbian kernel: <12>[ 48.505727] init: rtorrent main process (2350) terminated with status 255
Mar 7 15:23:10 xbian kernel: <12>[ 48.505895] init: rtorrent main process ended, respawning
Mar 7 15:23:10 xbian kernel: <12>[ 48.595088] init: rtorrent main process (2374) terminated with status 255
Mar 7 15:23:10 xbian kernel: <12>[ 48.595306] init: rtorrent respawning too fast, stopped
I suspect it may be because my swap is really small:
Terminal
root@xbian /var/log # free -m
total used free shared buffers cached
Mem: 738 243 494 0 2 144
-/+ buffers/cache: 97 640
Swap: 82 0 82
total used free shared buffers cached
Mem: 738 243 494 0 2 144
-/+ buffers/cache: 97 640
Swap: 82 0 82
Terminal
root@xbian /var/log # swapon -s
Filename Type Size Used Priority
/dev/mmcblk0p3 partition 84988 0 0
Filename Type Size Used Priority
/dev/mmcblk0p3 partition 84988 0 0
I'm running it from usb harddrive, here's my cmdline.txt
Terminal
telnet zswap.enabled=1 zswap.compressor=lz4 partswap sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=LABEL=xbian-copy rootflags=subvol=root/@,thread_pool=2,autodefrag,compress=lz4,commit=120 rootfstype=btrfs rootwait smsc95xx.turbo_mode=N logo.nologo quiet noswap loglevel=0 mod_scsi.scan=sync partswap startevent=mountall splash nohdparm --startup-event mountall
Best wishes
koper89