[asterisk-users] A reason TO run Asterisk as root

Gordon Henderson gordon+asterisk at drogon.net
Wed Jul 22 12:28:53 CDT 2009


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...

Gordon (once a sysadmin, always a sysadmin)



More information about the asterisk-users mailing list