helpGna! Administration - Support: sr #643, Frequency of cron jobs

 
 
Show feedback again

sr #643: Frequency of cron jobs

Submitted by:  Lucas Nussbaum <lnu>
Submitted on:  Thu 21 Jul 2005 09:10:22 AM UTC  
 
Category: Savane ToolsPriority: 3 - Low
Severity: 1 - WishStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: Any / Non-Specific

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 21 Jul 2005 09:30:35 AM UTC, comment #2:

Sending a mail on repository creation would be a very good thing.

Nice + running every hour would be great too, but I understand your point.

Also, you should document if two hours mean 8, 10, 12, or 9, 11, 13, or 9.30, 11.30, 13.30, etc.

Lucas Nussbaum <lnu>
Thu 21 Jul 2005 09:25:22 AM UTC, comment #1:

It is more complicated than that to document cronjobs because all the system are not necessarily in sync.

Currently, the cronjob delay is two hours.

We could set the cronjob to run more frequently depending on the load but since we havent got so many servers, for now I think it is better to keep the load very low so when lot of request comes up, they are all served as fast as possible (and viewcvs, anoncvs and this kind of stuff can generate high load very fast, for a very short time, but fast). The cronjobs cannot be interrupted neither can they run concurrently. We could "nice" them but all in all, things gets more complicated.

But we should update
https://gna.org/faq/?group_id=101&question=Savane_Interface_--_Are_there_some_delays_on_update.txt
to mention the expected maximum delay (two hours).
And move this item in the general section, BTW.

Maybe it would be good that the backend send a mail to admins whenever it create a repository. Does that sound sensible (even if it means receiving more mails after project approval)?
That should not be complicated to implement and that would save users from waiting in doubt.

Mathieu Roy <yeupou>
Site Administrator
Thu 21 Jul 2005 09:10:22 AM UTC, original submission:

Hi,

Something I have always wondered about Gna! and other Sourceforge-like websites was why the cron runs frequency was so low. I understand that when updating web pages, you 'cvs up' on all projects. And that when creating CVS/SVN repositories, you have to scan through all repositories.

However, such delays, while understandable, are always annoying for the users. For example, I just created a new project, and would like to finish setting it up, but I have to wait until the repositories are created.

- Could you document somewhere the exact times when cron jobs are run ? A copy/paste of you cron jobs list would be enough for mostly everybody I think.

- Couldn't you implement something like :
- web pages are updated every half hour.
- additionnally, run a script every 10 mins that checks if the 1 min load avg is under 2, and update the web pages if it is the case. That would allow for faster updates while avoiding to kill your servers.

Anyway, thank you for all the good work.

Lucas Nussbaum <lnu>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by yeupou (Updated the item)
  • -unavailable- added by lnu (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Jul 2005 09:25:22 AM UTCyeupouPriority5 - Normal=>3 - Low
      StatusNone=>Need Info
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup