[asterisk-biz] Flash IDE
Luciano Vaccarella
l.vaccarella at voix.it
Wed Sep 12 10:34:45 CDT 2007
I was inspired by astlinux, then I bult my one with Gentoo (I don't
like to use uclib)
I don't like to use ram disk because is a way to waste memory, I
prefer to create tmpfs where mount relative rw directory,
(the rc and init.d scripts of astlinux can be very useful to
understand how to do it), this is a map of a generic mount:
/dev/hda1 on / type ext2 (ro,nogrpid)
none on /proc type proc (rw)
none on /dev type tmpfs (rw)
none on /var type tmpfs (rw)
none on /tmp type tmpfs (rw)
none on /dev/pts type devpts (rw)
none on /sys type sysfs (rw)
/dev/hda2 on /mnt/opt type ext2 (rw,nogrpid)
192.168.10.80:/mnt/backup01/vm on /mnt/vm type nfs
(rw,v3,rsize=32768,wsize=32768,hard,lock,proto=udp,addr=192.168.10.80)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sda2 on /mnt/cf type ext2 (rw,nogrpid)
as you see the hda1 is the system and is ro only, the back up are
made on a nfs mount
this is the total memoy used by a pbx with 60 user registered
total used free
shared buffers cached
Mem: 512364 49584 462780 0
1788 28676
-/+ buffers/cache: 19120 493244
Swap: 0 0 0
and these are the active process
PID TTY STAT TIME COMMAND
1 ? S 0:00 init
2 ? S 0:00 [migration/0]
3 ? SN 0:00 [ksoftirqd/0]
4 ? S< 0:00 [events/0]
5 ? S< 0:00 [khelper]
6 ? S< 0:00 [kthread]
8 ? S< 0:02 \_ [kblockd/0]
9 ? S< 0:00 \_ [kacpid]
88 ? S< 0:00 \_ [khubd]
131 ? S 0:00 \_ [pdflush]
132 ? S 0:00 \_ [pdflush]
134 ? S< 0:00 \_ [aio/0]
719 ? S< 0:00 \_ [kseriod]
776 ? S< 0:00 \_ [ata/0]
808 ? S< 0:00 \_ [scsi_eh_0]
809 ? S< 0:00 \_ [usb-storage]
1154 ? S< 0:00 \_ [nfsd4]
1160 ? S< 0:00 \_ [rpciod/0]
133 ? S 0:00 [kswapd0]
1098 ? Ss 0:04 /sbin/syslogd -s 1024 -m 60 -b 2
1106 ? Ss 0:00 crond
1139 ? Ss 0:00 portmap
1155 ? S 0:00 [nfsd]
1156 ? S 0:00 [nfsd]
1157 ? S 0:00 [nfsd]
1158 ? S 0:00 [nfsd]
1159 ? S 0:00 [lockd]
1163 ? Ss 0:00 mountd
1180 ? SLs 0:00 ntpd -g
1201 ? Ss 0:00 /usr/sbin/sshd
4178 ? Ss 0:00 \_ sshd: root at pts/0
4184 pts/0 Ss 0:00 \_ -bash
4306 pts/0 R+ 0:00 \_ ps axf
1213 ? Ss 0:00 inetd
1339 ? Ss 0:00 mini_httpd -C /etc/mini_httpd.conf
1347 ? Ss 0:00 mini_httpd -C /tmp/etc/mini_httpd-http.conf
1358 tty1 Ss+ 0:00 /sbin/getty -L 19200 /dev/tty1 linux
27818 ? S 0:00 /bin/bash /usr/sbin/safe_voix
27824 ? Sl 7:05 \_ /usr/sbin/asterisk -p -c
The only problem problem using this method is that make upgrade is a
bit complicated, the ram disk is more easy because you have just to
replace the disk image.
For now all of the customer upgrade are made replacing on the site
the cf disk.
Luciano
Il giorno 12/set/07, alle ore 14:42, Juan Sandro ha scritto:
>
>
> > From: l.vaccarella at voix.it
> > Date: Tue, 11 Sep 2007 12:46:19 +0200
> > To: asterisk-biz at lists.digium.com
> > Subject: Re: [asterisk-biz] Flash IDE
> >
> > My experience in 4 years and about 200 intallations of Flash based
> > systems is of about 98% reliability.
> >
> > But you have to be carefully on using Industrial grade Flash chip,
> > and making it working in the right way as said by Sergey.
> >
> > We have big server flash based too, and they work without problems.
>
> Hi
>
> Do you have any more details... what Distro? Are you using ram
> disk as same other users suggested?
>
>
> Thanks
>
> Juan
>
>
>
>
>
> Explore the seven wonders of the world Learn more!
> _______________________________________________
>
> Sign up now for AstriCon 2007! September 25-28th. http://
> www.astricon.net/
>
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-biz mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-biz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-biz/attachments/20070912/d33caa2d/attachment-0001.htm
More information about the asterisk-biz
mailing list