ts-7000
[Top] [All Lists]

Re: [ts-7000] TS-7260 shutdown duration

To:
Subject: Re: [ts-7000] TS-7260 shutdown duration
From: Jim Jackson <>
Date: Thu, 12 May 2011 19:08:08 +0100 (BST)


On Thu, 12 May 2011, Don Tucker wrote:

> Well, after timing each of the steps at shutdown, most steps take a 
> second or less.  Shutting down apache only takes 2-3 seconds, so I don't 
> really buy much from turning that daemon off.  The big time sinks are (1) 
> stopping rsyslogd (~14 seconds), 

Do you need it? Do you need the syslog messages? It may be luxery you can 
do without. Unless I need it for debugging during development I think use 
of syslogd with flash memory is something best avoided.

> (2) unmounting the local file systems (~11 seconds),
> and broadcasting halt to all processes (~5 seconds).  
> Unfortunately, it doesn't seem like a good idea to do away with any of 
> those steps.
> 
> Don
> 
> On 5/11/2011 3:43 PM, Don Tucker wrote:
> > Thanks, everyone. I know I can do away with apache, but I don't really know
> > what all of the other daemons are doing. I guess it's time to learn. I know
> > I need sshd and dhcpd, and I figured that syslogd was probably a good idea.
> > I had also assumed that crond, and inetd were probably required. That
> > doesn't leave much else to turn off, but I'll look into it more. I
> > appreciate all of the suggestions. I know I could just cycle power or force
> > a halt, but I don't want to end up with file system corruption, so shutdown
> > seems to be the most graceful way to do it. Alas, a minute can be a long
> > time for a user in the field to wait.
> > 
> > Don
> > On 5/11/2011 3:23 AM, Jim Jackson wrote:
> > > 
> > > 
> > > 
> > > On Tue, 10 May 2011, Don Tucker wrote:
> > > 
> > > > My TS-7260 takes about a minute to shut down (after a "shutdown -h
> > > now"). Can
> > > > anyone recommend ways to shorten this time? I know that I can not launch
> > > > certain daemons at start-up, so I don't have to worry about them at
> > > shutdown,
> > > > but I don't know which ones I can safely remove (other than, probably,
> > > apache)
> > > > from the default TS image (lenny, 2.6.21-ts).
> > > 
> > > First analyse exactly what you need to run, e.g. sshd, your_app, etc Then
> > > in the rc2.d directory move all SNNapp and KNNapp for the stuff you DONT
> > > need running to No_SNNapp and No_KNNapp.
> > > 
> > > Then re-time shutdown.
> > > 
> > > I always stick to the TSimage (not the Debian image) because it is so
> > > minimal. I add what I need, then I know what needs doing for shutdown.
> > > In fact shutdown usually only involves killing some daemons then
> > > umount'ing
> > > and filesystems then halting.
> > > 
> > > 
> > 
> 
> 


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU