[asterisk-users] A reason TO run Asterisk as root
John covici
covici at ccs.covici.com
Wed Jul 22 12:58:40 CDT 2009
on Wednesday 07/22/2009 Gordon Henderson(gordon+asterisk at drogon.net) wrote
> On Wed, 22 Jul 2009, Jonathan Moore wrote:
>
> > On Wed, Jul 22, 2009 at 10:31 AM, Steve
> > Edwards<asterisk.org at sedwards.com> wrote:
> >> I finally found a reason TO run Asterisk as root.
> >>
> >> By default, ext[23] file systems "reserve" 5% of the filesystem for root.
> >>
> >> Thus, you may get some warning when everything non-root starts failing
> >> and give you a chance to free up some space before Asterisk is affected.
> >
> > Couldn't you get the same effect using quotas? Also, using separate
> > partitions for various parts of the filesystem is a nice addition. Having
> > your /var/log somewhere besides the same partition as / helps keep
> > runaway logs at bay, just as an example.
>
> This is real sysadmin territory.... And it's a dying art, I fear. Too many
> people just creating one big partition, doing stupid (IMO) tricks like
> "tune2fs -m 0 ... " and so on.
>
> It's something you can't/won't ever learn from just doing a modern Linux
> install, or (worse, I reckon), installing something like pbxinaflash, etc.
> although to their credit, most of these pre-canned installs do seem to
> work well. Until they break. Then you need a sysadmin...
>
I do agree, but I do change the reserved blocks to 0, otherwise even
as root the DF numbers are wrong and I have a number of partitions,
even one for /tmp, so I figure its not so bad.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici at ccs.covici.com
More information about the asterisk-users
mailing list