Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    11

    Default MySQL 4 and Perl scripts

    Hi,
    Before the MySQL 4 upgrade, we had no problems with any scripts on the server. However, we had to cancel two accounts because each account had a Perl script that would cause MySQL to use all of the CPU it could and stopped all other MySQL sites from loading. We are not having any problems whatsoever with PHP scripts. We cancelled the accounts before the option to downgrade to MySQL 3.23 was available. We would prefer to keep MySQL 4 and wondering if anyone else has experienced the problem and if there is a solution.

    I looked at one of the two scripts and it did not even contain one loop in it that could cause it to get into an endless loop and it only contained SELECT statements. This script was executed many times each hour and would cause MySQL to eat CPU resources every 6-12 hours so it did not happen every time the script was executed. I looked at MySQL's full process list and it was executing one of the SELECT statements over and over.

    Any help/suggestions would be greatly appreciated.

    Scott

  2. #2
    Member
    Join Date
    Apr 2003
    Posts
    223

    Default

    I myself wouldnt use the new MySQL version and have held off of it on my own home server.

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 10-26-2009, 07:28 AM
  2. Perl Scripts...
    By MethOd63 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-13-2008, 12:24 AM
  3. Perl Scripts Not work
    By 0xyGens in forum New User Questions
    Replies: 7
    Last Post: 04-19-2007, 12:35 PM
  4. Perl scripts not working
    By welo in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-21-2005, 07:36 AM
  5. Replies: 0
    Last Post: 05-22-2003, 01:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube