Hi, I have a php script which is coded very poorly, so occasionally that script is causing infinite loops in the process there by increasing WaitQ in my litespeed server. And it is not possible to detect just which process is causing that, So i usually kill all process running under that user to bring back the WaitQ.
I am using the litespeed web server which maintain the live report in a file which i gave in the attachment, hdwrock1 is the user and corresponding waitQ is mentioned with WAITQUE_DEPTH (Which is 0 now)
All you need is to create a bash script to detect if the WaitQ is more than 0 (Zero) of that user hdwrock1, then script has to kill all process of that particular user. And run that script every minute using cron.
Hi I ve done many cron jobs in Linux based OS. And I guess it's easy kill process from an user. So I guess I could help you. Regards
11 freelance font une offre moyenne de $32 pour ce travail
Hi, I can write the script, but would like to know from where is this wait queue parameter read. Is that a specific file for lightspeed. Can we identify that particular user as well from that file.? Thanks
Hey there, I'm a System Engineer with coding skills. I have been working with Linux/Unix systems for years. I had developed tons of Bash scripts. Regards.
Hi, I have a very good experience with linux. I can do this task for you. Below is my action plan for this task. 1) Find out the the WAIT_QUEUE tag and get the value from text file. 2) Find owner of the WAIT_QUE Plus
Hi, under WaitQ you mean iowait for each process(that make queue) of user hdwrock1 right? If so i know how to do it and I will fulfill this task with pleasure for you.
Hi I am Kamal Mehta. I have 12 Years of experience in Shell Scripting. Please consider my request and contact me to discuss your requirements. This bid is the placeholder and it may increase or decrease after careful Plus
I am good in Bash script, php, perl along with devops engineering, please let me know if you are good to award this project to me
Hii I have developed & delivered Web database applications for enterprises & companies, using open source language PHP, MySQL, HTML 5, CSS3, AJAX, JSON, XML, etc. Coding, project and team management is my passion. My e Plus
Hi, I have 14 years of experience in Linux and Bash scripting. The joib described in the post look like an easy one for me. I can help you to build & install the bash script which kill the processes if waitqueue is Plus
I am currently working as an Devops engineer. As part of my current role i need to write many scripts to automate. So this project must be very simple with the experience i have in scripting.
Hello I'm technical manager in a hosting company which I can do your project and its possible for suggest and provide you good offers for get best performance at now and next requests on futures. I'll do it this proj Plus