Forum Routine Maintenance 22nd October

Forum News, Announcements and any issues you're having with the forum

Moderator: myglaren

User avatar
CitroJim
A very naughty boy
Posts: 35704
Joined: Sat Apr 30, 2005 11:33 pm
Location: North Bucks
My Cars: Xantia Activa, Xantia 1.9TD and a couple of bikes!
x 344
Contact:

Forum Routine Maintenance 22nd October

Postby CitroJim » Sun Oct 19, 2014 7:29 am

I shall be carrying out some routine maintenance on the forums in the early hours of Wednesday morning that may result in a short outage.

One of the tasks is to rotate the Apache Web Server logs which necessitates a restart of Apache.

I'm really quite staggered at their growth rate.. Shows how popular the forums are :)

From now on I'll be declaring each Wednesday morning between about 04:00 and 05:00 UK time a forum maintenance window when full service may be interrupted for short periods...
0 x
Jim

'98 Xantia 1.9TD in Red - Gabriel...
'96 Xantia Activa in Red - My favourite toy...
'07 Pug 207 in Blue - The Deathtrap...
'16 Giant TCR Bike in Black/Lime Green - Daily rider...
'17 Giant TCR Pro Bike in Black/Blue - Fine weather only...

User avatar
Mandrake
Posts: 6582
Joined: Sun Apr 10, 2005 5:23 pm
Location: North Lanarkshire, UK
My Cars:
x 35

Re: Forum Routine Maintenance 22nd October

Postby Mandrake » Sun Oct 19, 2014 8:53 am

You don't use the log rotate daemon to do it automatically ? :)

All the Apache installs I've ever administered had their logs rotated automatically, usually weekly.

Set that up once and you won't have to worry about it again...
0 x
Simon

1997 Xantia S1 3.0 V6 Auto Exclusive (75k) in Silex Grey

1977 G Special 1129cc LHD
1978 CX 2400
1997 Xantia S1 2.0i Auto VSX
1998 Xantia S2 3.0 V6 Auto Exclusive

User avatar
CitroJim
A very naughty boy
Posts: 35704
Joined: Sat Apr 30, 2005 11:33 pm
Location: North Bucks
My Cars: Xantia Activa, Xantia 1.9TD and a couple of bikes!
x 344
Contact:

Re: Forum Routine Maintenance 22nd October

Postby CitroJim » Sun Oct 19, 2014 9:01 am

Mandrake wrote:You don't use the log rotate daemon to do it automatically ? :)


Not yet Simon. I want to do the first one manually just to check it'll be OK before I let the daemon do it all on its own..

The forum sever is running with the full weight of selinux behind it which may complicate... I don't want to take any chances...

Either way, if the task is manual or daemonized the web server still has to restart after log rotates to create and start using the new logs...
0 x
Jim

'98 Xantia 1.9TD in Red - Gabriel...
'96 Xantia Activa in Red - My favourite toy...
'07 Pug 207 in Blue - The Deathtrap...
'16 Giant TCR Bike in Black/Lime Green - Daily rider...
'17 Giant TCR Pro Bike in Black/Blue - Fine weather only...

User avatar
Mandrake
Posts: 6582
Joined: Sun Apr 10, 2005 5:23 pm
Location: North Lanarkshire, UK
My Cars:
x 35

Re: Forum Routine Maintenance 22nd October

Postby Mandrake » Sun Oct 19, 2014 9:10 am

There's no need for a full restart of Apache. Just send it a SIG USR1 after the logs are rotated which initiates a graceful restart.

Log files are freshly reopened but there is no interruption to currently in progress requests and no downtime. ;)
0 x
Simon

1997 Xantia S1 3.0 V6 Auto Exclusive (75k) in Silex Grey

1977 G Special 1129cc LHD
1978 CX 2400
1997 Xantia S1 2.0i Auto VSX
1998 Xantia S2 3.0 V6 Auto Exclusive

User avatar
CitroJim
A very naughty boy
Posts: 35704
Joined: Sat Apr 30, 2005 11:33 pm
Location: North Bucks
My Cars: Xantia Activa, Xantia 1.9TD and a couple of bikes!
x 344
Contact:

Re: Forum Routine Maintenance 22nd October

Postby CitroJim » Sun Oct 19, 2014 9:15 am

Mandrake wrote:There's no need for a full restart of Apache. Just send it a SIG USR1 after the logs are rotated which initiates a graceful restart.

Log files are freshly reopened but there is no interruption to currently in progress requests and no downtime. ;)


Excellent, that's good to know Simon :-D

Didn't know you were a Unix specialist in addition to all your other skills!

I'll know who to come to when I have issues now :wink: :-D
0 x
Jim

'98 Xantia 1.9TD in Red - Gabriel...
'96 Xantia Activa in Red - My favourite toy...
'07 Pug 207 in Blue - The Deathtrap...
'16 Giant TCR Bike in Black/Lime Green - Daily rider...
'17 Giant TCR Pro Bike in Black/Blue - Fine weather only...

User avatar
Mandrake
Posts: 6582
Joined: Sun Apr 10, 2005 5:23 pm
Location: North Lanarkshire, UK
My Cars:
x 35

Re: Forum Routine Maintenance 22nd October

Postby Mandrake » Sun Oct 19, 2014 9:19 am

Yes, in a previous life Jim... ;) It's been quite a few years though.
0 x
Simon

1997 Xantia S1 3.0 V6 Auto Exclusive (75k) in Silex Grey

1977 G Special 1129cc LHD
1978 CX 2400
1997 Xantia S1 2.0i Auto VSX
1998 Xantia S2 3.0 V6 Auto Exclusive

User avatar
CitroJim
A very naughty boy
Posts: 35704
Joined: Sat Apr 30, 2005 11:33 pm
Location: North Bucks
My Cars: Xantia Activa, Xantia 1.9TD and a couple of bikes!
x 344
Contact:

Re: Forum Routine Maintenance 22nd October

Postby CitroJim » Wed Oct 22, 2014 5:59 am

Mandrake wrote:Yes, in a previous life Jim... ;) It's been quite a few years though.


Id rather be a Unix admin than Windows admin any day Simon. It was how I started in IT back in the days long before Linux when users had dumb terminals for access and Unix really was Unix!!!

Happy days...

All routine maintenance has now been done and the server has been patched with latest updates....

Same again next Wednesday...
0 x
Jim

'98 Xantia 1.9TD in Red - Gabriel...
'96 Xantia Activa in Red - My favourite toy...
'07 Pug 207 in Blue - The Deathtrap...
'16 Giant TCR Bike in Black/Lime Green - Daily rider...
'17 Giant TCR Pro Bike in Black/Blue - Fine weather only...

User avatar
myglaren
Forum Admin Team
Posts: 12365
Joined: Sun Mar 02, 2008 2:30 pm
Location: Katzenellen Bogen by the Sea
My Cars: 2003 C5 2.0 HDi 110 SX 213,200
x 67

Re: Forum Routine Maintenance 22nd October

Postby myglaren » Fri Oct 24, 2014 6:26 am

Faster than ever now Jim.
0 x
________________________________
Sent via Heliograph from the other side of the mountain

Steve

Jackie Evancho...Divine!

User avatar
CitroJim
A very naughty boy
Posts: 35704
Joined: Sat Apr 30, 2005 11:33 pm
Location: North Bucks
My Cars: Xantia Activa, Xantia 1.9TD and a couple of bikes!
x 344
Contact:

Re: Forum Routine Maintenance 22nd October

Postby CitroJim » Fri Oct 24, 2014 8:04 am

That's good to hear Steve :-D

The FCF Apache log grows like topsy. It was over 2GB in size :shock:

A few updates were applied to the server and again that'll now be a regular Wednesday job.

It'll be rotated at least weekly from now on under a cron job....
0 x
Jim

'98 Xantia 1.9TD in Red - Gabriel...
'96 Xantia Activa in Red - My favourite toy...
'07 Pug 207 in Blue - The Deathtrap...
'16 Giant TCR Bike in Black/Lime Green - Daily rider...
'17 Giant TCR Pro Bike in Black/Blue - Fine weather only...


Return to “Forum News, Announcements and Issues”

Who is online

Users browsing this forum: No registered users and 1 guest