getting tons of defunc processes but cant figure out why?

Discussions about development of VICIDIAL and astGUIclient

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

getting tons of defunc processes but cant figure out why?

Postby bobbymc » Fri Jun 11, 2010 4:40 pm

Anyone knows how or why i get these?

8987 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
9147 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
9293 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
9481 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
9483 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
9635 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
9769 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
9771 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
10473 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
10634 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
10637 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
10699 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
10726 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
14762 ? Z 0:00 [VD_amd.agi] <defunct>
14808 ? Z 0:00 [VD_amd.agi] <defunct>
15260 ? Z 0:00 [VD_amd.agi] <defunct>
15317 ? Z 0:00 [VD_amd.agi] <defunct>
15383 ? Z 0:00 [VD_amd.agi] <defunct>
15611 ? Z 0:00 [VD_amd.agi] <defunct>
15678 ? Z 0:00 [VD_amd.agi] <defunct>
15689 ? Z 0:00 [VD_amd.agi] <defunct>
15731 ? Z 0:00 [VD_amd.agi] <defunct>
15844 ? Z 0:00 [VD_amd.agi] <defunct>
20781 tty1 Ss+ 0:00 /sbin/getty 38400 tty1
21424 ? Ss 0:03 /usr/bin/SCREEN -d -m -S ASTVDadapt /usr/share/astguiclient/AST_VDadapt.pl --debug
21426 pts/6 Ss+ 2:17 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl --debug
26096 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
26387 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
29500 ? Z 0:00 [agi-VDAD_ALL_ou] <defunct>
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Postby williamconley » Fri Jun 11, 2010 5:58 pm

when you post, please post your entire configuration including (but not limited to) your installation method, vicidial version and build, asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box.

Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X Build XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

_______

AMD?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby bobbymc » Fri Jun 11, 2010 6:45 pm

looks like it was caused due to bad numbers in the database i believe, but this is as.

vicidial 2.0.5rc5 asterisk 1.4.21.2 dedicated db server and stock vicidial setup no special things. Also using software for timing not a digium card or anything
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Postby williamconley » Sat Jun 12, 2010 1:35 am

vicidial version and build
the "rc5" is nice, but doesn't directly link to the code base anywhere. (Vicidial version and build are on all the Admin pages on the bottom left corner)

1) consider at least upgrading via svn to the latest "2.0.5", this has been known to squish some bugs

2) does this happen WITHOUT AMD?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby mcargile » Mon Jul 05, 2010 9:34 am

This is an issue within asterisk. More over how it handles AGI scripts. It does not directly clean up after them once they are done launching. It has a reaper process that goes through and removes them. How many defunct processes are showing up at any given time? If the number is really high it is possible you are using a version of asterisk from before the reaper process was added.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 615
Joined: Tue Jan 16, 2007 9:38 am

Postby bobbymc » Mon Jul 12, 2010 6:45 pm

using asterisk version 1.4.21.2. what version was the reaper added to?
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Postby mcargile » Tue Jul 13, 2010 8:33 am

Not entirely sure, but if you are using the version from our website:

http://download.vicidial.com/required-a ... ici.tar.gz

It definitely has the patch applied.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 615
Joined: Tue Jan 16, 2007 9:38 am

Postby bobbymc » Thu Jul 22, 2010 7:07 pm

Thank you for the link.

i also see in that directory 1.4.27 and 1.4.30

which is best to use? and why?
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Postby bobbymc » Thu Jul 22, 2010 7:09 pm

whats the svn link for the latest version of 2.0.5 ?
bobbymc
 
Posts: 425
Joined: Fri Jan 05, 2007 12:26 am

Postby mflorell » Thu Jul 22, 2010 7:23 pm

We haven't updated 2.0.5 in a long time, we are on 2.2.1 now(branched it in January) and trunk is 2.4
mflorell
Site Admin
 
Posts: 18341
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Thu Jul 22, 2010 8:49 pm

bobbymc wrote:whats the svn link for the latest version of 2.0.5 ?

if you are starting with a "fresh" vicibox installation:

Code: Select all
cd /usr/src/astguiclient
ls
mkdir 2.0.5
mv * 2.0.5
Warning: mv: cannot move `2.0.5' to a subdirectory of itself, `2.0.5/2.0.5' (this is expected)
Code: Select all
ls
Should be empty except for the 2.0.5 folder with all the old (2.0.5) stuff in it :)
Code: Select all
cd /usr/src/astguiclient
svn co svn://svn.eflo.net:43690/agc_2-X/branches/agc_2.0.5
cd agc_2.0.5
perl ./install.pl
Copy sample configuration files to /etc/asterisk/ ? [n] y
Code: Select all
reboot

Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Development

Who is online

Users browsing this forum: No registered users and 12 guests