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. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
On Wed, Jul 22, 2009 at 11: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.Hehe, sounds like a reason to standardize on ReiserFS
tune2fs -m 0 [device] :) not anymore ;p David Backeberg wrote:> On Wed, Jul 22, 2009 at 11: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. >> > > Hehe, sounds like a reason to standardize on ReiserFS > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- *Singer X.J. Wang* /System and Database Engineer/ The Pythian Group ------------------------------------------------------------------------ Office: (613) 565-8696 x298 Toll Free: (877) 798-4426 x298 Fax: (613) 565-8710 Email: wang at pythian.com MSN: pythianwang at hotmail.com Yahoo: pythianwang AIM: pythianwang ICQ: 201253 Gadu-Gadu: 6817795 Tencent QQ: 858310404 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090722/325a0e7a/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: wang.vcf Type: text/x-vcard Size: 329 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090722/325a0e7a/attachment.vcf
2009/7/22 Steve Edwards <asterisk.org at sedwards.com>> I finally found a reason TO run Asterisk as root. > > By default, ext[23] file systems "reserve" 5% of the filesystem for root.Do you imply this default can (and should) be changed ? Is it the same for other filesystems ?> > > 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. > > -- > Thanks in advance, > ------------------------------------------------------------------------- > Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST > Newline Fax: +1-760-731-3000 > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090722/3057b911/attachment.htm
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. -jonathan