Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-01-19, 02:23 PM   #1
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Question How often do you reboot your server

Or do you not? I've had my spanky new dedicated box for a couple of months now so I know very little about how it should be maintained (tires kicked, oil changes, and shit like that). Do you ever reboot your server for kicks or do you just let it run and run and run until something goes wrong?
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2005-01-19, 03:30 PM   #2
venturi
No offence Apu, but when they were handing out religions you must have been out taking a whizz
 
Join Date: Apr 2003
Location: An Oasis atop a High Desert Mesa
Posts: 282
Send a message via ICQ to venturi
Two schools of thought on this...

Old School says you should do a graceful restart of the server every X days/months, because even if everything seems to be working there may be runaway and/or zombie processes eating resources and a reboot will clean them out.

New School says the only time to reboot an xNix box is when you have to (e.g. kernel rebuild, etc).

Who's right? Probably both. LOL
venturi is offline   Reply With Quote
Old 2005-01-19, 03:38 PM   #3
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
I never reboot anything unless it needs an upgrade or it is acting funky.

The server that my LL is on needed to be rebooted once last year because MySQL was acting up. It then needed to be rebooted again when it was decided that an upgrade was needed to take of the issue that caused it to need rebooting.

I can't remember the last time my other server was rebooted. This is the one that I do all my TGPing off of.

As far as maintenance a nightly rub down of WD40 while reading them erotic stories seems to do wonders for my sales.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2005-01-19, 03:44 PM   #4
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally posted by Cleo

As far as maintenance a nightly rub down of WD40 while reading them erotic stories seems to do wonders for my sales.
Careful....I hear that causes nose bleeds.

Quote:
Originally posted by venturi
Who's right? Probably both. LOL
D'oh! Well then, I suppose I should do both. I'm going to start playing rock paper scissors with myself whenever I get the urge to reboot. That should solve it.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2005-01-19, 03:44 PM   #5
DangerDave
Bonged
 
DangerDave's Avatar
 
Join Date: Mar 2003
Location: BrisVegas, AUSTRALIA
Posts: 4,882
Quote:
Originally posted by Cleo
As far as maintenance a nightly rub down of WD40 while reading them erotic stories seems to do wonders for my sales.
we are talking about your server here... aren't we.... not anything else...

DD
__________________
Old Dollars >>>> Now with over 90 Hosted Free Sites <<<<
DangerDave.com.au - Adult Links to Free Porn
DangerDave is offline   Reply With Quote
Old 2005-01-19, 03:54 PM   #6
swedguy
Vagabond
 
swedguy's Avatar
 
Join Date: Aug 2003
Posts: 2,374
Send a message via ICQ to swedguy
$ uptime
14:52:12 up 271 days, 14:34

I think it might have been 271 days I got a bigger HD put in to the server. So my answer is, I never reboot unless it's necessary.
swedguy is offline   Reply With Quote
Old 2005-01-19, 06:51 PM   #7
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,929
Send a message via ICQ to Greenguy
I pay National Net to worry about these things
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2005-01-19, 09:31 PM   #8
Alphawolf
Don't come to Florida for vacation. We're closed.
 
Alphawolf's Avatar
 
Join Date: Nov 2003
Location: Orlando, Florida
Posts: 1,874
Thought you had accunett doing the management?

I'm pretty happy to have managed hosting.

Alphawolf is offline   Reply With Quote
Old 2005-01-19, 10:17 PM   #9
SinSational
Shut up brain, or I'll stab you with a Q-tip!
 
SinSational's Avatar
 
Join Date: Jan 2005
Location: Boston, MA
Posts: 119
Send a message via ICQ to SinSational Send a message via AIM to SinSational
restart services when needed (usually have to when adding new accounts)
reboot the boxes only when necessary.
SinSational is offline   Reply With Quote
Old 2005-01-20, 11:02 PM   #10
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally Posted by Alphawolf
Thought you had accunett doing the management?
I'm a fucking renegade! I never got around to it. Installed a couple of firewalls and dicked with it a bit with some online tutorials a while back. It seems to be happy thus far. I figured I'd hire a management company when the shit hits the fan.

Quote:
Originally Posted by SinSational
restart services when needed (usually have to when adding new accounts)
reboot the boxes only when necessary.
When ever I add another domain I seem to have to restart exim in order to kick start email for the new domain. Otherwise I try not to touch the thing. Don't want to hex my good fortune.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2005-01-21, 12:08 AM   #11
Alphawolf
Don't come to Florida for vacation. We're closed.
 
Alphawolf's Avatar
 
Join Date: Nov 2003
Location: Orlando, Florida
Posts: 1,874
Talking

Quote:
Originally Posted by Useless Warrior
I'm a fucking renegade! I never got around to it.
Well, you're tight with a nickel as well.
Alphawolf is offline   Reply With Quote
Old 2005-01-21, 01:42 AM   #12
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally Posted by Alphawolf
Well, you're tight with a nickel as well.
Shhh...Don't tell anyone.
This thread just got me doing some more security crap though, which is good (and necessary). Just installed a couple trojan scanners and mod_security for Apache. The server is still running and my sites are still displaying so I guess I didn't screw up to much.

Note to self-get server management.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2005-01-21, 10:26 AM   #13
AcidMaX
Programming till my fingers bleed.
 
AcidMaX's Avatar
 
Join Date: Aug 2003
Location: Michigan
Posts: 876
I'm on 196 days since a reboot. I believe in the "If its not broke, don't fix it" mentality. Of course my host manages my servers mostly but I do have root just in case something serious happens and I can fix it quickly.

Most unix boxes can run for a long time before rebooting. I once had one run for 2 years without rebooting.
AcidMaX is offline   Reply With Quote
Old 2005-01-25, 10:57 AM   #14
Barron
You tried your best and you failed miserably. The lesson is 'never try'
 
Join Date: Oct 2004
Posts: 166
You using Ensim? Ut oh!

Depending on the version, you need to reboot every couple of months. In the older versions there is an error about uptime. The only time I found this to be an issue though is when you add new domains.

Also, watch the size of your log files or you'll be rebooting when you dont want to.

Tip: Change your log rotate to daily instead of weekly for every domain and the server. And for those server-application logs that dont rotate, if any, just delete the info, but leave the file. The magic number is 2gig. *nix boxes choke on files that large.

Good Luck!
Barron is offline   Reply With Quote
Old 2005-01-25, 12:54 PM   #15
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
Quote:
Originally Posted by Barron
The magic number is 2gig. *nix boxes choke on files that large.
-rw-rw---- 1 mysql mysql 4571791360 2005-01-25 12:50 ibdata
-rw-rw---- 1 mysql mysql 5242880 2005-01-25 12:50 ib_logfile0
-rw-rw---- 1 mysql mysql 5242880 2005-01-25 12:50 ib_logfile1

-rw-rw---- 1 mysql mysql 8696 May 14 2003 sgh_sites.frm
-rw-rw---- 1 mysql mysql 4060223536 Jan 25 09:06 sgh_stats.MYD
-rw-rw---- 1 mysql mysql 3555355648 Jan 25 09:06 sgh_stats.MYI

I guess I better tell Linux that those files should be causing problems.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2005-01-25, 03:43 PM   #16
Barron
You tried your best and you failed miserably. The lesson is 'never try'
 
Join Date: Oct 2004
Posts: 166
Dont do that, tell mine is not suppose to choke! hahahaha
Barron is offline   Reply With Quote
Reply


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

Forum Jump


All times are GMT -4. The time now is 06:29 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc