6 GB Ram - only see 3 GB of RAM

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

6 GB Ram - only see 3 GB of RAM

Postby phil_discount » Thu Sep 24, 2009 6:16 am

Hello guys,

I'm using the latest release of vicidialnow.
my server: xSeries 366 4xXeon 3.16 Ghz and 6GB

output of free:
Code: Select all
             total       used       free     shared    buffers     cached
Mem:       3107044     335508    2771536          0      54052     180048
-/+ buffers/cache:     101408    3005636
Swap:      1044216          0    1044216


output of /proc/mtrr
Code: Select all
reg00: base=0x00000000 (   0MB), size=2048MB: write-back, count=1
reg01: base=0x80000000 (2048MB), size=1024MB: write-back, count=1
reg02: base=0x100000000 (4096MB), size=4096MB: write-back, count=1


i think PAE is installed in centos-kernel, so where can be the problem?
in bios i see 6 gb ram

regards
philip
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Postby phil_discount » Thu Sep 24, 2009 7:28 am

i'm not a linux expert, but i found something interesting:


linux kernel in use
Code: Select all
[root@vici ~]# uname -rm
2.6.18-92.el5.vnow i686


i see that there isn't PAE installed
Code: Select all
[root@vici ~]# rpm -qa | grep kernel
kernel-devel-2.6.18-92.el5.vnow
kernel-headers-2.6.18-92.el5.vnow
kernel-2.6.18-92.el5.vnow


can i download and install this kernel?
http://www.rpmseek.com/rpm/kernel-PAE-2.6.18-92.1.6.el5.i686.html?hl=com&cs=kernel-PAE:PN:0:0:0:0:0:6036018
this download is offline, i found another one
http://www.filesearching.com/cgi-bin/s?q=kernel-PAE-2.6.18-92.el5.i686.rpm&l=en&e=on

I'm a really linux newbie and i was a windows junkie :-)
i see, i've got to learn much about linux

UPDATE:

i just tried to install the kernel on my vmware testmachine and it seems to work.
rpm -ivh kernel...
edit die grub.conf to boot from PAE kernel.

but i'm afraid to do this on my realsystem...
anybody some experience to give me some bravery? :-)
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Postby gardo » Thu Sep 24, 2009 11:32 am

If you install kernel-PAE, make sure that you recompile the zaptel modules or else they will fail to load.

Installing the kernel-PAE has some drawbacks on loaded servers. This can affect the performance of your VicidialNOW system. The default CentOS kernel is set to desktop preemption and 250 hz timing which is not optimize for Vicidial performance.

Another alternative is download the kernel source and recompile it. Just enable high memory support so your system can access more than 3.2 gig of RAM.

Why do you need 6 gig of RAM? How many seats are you running on your server? Do you have other applications running?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby phil_discount » Thu Sep 24, 2009 12:22 pm

we have about 80 seats, but at the moment we use another expensive dialer...if vicidial works fine we perhaps plan to expand vicidial... more and more agents will use vicidial. in the first step, 30 seats are planned.
the server has 4x XEON cpus with HT, virtual 8 CPUs

we use one other application which often querries the vicidial database.

it will be fine when i can use the whole memory if possible.

should i try to install vicibox, i read vicibox supports PAE?
i only have to make a dump of mysql database and reinstall my sangoma card.

what do u mean with recompiling the kernel? i thought the vicidial kernel doesn't support PAE or i am wrong?
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Postby gardo » Fri Sep 25, 2009 1:35 pm

That's a pretty good hardware I'd say. :D

I would actually recommend doing a multi-server setup. It's more flexible than a monolithic server. However, since you already have the hardware then it's a single server for you.

I'm not sure about Vicibox supporting more than 3.2gig of RAM since it's also 32bit. Unless it has been recompiled with support for high memory.

What I recommend is downloading the kernel source and recompiling it with high memory support. You need to do this either on VicidialNOW or Vicibox.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby phil_discount » Sat Sep 26, 2009 8:56 am

i installed vicibox...pretty nice, i've got 6 gigs :-)
the server was very cheap, 350$ (but used - 2 years old) :-)

when i use multipliserver, i think its best when i buy a second big server for the vicidial database.
i only have to make a dump of mysql
change user cron - allow auth from other server
edit astguicliet config
check from viciserver to connect to tremote db server
anything else?

now vicibox is installed, i think to install asterisk 1.4
http://download.vicidial.com/required-a ... ici.tar.gz
and download the latest zaptel and wanpipe drivers?
i only will to do that becuase many ask why we use asterisk 1.2, its nearly EOL...
have i to do something else?
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Postby mflorell » Sat Sep 26, 2009 2:03 pm

Yes, ViciBox does support PAE out of the box.

For Asterisk 1.4.21.2 you should be able to just install that with the 1.4 zaptel and libpri right before it, then install Sangoma.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby phil_discount » Sun Sep 27, 2009 4:19 pm

i installed zaptel and libpri, then asterisk.
i made a reboot and asterisk 1.4 was loaded fine.
after that i installed wanpipe 3.2.7.1.
i started the setup for wanpipe and AFTER the configuration of wanpipe (i configured two E1 lines) suddenly the server was down.
i can't ping the server anymore.

tomorrow i will look at the screen of the server (in the serverroom)...and make a reboot...very strange.

i will report
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Postby phil_discount » Mon Sep 28, 2009 9:42 am

ok, it seems to be a kernel crash while unloading zaptel before stopping wanrouter. the start script was wrong.

now I've got a new problem

i installed vicibox.
then downloaded the following packages
- asterisk-1.4.21.2-vici.tar.gz
- libpri-1.4.10.1.tar.gz
- wanpipe-3.2.7.1.tgz
- zaptel-1.4.12.1.tar.gz
shutdown asterisk and zaptel
at first i installed libpri 1.4 with (make - make install) then
i run ./configure script from zaptel 1.4.12 then make - make install
then the same with asterisk 1.4.21.2 like zaptel
reboot
i can connect to asterisk CLI
(Connected to Asterisk 1.4.21.2-vici currently running on ka-vici-dialer (pid = 5351))
then
install wanpipedriver 3.2.7.1 with ./Setup install
i configured my two 2x E1 lines and added wanrouter with ./Setup install_init to start on boot.
after reboot
wanrouter started, i can connect to CLI, no warnings, no alarms.

but asterisk can't create a ZAP channel when i make a call from my SIP phone. on CLI i can't use commands like PRI or ZAP.

can somebody tell me where i've made a mistake?


EDIT:

i found the error:

when i start asterisk with -vvvvvvvgc
i get the following error:
Code: Select all
[Sep 28 17:19:26] ERROR[19125]: chan_zap.c:7216 mkintf: Unable to get parameters
[Sep 28 17:19:26] ERROR[19125]: chan_zap.c:10593 build_channels: Unable to register channel '1-15'


the big question...why? :-)

the card works with vicidialnow.
ztcfg -vv shows 62 channels configured
zttool shows me no alarms
wanrouter status: 2 connected wanpipes

log from messages
Code: Select all
Sep 28 18:01:27 ka-vici-dialer kernel: [  193.016613] wanpipe1: AFT communications enabled!
Sep 28 18:01:27 ka-vici-dialer kernel: [  193.017622] wanpipe1: AFT Global TDM Intr
Sep 28 18:01:27 ka-vici-dialer kernel: [  193.018666] wanpipe1: Global TDM Ring Resync
Sep 28 18:01:27 ka-vici-dialer kernel: [  193.018677] wanpipe1: Card TDM Rsync Rx=0 Tx=2
Sep 28 18:01:28 ka-vici-dialer kernel: [  194.015399] wanpipe1: RAI alarm is OFF
Sep 28 18:01:28 ka-vici-dialer kernel: [  194.015407] wanpipe1: OOF alarm is OFF


i don't know my real zaptel verion .. i installed 1.4.12.1
Code: Select all
root@ka-vici-dialer:~# modinfo zaptel
filename:       /lib/modules/2.6.24-24-server/misc/zaptel.ko
version:        1.2.27
license:        GPL
description:    Zapata Telephony Interface
author:         Mark Spencer <markster@digium.com>
srcversion:     08B42AA3DB045827748DC2D
depends:        crc-ccitt
vermagic:       2.6.24-24-server SMP mod_unload 686
parm:           debug:int
parm:           deftaps:int
root@ka-vici-dialer:~# dmesg | grep Zap
[  183.944922] Zapata Telephony Interface Registered on major 196
[  183.944931] Zaptel Version: 1.4.12.1
[  183.944933] Zaptel Echo Canceller: MG2


i think i always use zaptel 1.2 and libpri 1.2. .... ahhhh i'm too stupid to install that :-/
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Postby williamconley » Mon Sep 28, 2009 8:18 pm

had a client yesterday with similar issues during a vicibox install, there were errors tossed during the vicibox from the web service. chan_zap.so asterisk module (and a bunch of other stuff) was missing. needed a full clean reinstall. with NO errors tossed during installation.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20444
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby phil_discount » Tue Sep 29, 2009 2:06 am

when i recompile asteristk 1.2 it works.

so i mean that zaptel and libpri isn't installed correctly.
i tried to uninstall the old zaptel and libpri but without any success.
so i only installed the newer version and recompiled asterisk 1.4
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Postby phil_discount » Tue Sep 29, 2009 3:48 am

must be a problem with the installation of libpri and zaptel.
when i install vicibox and configure wanpipe, everything works perfectly.

i make something wrong
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 84 guests