LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-26-2011, 09:28 AM   #1
beyond_help
LQ Newbie
 
Registered: Nov 2006
Distribution: debian
Posts: 6

Rep: Reputation: 1
Debian Live expected uptime


Hi LQ'ers.

I've got a server that I've got running a customized Debian Live from a USB stick.

Hardware:
Supermicro X7SPE-HF-D525 (Atom D525 dual core @1.8GHz)
16GB Mushkin Enhanced USB stick in the on-motherboard USB-A socket
4GB Mushkin Enhanced RAM
3Ware 9650SE-8LPML 8-Port RAID card
14, 750GB Seagate Momentus HDDs (in RAID 6 with 1 spare)

Software:
Syslinux (on FAT32 on USB stick)
Debian Live (Wheezy) kernel: 2.6.32-5-amd64 (using USB-HDD option for libe builder)
Boot args: live config noautologin persistent toram

Services:
Captive portal for Wi-Fi
AMP server
NFS server for Wi-Fi clients
MediaTomb server for PlayStation 3

On the first run, I started to get strange behaviour on the 32nd day. Sorry I didn't log them, but I can remember that it started with: BitTornado (btlaunchmanycurses) crashed, then when I tried to restart it segfaulted; MediaTomb stopped generating thumbnails (using ffmpegthumbnailer) and marking objects as 'played'. I tried restarting MediaTomb, but it segfaulted. I restarted the server.

On this second run, it's on the 51st day and the only issue is that MediaTomb has stopped marking objects as 'played'. Ill try restarting it at some point today.

I should mention that I've added a live-old option to syslinux so that when I generate a new system image, I 'rm -rf live-old && mv live live-old && mv /path/to/new/live live && reboot'. I like to be able to fall back to the working system in case something goes wrong. Downtime is BAD.

So my questions are:

What kind of uptime can I expect from this type of system?

What can I do to increase reliability (without re-doing everything)?

Thank you in advance for your constructive responses.

Cheers!
Randall
 
Old 05-26-2011, 09:47 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
How much free RAM do you have when the issues occur?
Since you are using a live version, all what is saved in the filesystem is stored in RAM. This may cause trouble when you have many temporary files or very large log-files.
 
Old 05-26-2011, 07:44 PM   #3
beyond_help
LQ Newbie
 
Registered: Nov 2006
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 1
Thanks for responding TobySGD.

RAM usage has never exceeded 490MB (of 4GB). I log RAM, load, net, user and connection stats to a database every minute (read paranoid).

I restarted MediaTomb and it's now marking objects as 'played' again. This behaviour may be something with MediaTomb specifically.

I'm still looking for a) what kind of uptime I can expect, and b) ways to improve reliability if anyone has any knowledge of Debian Live (using aufs) systems.

Cheers!
Randall
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
init uptime longer than system uptime? m4rtin Linux - Server 1 09-15-2010 07:45 AM
503box-Live aka Lenny & 3/4 OR Debian-Live on Gas! linus72 Debian 28 11-06-2009 07:20 PM
LFS live CD 6.5 Binutils-2.19.1 make check # of expected failures bucovaina78 Linux From Scratch 2 10-17-2009 02:42 PM
Debian Live CD, with 'live-helper' package xxAlk3XKidXx Debian 0 06-03-2007 03:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration