Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-1696

Memory Leak in UpdateMembershipRecord script

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.7
    • Component/s: CiviMember
    • Labels:
      None

      Description

      Using the UpdateMembershipRecord script on my dreamhost account,
      well, is a bit of a problem. It seems that the process gets killed
      before it can complete its task.

      Is there some way I can tweak the script and/or my php.ini settings
      so that it doesn't break . A copy of the response I got back from
      dreamhost support is below.

      Any help would be appreciated.

      regards

      Robert

      ps - system details

      PHP INFO as configured for the account is @ https://
      secure.privaterra.org/info.php

      Drupal - Version 5.1
      CiviCRM - Ver 1.6.8703

      Begin forwarded message:

      > From: DreamHost Customer Support Team <support@dreamhost.com>
      > Date: March 14, 2007 1:46:28 AM EDT (CA)
      > Subject: Re: [robgue1 10718217] Drupal/CiviCRM - Update process
      > geting killed
      >
      > Hello,
      >
      > On Tue, 13 Mar 2007, you wrote:
      >
      >> Dear Support:
      >>
      >> I am running a Drupal / CiviCRM site for Computer Professionals for
      >> Social Responsibility, an organization i'm on the board of.
      >>
      >> The site is designed to maintain our membership database and process
      >> payments.
      >>
      >> The install - mysql & php - seemed to go fine, however one of the
      >> needed update scripts seems to get killed by dreamhost.
      >>
      >>
      >> The line I use to start the script is below:
      >>
      >> /home/rguerra/php5/php5.cgi
      >> /home/rguerra/websites/secure.privaterra.org/cpsr/modules/civicrm/
      >> bin/UpdateM
      >> embershipRecord.php
      >>
      >>
      >> The script, that gets executed once a week - goes through the
      >> membership records and updates them accordingly (ie. marks them as
      >> expired, pending, etc).
      >>
      >> I'd appreciate your assistance and/or help so that the script can be
      >> executed - just - once a week.
      >>
      >> please advise..
      >>
      >>
      >> regards
      >>
      >> Robert Guerra
      >> Director, Computer Professionals for Social Responsibility (CPSR)
      >>
      >> Ref:
      >>
      >> Drupal/Civicrm Support page @
      >>
      >> http://wiki.civicrm.org/confluence/display/CRM/CiviMember
      >> +Guide#CiviMemberGui
      >> de-KeepingMembershipStatusesUpdated
      >>
      >
      > It appears your php processes are being killed by one of our system
      > monitoring tools for memory usage, here's the most recent entry in the
      > log:
      >
      > 2007-03-13 17:18:32 kill 10125 rguerra php5.cgi "Process puts
      > user
      > over total memory limit (106.29 is over limit)"
      >
      > Sadly we're not allowed to make any changes or exemptions to our
      > memory
      > usage policy, so there's not much I can suggest beyond trying to
      > reduce
      > the memory usage of your script.
      >
      > James
      >
      > –
      > DreamHost Support Team + support@dreamhost.com
      > Earn over $97 for each referral: http://www.dreamhost.com/
      > rewards.html
      > To continue this support case, just reply to this email.
      > Open a new case at: https://panel.dreamhost.com/?tab=support
      >
      >

        Attachments

          Activity

            People

            • Assignee:
              pankaj Pankaj Sharma
              Reporter:
              robertguerra Robert Guerra
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: