#1 (permalink)  
Old 10-23-2002, 03:52 PM
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: May 2002
Posts: 122
dandanfireman is on a distinguished road
Why does the load go up? Keep in mind that the files are compressed. So everytime the server is backed up, most of the files on the server are copied and then compressed. What drive/partition are you backing up to?
__________________
AlphaOmegaHosting.Com
Shared - Windows - Dedicated - Server Management
High Quality Dell Servers located at Peer1 Datacenter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-23-2002, 03:57 PM
oSM oSM is offline
Registered User
 
Join Date: Aug 2001
Posts: 44
oSM
its a dual p3 1.13ghz with 1gb ram

im backing up to /backup/

my backup script runs on thursday... how can i set it to run on a sunday at 2am?

my cron shows:

6 3 * * * /scripts/upcp

is this okay?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-23-2002, 10:55 PM
oSM oSM is offline
Registered User
 
Join Date: Aug 2001
Posts: 44
oSM
backup bogs down server... why?

Why does the cpanel backup script slow down the server so much?

sometimes server loads reaches 8.0 when cpbackup is running.. causing dns or mail server to go down.. Does anyone know a better backup solution?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-23-2002, 11:37 PM
Registered User
 
Join Date: Aug 2002
Posts: 9
thedetonator
I would also like to know how I can set my backups and awstats to run at night. These things cause my server's load to go very high. I have some sites getting 4000 hits per day... so their logs become HUGE!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-24-2002, 01:54 AM
Registered User
 
Join Date: Feb 2002
Posts: 105
TheVoice
what are your system specs?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10-24-2002, 02:00 AM
Registered User
 
Join Date: May 2002
Posts: 249
(SH)Saeed
Run it at night when the the traffic is at lowest.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 10-24-2002, 11:32 AM
rpmws's Avatar
Registered User
 
Join Date: Aug 2001
Location: back woods of NC, USA
Posts: 1,843
rpmws is on a distinguished road
[quote:aacd4f34e1][i:aacd4f34e1]Originally posted by thedetonator[/i:aacd4f34e1]

I would also like to know how I can set my backups and awstats to run at night. These things cause my server's load to go very high. I have some sites getting 4000 hits per day... so their logs become HUGE![/quote:aacd4f34e1]

I have a site that gets 200k hits a day and logs are huge. Backup runs every night. I have never seen over 3.0 on loads. 300 users only.
__________________
Just keeping my "eye" on things....
R. Paul Mathews
RPMWS - diehard cPanel Nutcase
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 10-25-2002, 01:17 AM
PWSowner's Avatar
Registered User
 
Join Date: Nov 2001
Location: ON, Canada
Posts: 2,994
PWSowner is on a distinguished road
[quote:e90efceaf5][i:e90efceaf5]Originally posted by oSM[/i:e90efceaf5]

its a dual p3 1.13ghz with 1gb ram

im backing up to /backup/

my backup script runs on thursday... how can i set it to run on a sunday at 2am?

my cron shows:

6 3 * * * /scripts/upcp

is this okay?[/quote:e90efceaf5]


Your upcp script is running at 3:06am every morning which should be fine. I do my backups at 5am because that's when there is the least activity on my server.
__________________
Mike
WHM and cPanel Scripts (join our "Scripts Club")
D/A Photography
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 10-25-2002, 06:28 AM
oSM oSM is offline
Registered User
 
Join Date: Aug 2001
Posts: 44
oSM
Why does it run on a Thursday???? How do I change it to a Sunday????
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 10-25-2002, 12:37 PM
PWSowner's Avatar
Registered User
 
Join Date: Nov 2001
Location: ON, Canada
Posts: 2,994
PWSowner is on a distinguished road
Right now it is set to run every day, not just Thursday, at 3:06am. To change it you need to edit this file.
/var/spool/cron/root
To only have updates run on Sundays at 2am, the upcp line in that file needs to be changed to
0 2 * * 0 /scripts/upcp
__________________
Mike
WHM and cPanel Scripts (join our "Scripts Club")
D/A Photography
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 10-25-2002, 03:06 PM
oSM oSM is offline
Registered User
 
Join Date: Aug 2001
Posts: 44
oSM
THANKS for that.. btw, atm my MRTG script is running via cron,however i deleted MRTG but the CRON cannot find it. I keep getting lots of error messages such as:

From: Cron Daemon

/bin/bash: /usr/bin/mrtg: No such file or directory

---

Does anyone know where this CRON file is located? I really want to remove this because I am getting an email sent to me every 5minutes!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 10-25-2002, 09:01 PM
PWSowner's Avatar
Registered User
 
Join Date: Nov 2001
Location: ON, Canada
Posts: 2,994
PWSowner is on a distinguished road
You deleted the script but cron is still trying to run it and telling you that it can't find it. You need to remove it from the cron list.
That one is in the crontab file at
/etc/crontab

There is a line like
0-59/5 * * * * root /usr/bin/mrtg /etc/mrtg/mrtg.cfg
Just remove it.
__________________
Mike
WHM and cPanel Scripts (join our "Scripts Club")
D/A Photography
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 10-26-2002, 03:10 AM
oSM oSM is offline
Registered User
 
Join Date: Aug 2001
Posts: 44
oSM
squirrel you are my HERO!!
Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 10-26-2002, 01:36 PM
PWSowner's Avatar
Registered User
 
Join Date: Nov 2001
Location: ON, Canada
Posts: 2,994
PWSowner is on a distinguished road
Your welcome.
It was only a couple months ago that I figured this stuff out. I wanted to understand my server so I downloaded the whole thing to my hard drive so I could investigate safely. A lot can be learned by looking through the files.
__________________
Mike
WHM and cPanel Scripts (join our "Scripts Club")
D/A Photography
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 10-27-2002, 05:25 AM
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Jun 2002
Posts: 22
dwayrynen
& Why does the cpanel backup script slow down the server so
& much?
&
& sometimes server loads reaches 8.0 when cpbackup is running..
& causing dns or mail server to go down.. Does anyone know a
& better backup solution?

I have the exact same problem... I've dug around as much as possible and it appears to happen when log files larger than the cache memory available are copied during the backup process.

Same thing happens when daily backups are rotated to weekly backups - the backups larger than the servers ram will cause the load average to scream out of control and the servers services will become unresponsive to new connections.

Darin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:39 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc