OpenVZ Forum


Home » Mailing lists » Users » Reduce Load in VZs
Re: Reduce Load in VZs [message #43173 is a reply to message #43171] Wed, 03 August 2011 08:32 Go to previous messageGo to previous message
Tim Small is currently offline  Tim Small
Messages: 24
Registered: April 2011
Junior Member
On 03/08/11 09:10, me@free-minds.net wrote:
>
>> (2) CT has been upgraded from the inside, so /etc/crontab was being
>> modified
>>
> yes, the cronjobs are under /etc/cron.{daily,weeky,...}
>

Compare /etc/crontab between containers - the entries should have
different (randomized) times:

# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts
--report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts
--report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts
--report /etc/cron.monthly )



... if they are, then perhaps it's /etc/cron.d/* tabs instead? This was
the problem on my client's system.

Tim.


--
South East Open Source Solutions Limited
Registered in England and Wales with company number 06134732.
Registered Office: 2 Powell Gardens, Redhill, Surrey, RH1 1TQ
VAT number: 900 6633 53 http://seoss.co.uk/ +44-(0)1273-808309
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Puppet module for OpenVZ management
Next Topic: Question About /proc file system in VMs.
Goto Forum:
  


Current Time: Fri Aug 15 06:19:11 GMT 2025

Total time taken to generate the page: 0.46255 seconds