• Starting today August 7th, 2024, in order to post in the Married Couples, Courting Couples, or Singles forums, you will not be allowed to post if you have your Marital status designated as private. Announcements will be made in the respective forums as well but please note that if yours is currently listed as Private, you will need to submit a ticket in the Support Area to have yours changed.

Welcome to CF's new servers! :)

Status
Not open for further replies.

Swart

ÜberChristian
Mar 22, 2004
6,527
204
58
Melbourne
Visit site
✟32,187.00
Gender
Male
Faith
Marital Status
Married
Politics
AU-Greens
Erwin said:
It should be faster now. But we will still need more webservers I think.

Try implementing a reverse proxy. I think you'd be surprised at the results you can get from them. I favour iChain as a reverse proxy because it is easily configured as an appliance and is quick to deploy, has a rich feature set and quite simply knocks the socks off all of its competitors in terms of performance. However it can be expensive. It's downside is that a separate LDAP authentication server is required even if you don't utilise authentication and licencing is as complex as it is with Citrix.

Cisco implement a very fast RP utilising L4 switching technology with a Cisco router running WCCP version 2 to stripe queries amongst multiple proxies and multiple web servers. Your service provider may offer this service if they use Cisco routers.

Apache can be configured as a RP and so can Squid.

Open Source RPs include Pound, Perlbal, HAProxy and LVS. Wikipedia use Perlbal tyo accelerate and load balance their webservers, however LVS is my OS favourite as it also incorporates High Availability into its feature set.
 
Upvote 0

Swart

ÜberChristian
Mar 22, 2004
6,527
204
58
Melbourne
Visit site
✟32,187.00
Gender
Male
Faith
Marital Status
Married
Politics
AU-Greens
Erwin said:
Sorry, had to reset the webserver process again - no matter what I try, it's going to be slow. More hardware is needed.

If you like I can runup a spare server I have here as a RP into CF so that you can test it for a few weeks and see if it fulfills your needs. It won't be a "fair" test as the servers won't be local, but at least you'd get a feel for how a RP works and can improve performance.
 
Upvote 0

Erwin

Well-Known Member
May 13, 2015
201,108
1,803
✟216,037.00
I think I know the problem - we're running FreeBSD 6.0 - and only 4.x and 5.x support SMP kernels - so despite the fact that we have 4 CPUs per server, FreeBSD can only see 1 CPU... we'll have to fix this somehow... this means more downtime - probably downgrade to FreeBSD 5.x or call it a day and move to Centos... something that can support multiple processors.
 
Upvote 0

MeekOne

Meek is not weak
Oct 8, 2004
16,616
5,209
Orlando, Florida
Visit site
✟69,302.00
Country
United States
Gender
Female
Faith
Christian
Marital Status
Single
Politics
US-Republican
Erwin said:
I think I know the problem - we're running FreeBSD 6.0 - and only 4.x and 5.x support SMP kernels - so despite the fact that we have 4 CPUs per server, FreeBSD can only see 1 CPU... we'll have to fix this somehow... this means more downtime - probably downgrade to FreeBSD 5.x or call it a day and move to Centos... something that can support multiple processors.
Mega bite hugs to you Erwin for all that you do to make CF a great forum for the Lord's people! :hug: It seems like you have really went above and beyond, and know that you are truly appreciated from everyone here for doing what you do. Thank you for all the hard work you have put into this upgrade. Please take good care of yourself and get the sleep you need as well, we need you to be right as rain again. :wave:
 
Upvote 0

Swart

ÜberChristian
Mar 22, 2004
6,527
204
58
Melbourne
Visit site
✟32,187.00
Gender
Male
Faith
Marital Status
Married
Politics
AU-Greens
Erwin said:
Actually FreeBSD 6.0 can use the SMP kernel - I don't think our host compiled the kernel with SMP - I'll get them to do it first before we look at more hardware.

I was about to mention that...

I'm not a BSD Hack, but I would strongly recommend compiling the OS from source, if that option is available. Also using a better compiler than the standard gcc compiler can yield significant improvements in server performance.
 
Upvote 0

day2day

~*~Desiring God~*~
Apr 15, 2005
31,852
3,773
USA
✟49,434.00
Faith
Non-Denom
Marital Status
Married
Erwin said:
I think I know the problem - we're running FreeBSD 6.0 - and only 4.x and 5.x support SMP kernels - so despite the fact that we have 4 CPUs per server, FreeBSD can only see 1 CPU... we'll have to fix this somehow... this means more downtime - probably downgrade to FreeBSD 5.x or call it a day and move to Centos... something that can support multiple processors.

Erwin it will all work out.:hug:
Thank you for all your hard work.
This is what they meant by patience is a virtue.:angel:
 
Upvote 0

CaDan

I remember orange CF
Site Supporter
Jan 30, 2004
23,298
2,832
The Society of the Spectacle
✟134,677.00
Faith
Christian
Marital Status
Married
Erwin said:
Actually FreeBSD 6.0 can use the SMP kernel - I don't think our host compiled the kernel with SMP - I'll get them to do it first before we look at more hardware.

Get hold of Seebs. He's a BSD hacker.
 
Upvote 0

Timothy

Mad Anglican geek at large
Jan 1, 2004
8,055
368
Birmingham.... [Bur-min'-um]
✟25,265.00
Faith
Anglican
Marital Status
Single
Politics
UK-Liberal-Democrats
I think I know the problem - we're running FreeBSD 6.0 - and only 4.x and 5.x support SMP kernels - so despite the fact that we have 4 CPUs per server, FreeBSD can only see 1 CPU... we'll have to fix this somehow... this means more downtime - probably downgrade to FreeBSD 5.x or call it a day and move to Centos... something that can support multiple processors.

Sounds likely. We were given a wrong kernel on a server shift once (linux not BSD) which didn't have RAIDO compiled in... server tries to 'reconfigure' and we lost a whole lot of data. If you can compile the kernel yourself so you can hand-check every option, it's always safest.
 
Upvote 0

mikeyp

Mystery Member
May 29, 2005
2,373
80
37
Leicester, UK
Visit site
✟25,960.00
Faith
Baptist
Marital Status
Married
ah the 4 v 1 processor problem... hope you get it sorted soon, but first, GET SOME SLEEP :p

php is a hungry beast at the best of times, very processor intensive... best of luck getting the webservers going erwin...

and to everyone else, patience please....
 
Upvote 0

dawiyd

Veteran
Apr 2, 2006
1,753
123
✟2,566.00
Faith
Judaism
Politics
UK-Liberal-Democrats
SirTimothy said:
Sounds likely. We were given a wrong kernel on a server shift once (linux not BSD) which didn't have RAIDO compiled in... server tries to 'reconfigure' and we lost a whole lot of data. If you can compile the kernel yourself so you can hand-check every option, it's always safest.

But if you do check every option you would create a kernel with a large memory footprint, probably not the best thing for a server......or any pc in that case.
 
Upvote 0

Timothy

Mad Anglican geek at large
Jan 1, 2004
8,055
368
Birmingham.... [Bur-min'-um]
✟25,265.00
Faith
Anglican
Marital Status
Single
Politics
UK-Liberal-Democrats
But if you do check every option you would create a kernel with a large memory footprint, probably not the best thing for a server......or any pc in that case.

That's check as in 'make sure you've got the right ones' not as 'select'.

Timothy
 
Upvote 0
Status
Not open for further replies.