We have a series of ancient CGI scripts (behind members firewall). Until the last month or so, we never had an issue with these scripts. Now, on a regular basis the scripts appear to get stuck and hog up the cpu, using more and more PIDs. The scripts still seem to be doing what they should, but sometimes get stuck. The scripts that do get stuck are involved in file uploads via a form, in case that might help diagnose the issue.
Given the age of our scripts, I can possibly assume something in our scripts are not ending nicely and hanging on?
Questions:
- Does anyone know if a change was made recently that might cause this?
- Can any one suggest a way to troubleshoot these scripts. Perl is not a strength, but I can understand most of the code.
- Is there a way to update all the Perl modules on the server in one go, or only one by one?
- Many of the modules are failing to upgrade with this error: "cpanminus failed with non-zero exit status: 1"
Given the age of our scripts, I can possibly assume something in our scripts are not ending nicely and hanging on?
Questions:
- Does anyone know if a change was made recently that might cause this?
- Can any one suggest a way to troubleshoot these scripts. Perl is not a strength, but I can understand most of the code.
- Is there a way to update all the Perl modules on the server in one go, or only one by one?
- Many of the modules are failing to upgrade with this error: "cpanminus failed with non-zero exit status: 1"