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.
smime.p7s
Description: S/MIME Cryptographic Signature
|