Find Jobs
Hire Freelancers

Fix nightmare.js script

$250-750 USD

Closed
Posted over 7 years ago

$250-750 USD

Paid on delivery
So with regard to the process hanging/halting periodically, yes there is something I would do. Assumptions are that periodically electron/nightmare get's stuck beyond the 40 second timeouts configured. Electron is used by nightmare and is a heavy process and might hang periodically. I did have safeguards to make sure electon was killed when nightmare completed each time (terminateNightmare) - as I detected that it did not always exit itself and would climb in resource utilization. My solution : - I can modify the program with a master/child process pattern - using node library to fork a child node process in which to run the normal loadspeed operations. From the child process send a message periodically. when the message ceases to arrive a the master process withing a configured threshold (say 2-3 minutes), the master process kills the child process and recreates the child process to begin again. - I would also take out your security email call and remove you failsafe code - which is currently breaking the program after 5 minutes every time. I'll check for anything else that my have been modified that could cause an issue. Additional Info: To double check - it would be good to have a little more info on the process hanging - before making your changes (failsafe), how often did you estimate you found the process locked? Daily or more or less? Did you notice it at the same position in the logs each time? Any error output? It is also possible it's not related to the node program loadspeed, but the use of xvfb-run in the [login to view URL] script (headless server, virtual frame buffer). I don't use this in my environment, but I see some people had hangs due to this or variations, example : [login to view URL] That is an interesting example if you can read that. If the issue persists after my update, we might look into altering how you do this type of run
Project ID: 12739806

About the project

30 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
30 freelancers are bidding on average $619 USD for this job
User Avatar
A proposal has not yet been provided
$1,000 USD in 30 days
5.0 (50 reviews)
6.3
6.3
User Avatar
I’m interested in completing your project for you. I have 19 years of programming experience with large scale company systems and websites. I’ve also completed projects for smaller businesses. I have a great attention to detail and believe in effectively communicating with my client until the project is complete.
$555 USD in 10 days
5.0 (21 reviews)
5.9
5.9
User Avatar
Hi there, We are an experts group with the javascript developers and My team can do the task very well. Kindly provide the details description about the task. Please visit our Portfolio here: https://www.freelancer.com/u/prowebtechnos.html Ping us to discuss. Regards! PWT-JITESH
$450 USD in 10 days
4.8 (89 reviews)
6.2
6.2
User Avatar
Hello, Its a pleasure to let you know that I've Completed and Delivered similar project before. All I need to work upon customization part, if we can proceed towards more discussion. I have gone through your project description and confident to accomplish your project. I am an individual developer and you will be working directly with me if we proceed work on this project. My key skills are - 1)Ruby 2)Ruby On Rail 3)Angular JS 4)Node JS 5)PHP with Codeigniter and Laravel Framework. Let's initiate our chat so we can proceed towards conclusion of this project scope and give it a start as soon as possible. Thank & Regards
$833 USD in 10 days
4.8 (17 reviews)
5.9
5.9

About the client

Flag of UNITED STATES
Arlington, United States
5.0
2
Payment method verified
Member since Jul 18, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.