Author Topic: I'm way too distractable!  (Read 5078 times)

0 Members and 1 Guest are viewing this topic.

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1424
  • Karma: 10018
  • Gender: Male
    • View Profile
    • Linux in the UK
    • Awards
Re: I'm way too distractable!
« Reply #15 on: July 09, 2010, 04:48:31 pm »
Ok, I've found Apache to be a great solution for something, PHP applications not being one of them. Issues;

Most people tend to use mod_php, which means PHP is running as part of apache, so restarting apache and php are tied which can lead to problems, esp if mod_php screws up as it can take apache down in different ways. (previously I was using Apache+HA-proxy to do proper load balancing because the apache load balancer just wouldn't do it ..)

I'm now using lighttpd, and all I can say is that I wish I'd found it years ago.
One front-end with lighttpd and multiple back-ends, each running fastcgi. On occasion I do get a PHP/fastCGI crash, but lighttpd just removes it from the round-robin queue and carries on. Means you can restart PHP/fast-cgi independently of the webserver, also means each user / fastcgi instance can run with it's own UID which means proper security on a shared platform.

Don't tend to get any problems with SuperCache, and I use APC and memcached rather than eaccelerator.

Offline kirrus

  • Full Member
  • ***
  • Posts: 133
  • Karma: 2
  • Sysadmin / Linux Tech Support
    • View Profile
    • Kirrus' Blog
    • Awards
Re: I'm way too distractable!
« Reply #16 on: July 09, 2010, 08:47:37 pm »
We tried memcached, and APC. Memcached produced absolutely no performance boost on test, even with code added to the WP core to make it use it properly, and APC seg faulted more than eaccelerator..

Lighthttpd is on my list of 'to try when I get a chance', along with Varnish :)


Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1424
  • Karma: 10018
  • Gender: Male
    • View Profile
    • Linux in the UK
    • Awards
Re: I'm way too distractable!
« Reply #17 on: July 10, 2010, 02:12:53 am »
>Memcached produced absolutely no performance boost on test 

Depends on the site / the speed of your IO subsystem .. I use £50 7400rpm 1Tb disks which are relatively slow ... if you use SAS then there's probably little benefit. I don't get any problems with APC .. although I tend to use the up-to-date version rather than the antique version available in the repo's.

Guess how many years out of date Ubuntu are on "Bluefish" , my Editor of choice ...

Offline kirrus

  • Full Member
  • ***
  • Posts: 133
  • Karma: 2
  • Sysadmin / Linux Tech Support
    • View Profile
    • Kirrus' Blog
    • Awards
Re: I'm way too distractable!
« Reply #18 on: July 10, 2010, 11:13:42 am »
>Memcached produced absolutely no performance boost on test 

Depends on the site / the speed of your IO subsystem .. I use £50 7400rpm 1Tb disks which are relatively slow ... if you use SAS then there's probably little benefit. I don't get any problems with APC .. although I tend to use the up-to-date version rather than the antique version available in the repo's.
We were using the up-to-date version
Quote
Guess how many years out of date Ubuntu are on "Bluefish" , my Editor of choice ...
3-4?

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1424
  • Karma: 10018
  • Gender: Male
    • View Profile
    • Linux in the UK
    • Awards
Re: I'm way too distractable!
« Reply #19 on: July 10, 2010, 07:45:31 pm »
Mmm, quite possibly, but I don't know exactly as the news announcements only cover the last couple of years!

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal