vicidial process

Discussions about development of VICIDIAL and astGUIclient

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

vicidial process

Postby saidvici » Fri Jul 12, 2019 9:34 am

Hi All,
I installed Vicidial 2.9rc1 with Asterisk 1.8 and MySql 5.5.43

I would like if it is possible to kill the vicidial process like (ASTVDauto, ASTVDadapt ..) without restarting the server.

Is there a script that can find vicidial PIDs and kill them?

Thank you
saidvici
 
Posts: 3
Joined: Fri Jul 12, 2019 4:08 am

Re: vicidial process

Postby williamconley » Wed Jul 17, 2019 8:54 pm

1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method (7.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).

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)

You should also post: 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. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) Restart all vicidial processes: (Note: I have no idea if this works on such an old version of Vicidial, but it is from old notes)

Code: Select all
screen -list | grep ached | grep asterisk -v | awk '{print $1}'| awk -F'.' '{print $1}' | xargs kill
killall -9 FastAGI_log.pl
perl /usr/share/astguiclient/ADMIN_keepalive_ALL.pl


Happy Hunting! 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 18731
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: vicidial process

Postby saidvici » Thu Jul 18, 2019 11:21 am

Thanks a lot for your response.
Excuse my English, I use the internet :)

I'm a new recruit,
I found the application installed on two servers,

first server: apache + mysql
second server: asterisk 1.8.23

There is a task that restarts the servers every night to clear the memory, if the servers are not restarted, the next day i find the RAM used at 100%.
I just want to initialize the VICIDIAL services instead of restarting the servers,
is that a good idea?

in advance thank you
---------------------------------
vicidial 2.9rc1
BUILD: 140612-1628
Asterisk 1.8.23
Sangoma Hardware
MySql 5.5.43
---------------------------------
server characteristics: (lscpu command)

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 24
On-line CPU(s) list: 0-23
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 45
Stepping: 7
CPU MHz: 2000.134
BogoMIPS: 3999.50
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 15360K
saidvici
 
Posts: 3
Joined: Fri Jul 12, 2019 4:08 am

Re: vicidial process

Postby saidvici » Thu Jul 18, 2019 12:01 pm

The script initializes VICIDIAL services well,
so I restarted the Mysql and apache services,
but the memory stays full,
only the restart of the server that initializes the memory

thank you for your help.
saidvici
 
Posts: 3
Joined: Fri Jul 12, 2019 4:08 am

Re: vicidial process

Postby williamconley » Mon Jul 22, 2019 6:45 pm

I suspect your "memory is at 100%" is actually incorrect. The fact that all the memory has been used in the past does not mean there is no memory available presently. This is a feature of mySQL, it will use up all the available memory and yet mark it available for harvesting by the OS. This way mysql CAN access previous query responses in memor pages that have not yet been harvested, thus saving time and HD reads.

You sound like someone from the microsoft world trying to make linux work like microsoft. Next you'll try to defrag the HD. lol

Hint: Reboot is for memory leaks that cause instability. The symptom is that the system REQUIRES a reboot every few days in the middle of the workday. Some systems do not require this. In fact, most (recently) do not. But the cost of rebooting is ... Zero. Thus rebooting anyway (in case your system needs it) is not about 100% memory utilization, it's just about avoiding the possibility that you MAY need to reboot in the middle of a workday, thus costing money. Especially since it often takes 30-60 minutes of "What the heck is goin' on?" before someone says "hey, let's reboot the server and see if that fixes this very unusual problem!"

So to recap: Can you demonstrate what you believe to be the "memory is full" proof? Are you certain it's "full" and not merely "being utilized properly by the OS as designed"? Most importantly, have you experienced an actual symptom that is resolved by the reboot? (Memory full is not a symptom ... any more than power being used!)
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 18731
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 7 guests