I have a pretty loaded (as in open connections, not CPU load) mail
server (Solaris 8, SDS mirroring for system partitions and plain UFS
on A1000 RAID).
It's primarily open with IMAP connections most of the time.
Occasionally when I shutdown or reboot after the system has been up
for a while (few days or more) it will panic of sorts towards the end
of the shutdown sequence. Of course this results in the usual
The system runs fine when up, ie. it does not crash unexpectedly
One thing I noticed as part of the crash messages was the word "UFS",
which leads me to think that it's an problem with too many files being
still open or something.
So I need some advice on how to tackle this, precautions I can think
- Making sure daemons have kill scripts in rc0.d
- Giving Sendmail enough time to finish or properly close current
transactions (I thought the sendmail shutdown script should take care
- Introducing deliberate "sleep"s at certain stages in the shutdown
- adding some "sync"s at certain stages for good measure.
Am I on track, or way off? Would also appreciate any hints or feedback
on similar experiences.
For the record, I have experienced this same phenomenon on a Solaris 7
box (also functioning in a similar role)
Thanks for any inputs.