mainSavannah Administration - Support: sr #108975, Stale Lock file?

 
 

sr #108975: Stale Lock file?

Submitter:  Bob Proulx <rwp>
Submitted:  Sat 20 Feb 2016 06:24:56 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 21 Feb 2016 12:29:22 AM UTC, comment #1: 

Mrph.  Well, the script /usr/src/infra/cvs/generate_log_accum.pl has a comment at the top "Generates all projects CVSROOT/commitinfo and CVSROOT/loginfo.".

It calls AcquireReplicationLock(), and the definition of that function, in the given Savane/Locks.pm, is using the script file as the lock file per (a comment there shows) http://perl.plover.com/yak/flock/samples/slide006.html.

In other words, as long as the script is running, it is locked, so that multiple instances will not be started.  That is a good outcome, at least.

Ordinarily, generate_log_accum.pl does not take long to run, as I recall.  It runs from cron every hour (used to be every 20 minutes).  However, the process currently running on vcs had been there almost 3 hours.  Presumably part and parcel of the whole performance issue.  I killed it by hand.  We'll see if the next one finishes in reasonable time.


Karl Berry <karl>
Site Administrator
Sat 20 Feb 2016 06:24:56 PM UTC, original submission:  

Cron is reporting:

There's a lock /usr/src/infra/cvs/generate_log_accum.pl, exiting at /usr/local/share/perl/5.10.0/Savane/Locks.pm line 61.                                                         

Where is the lockfile?  What is this script?  Is it stale and causing a permanent failure or is it an overrun when the system is too slow?  I have no idea.  Logging this ticket in case someone else has a little time to look at the problem.

Bob Proulx <rwp>
Site Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by karl (Posted a comment)
  • -email is unavailable- added by rwp (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-02-21 karl Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-0329.
    Corresponding source code