All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by artimus » Mon Oct 01, 2007 8:49 am
I saw a few posts here from Matt Florell in regards to running vici on CentOS.
http://www.eflo.net/VICIDIALforum/viewtopic.php?p=10610
http://www.eflo.net/VICIDIALforum/viewtopic.php?p=3679
The verdict was that perl scripts were running a lower priority level, and thus not running as needed. I am wondering how this was determined? Perl appears to be running at priority 0.
Perhaps someone working with vici/dialtrixbox may know?
As a test I edited limits.conf to make anything run by root run at -10 priority. I can see that this is working, however vici still hangs up on everyone.
Slackware 12 - Linux 2.6.21.5 SMP
Asterisk 1.2.19
Zaptel 1.2.19 (ztdummy) - libpri 1.2.5 - spandsp 0.0.3
IAX2 trunk to trixbox on the same LAN.
VICI / astguiclient 2.0.3
-
artimus
-
- Posts: 38
- Joined: Wed Sep 19, 2007 9:54 am
by gardo » Mon Oct 01, 2007 11:18 am
I haven't found or encountered the issues posted on those link. The perl scripts always run w/ 0 priority just like any other programs ran by root. I've been using CentOS 64bit for quite some time now and not once did I encounter those issues.
-
gardo
-
- Posts: 1926
- Joined: Fri Sep 15, 2006 10:24 am
- Location: Manila, 1004
-
by peacy » Mon Oct 01, 2007 2:09 pm
Same here. I have been using CentOS 5 x86_64 and haven't seen any of those problems.
-
peacy
-
- Posts: 55
- Joined: Thu Jul 05, 2007 1:46 pm
- Location: UK
by mflorell » Mon Oct 01, 2007 5:47 pm
It seems some pre-built CentOS distros have kernel process preemption set to something other than "server(no preemption)". This causes all sorts of problems for VICIDIAL, and I have not seena reliable way of checking for this other than to run make menuconfig if there is a kernel .config file in /usr/src/linux
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by peacy » Mon Oct 01, 2007 8:38 pm
If a kernel was installed from an rpm, then the config file is usually included in /boot.
For CentOS5.0 both of the pre-built kernels I've been using (2.6.18-8.el5 & 2.6.18-8.1.8.el5) have "# CONFIG_PREEMPT is not set".
-
peacy
-
- Posts: 55
- Joined: Thu Jul 05, 2007 1:46 pm
- Location: UK
Return to Support
Who is online
Users browsing this forum: Bing [Bot] and 154 guests