Apache 2.0 Goes Gold! 325
The Apache Software Foundation's Apache
HTTP Server, version 2.0.35, has now been released for General Availability. You can find the official announcement, and download the server, from their website. Be sure to try a mirror first. Congratulations to the HTTP Server Project for getting the final release out. If you are wondering about it being usable in a production environment, you should poke around Slashdot's servers and see if you are surprised (now if only mod_perl was finished we could move more of our servers over to using the new release).
The HTTP Server Project is now recommending this release for use on production websites. 2.0.35 is now considered their best release and should be used in preference to all older versions (including the 1.3 series). A few of the new features are:
- higher performance over 1.3
- multiple operational models: threaded, hybrid multi-processes and multi-threaded
- specific request processing for Windows, Netware, BeOS, and OS/2
- integrated SSL and WebDAV support
- improved HTTP proxy support
- I/O layering and filtering
Good news! (Score:4, Funny)
Re:Good news! (Score:2)
what if they didnt switch from freebsd? (Score:2)
Re:Good news! (Score:2, Funny)
This only PROVES that Microsoft has successfully ported IIS to FreeBSD!! Microsoft's new Rotor runtime for FreeBSD is already paying off handsomely, allowing them to finally ditch NT..
Well.. (Score:2, Funny)
The Pipe of Death (Score:5, Funny)
The Pipe of Death? Does this conjur up images of developers sitting around a room saying things like.. "Man.. pass the pipe of death.. I need a hit", followed by lots of giggling and an unbelievable craving for chocolate and/or chinese food?
No? Um, ok.. must be just me then..
Re:The Pipe of Death (Score:5, Funny)
I was thinking more along the lines of 'I will club you over the skull with the pipe of Death. It has +7 attack versus Trolls and +6 defence against Moderators.'
Re:The Pipe of Death (Score:2, Funny)
Chocolate cravings... mmm.... those flake ice cream cones are great for those little hunger pangs.
Hopefully however, the pipe of death will not actually conjure up any child processes. Im not quite at that stage in my life yet.
Re:The Pipe of Death (Score:2, Funny)
Check the comment for this guy:
http://httpd.apache.org/contributors/#kasichain
Quite funny
Playing it safe (Score:4, Funny)
Re:Playing it smart (Score:2)
Re:Playing it smart (Score:2)
I have been actively developing against some BIG databases with postgresql-7.2 since its Beta releases and have yet to see any significant production problems with 7.2x. Postgresql official releases are usually of very high quality.
Re:Playing it smart - pgsql bug (Score:3, Informative)
Better performance? (Score:3, Funny)
Really? I guess we'll find out in just a few minutes exactly *how* much more performance 2.0 has over 1.3...
Re:Better performance? (Score:2)
Re:Better performance? (Score:2, Interesting)
Just pointing out the obvious...
Re:Better performance? (Score:2)
Re:Better performance? (Score:4, Interesting)
This is what I did. On a Sun Ultra 10 I installed Apache 1.3 and 2.0 (Latest of both and compiled them using the same compilers)
port 80 was Apache 2.0
port 8080 was Apache 1.3
Then I used Lynx -dump http://localhost:0080 >
and recorded the time it would take to do 3000 connections
then I did the same but on port 8080
and recorded the time
it took 2.28 for apache 2
2.63 for apache 1.3
so 2.0 is roughly 13% faster.
This was testing 1 connection at a time not multable connections.
Re:Better performance? (Score:2)
port 80 was Apache 2.0
port 8080 was Apache 1.3
Want to test it under load? Just follow up with the URL. I'm sure many here will accomodate you.
Re:Better performance? (Score:2)
Re:Better performance? (Score:3, Informative)
Hmmh. I may be wrong but:
Does this not indicate that this is not necessarily true any more? Plus, on some platforms limitation is pretty high, esp. for threads ('full' processes usually have lower limits).
Re:Better performance? (Score:2)
And if you think this is a troll, then go play with Zeus for a day, and you'll see why Apache is nothing more than a toy.
Re:Better performance? (Score:2)
As a sidenote, apache (atleast 1.3) series ships with its own benchmarking tool called ab. So, while you where writing a shellscript to time the requests, you could have just written:
ab -n 3000 -w http://localhost:8080 ab -n 3000 -w http://localhost:80
Another sidenote, few issues back in the Linux Magazine was article about Apache 2.0 and it gave me a quite good impression what apache 2.0 is all about but it also left me with feeling that 2.0 is not performing as fast as 1.3 because of new modularity in pretty much every phase of the server processing the request it takes... Hell, article even said that with a little coding, you could turn apache 2.0 to working imap server!
PHP not there yet (Score:5, Informative)
Also, be nice to get some good benchmark numbers. Speed / SSL / Dynamic Content seem to be things just about everyone relies on, and it'd be great to have a nice case to move from 1.3. I know the Apache team has made a lot of progress on this, be great to see it validated.
Bravo all around of course.
- August
Re:PHP not there yet (Score:2)
previewish [google.com]
Almost a googlewhack. But it's not a real word so it's a googlethud.
Semi-stable working PHP (Score:5, Informative)
For installation, I found that the easiest thing to do is to add
Somewhere in the document and, for indexes,
before the DirectoryIndex (which must be modified to add index.php). The CVS version works also, but I had problems with some scripts under it. Hope this helps. SiMac450
Re:PHP not there yet (Score:3, Insightful)
Re:PHP not there yet (Score:3, Informative)
It had to be someone (Score:2)
I'll poke... (Score:2)
Slashdot is running
Apache/1.3.20 (unix)
mod_perl/1.25
mod_gzip/1.3.1.19.1a
I'll look around some more...
Re:I'll poke... (Score:5, Interesting)
Poke some more, you quit too soon.
Server: Apache/1.3.20 (Unix) mod_perl/1.25 mod_gzip/1.3.19.1a
X-Powered-By: Slash 2.003000
X-Fry: Where's Captain Bender? Off catastrophizing some other planet?
Server: Apache/1.3.17 (Unix)
Server: Apache/2.0.35 (Unix)
Re: Ad servers (Score:3, Interesting)
ABORT, ABORT!!!
Whoa there, cowboy. Slow down a bit.
"These slimeballs" don't even come into play here. Slashdot is hosting its' own ads (in this case), so your spleen-venting is rather unfair. Half of what you're demanding they do, they already do! (And if they're willing to accept credit cards directly, or let me mail them a check, I'll subscribe -- I won't deal with PayPal. There is that point.)
Now, back on target... The addresses I posted were all requests from the slashdot.org domain. The log was from my proxy -- which drops all communication with Doubleclick.
It's easy to check, just make the request to images.slashdot.org [slashdot.org] -- it's the California Digital ad about their acquisition of VA Linux's servers "...blue lights and all." The interesting thing is that you can see the load balancing in action. I received responses from "Apache/1.3.12" and "Apache/2.0.35" (same content, different server!) -- keep hitting 'reload', you'll see it.
Final note... I switched off my denial function and took a look at Doubleclick -- both their .com domain and clients that serve from their .net ad servers. Yes the 'Great Satan' is joined at the hip with Lucifer himself (at least from what I'm told here). They're running Internet Information Server, both v4 and v5.
Re: Ad servers (Score:2)
http://ad.doubleclick.net/ad/N2613.osdn/B960233
Which idents as DCLK-HttpSvr
resolves to IP 204.253.104.80
Which is inside Doubleclick's Netblock
Double Click (NETBLK-UU-204-253-104) UU-204-253-104
IP 204.253.104.0 - 204.253.105.255
Your proxy drops connections with doubleclick but while you "weren't looking", Slashdot started having tea parties and playing house with them. Scan your logs of dropped connections and you will find those within the Doubleclick Netblock occured while you were surfing slashdot.
Re:I'll poke... (Score:2)
Nah, its must more cost effective to use ad networks; you can chain them together using redirects or rotate them. You basically have some flexibility if you are a large site, in terms of juggling multiple networks.
At any rate, building reporting systems for the immense data that comes from advertising is not trivial, especially considering the kind of criteria (unique users, frequency rate, etc) advertisers use to do media buys. And you need the reporting to sell your inventory effectively
Re:I'll poke... (Score:2)
Incedental to my reading slashdot, I have purchased "Pro" distros of Redhat and Mandrake for home and 3 cobalt servers for work. Slashdot itself is an advertisement for Linux. They can attempt to milk the ad cow dry but what they need to do instead of selling out to a company willing to violate my privacy, is stop posting cool stories about the companies that are actually benefiting the most from slashdot.
Redhat, pay up. Sun, pay up. Apple, pay up. Either that or loose your best press coverage in a community that has a hell of a lot of purchasing power. Companies will support the community provided by this forum or they will not be discussed, which based on the word of mouth nature of Linux, will kill those companies.
Sounds like extortion but it is simply the beneficiaries paying for service rendered. Send the mac addicts back to macslash. Support the forum or be excluded.
Advertising. (Score:2)
Funny, I've always considered its stability to be more of an advertisement for BSD.
Send the mac addicts back to macslash.
Hmm. I'm typing this on a Mac, which is my main machine, but from where I'm sitting I can see a Linux/PPC machine, a RedHat machine, and two OpenBSD machines (i386 and Sparc). That's just at home -- I won't get into what I've got sitting at work.
So do I still have to leave, you contentious prick?
--saint
Re:Advertising. (Score:2)
Take that chip on your shoulder back to the trailer park.
Re:I'll poke... (Score:2)
Paypal has gotten quite a bit of bad press here on slashdot, but were chosen to handle Slashdot's subscriptions anyway.
Why is Slashdot in bed with these slimeballs when they do not have to be?
Screw subscriptions. Screw banner ads. Use Galeon or Mozilla and turn off image downloads. (Or use lynx or w3m...). Because even if you get the payment service you like, Slashdot will still resort to it's shameless eyeball-whoring in stupid misleading article writeups, etc.
not just mod_perl needed (Score:2, Insightful)
Any one try it yet?
Re:not just mod_perl needed (Score:2, Informative)
Changelog (Score:5, Funny)
Changes since 2.0.32-beta:
*) connection.c: changed ++j to j++ in an attempt to fix a bug in mod_rewrite [Brian Pane]
*) connection.c: changed ++i to ++j in honor of myself [Joe Orton]
*) connection.c: fuck you guys, ++i is better [Justin Erenkrantz]
*) connection.c: changed i += 1 to i++ for better performance [Graham Leggett]
*) connection.c: changed i = i + 1 to i += 1 [Ian Holsman]
[...]
Re:Changelog (Score:2, Funny)
Re:Changelog (Score:3, Informative)
I don't mean to be nasty here, but NOTHING offends me more than an arrogant ignorant person. We all make mistakes, and thats cool, but when you jump down someone elses back with condescending remarks you better be sure that you know what you're talking about.
Without further ado, here are two C programs:
add.c:
main(){ int i; i = 0;i++;}
add2.c:
main(){int i;i = 0;i+=1;}
Now, we compile them using the -S option on gcc (in my case on a SPARC running Solaris, but I'd wager you'd get similar results on just about any supported architecture). So again, we do a:
% gcc -S add.c
% gcc -S add2.c
(I tried to post the
Now, do a 'diff' on 'em. Draw your own conclusions.
Re:Changelog (Score:2)
> % gcc -S add2.c
Let's try gcc -O -S:
-% diff add1.s add2.s
1c1
<
---
>
*cough*
Re:Changelog (Score:2)
Now, about the parse tree... I would agree that they are performing the same function, but given that gcc almost certainly parses its input with an LR(n)-parser, I'm going to go out an a limb and say that the trees for i+=1, i=i+1, i++ are different.
If you have differently structured input, and an (almost) context-free grammar to parse it... you'd better get different trees for different structures.
I also disagree that it has 'nothing to do with optimization'. If you just spat out assembly code from the tree, you *should* notice a difference in i=i+1, i++. If you do any type of basic optimization (even simple peephole optimization would catch this in the IR), then you'll end up with equal output.
I also respectfully disagree that RTL is a faithful reproduction of the original parse tree. From the 'Reading RTL' section of the gcc docs:
"Correct RTL for a given program is very dependent on the particular target machine. And the RTL does not contain all the information about the program."
Since an LR(1) parse tree of a program should look the same independant of the underlying architecture , I'm going to make the bold assumption that some optimizations take place at the RTL level. This seems very reasonable and is the case in other compilers I've worked with, but since I've never specifically worked with gcc, I'm not 100% sure.
I would imagine there is a way to get gcc to print out the parse tree, rather than the IR, but not being that familiar with it, I wouldn't know what that was. You could always grab the BNF spec for the C grammar and code it up in Bison
not usually (Score:2)
too much spare time methinks (Score:5, Funny)
Apache: *) connection.c: changed ++i to ++j in honor of myself [Joe Orton]
LinuxKernel: VM tweaks [read: ripped the arse out of the kernel and replaced it with someone else's]
Re:Changelog (Score:3, Funny)
this explains it. No wonder Apache was stuck on version 1 for so long!!
Apache Goes Gold (Score:2)
When did they sell 100,000 copies?
Re:Apache Goes Gold (Score:4, Informative)
Apache went gold a long time ago (Score:2)
Re:Apache went gold a long time ago (Score:2)
It was a long way to go for the +1 funny moderation. I didn't know all that about going gold, but I understood what was meant. I am very much ready to check out the new Apache.
Selling Apache (Score:2)
I had forgotten about Stronghold....
Mirror ? Someone willing to mirror it ? (Score:2)
Configuration, setup? (Score:3, Insightful)
I thought I heard somewhere that 2.0 might make it possible to have PHP scripts with per-user permissions, like you can get CGI scripts to do if you use suEXEC to setuid to the appropriate user before executing. This is important for servers with multiple users running their own web sites; even if all your users are trusted not to mess with each other's stuff you can run into icky situations where a PHP script writes to a file that the user then doesn't have FTP access to (so they have to write another PHP script to access it). Did I hear correctly? If so, what's involved in configuring it? If not, does anyone have any workarounds?
Re:Configuration, setup? (Score:5, Informative)
The short answer to your question: while yes, you can probably get your 1.3 config to work without *too* many changes, you should spend a bit more time exploring Apache 2.0, or you'll miss out on a lot of the benefits.
The configuration is totally different; it uses GNU autoconf now instead of the home-grown APACI system. The two have many similarities, but you should peruse all of the
options carefully.The perchild MPM (which provides the configurable userid per Apache child process that you mention) is possibly not yet working; it's still classified as experimental. But we'll probably be getting that cleaned up within another release or two.
april wil be the best month of the year (Score:2, Informative)
And StarOffice 1.0 (Score:2)
And GNOME 2? Not sure on that one.
comments split? (Score:2, Interesting)
What about LDAP support? (Score:2, Informative)
Re:What about LDAP support? (Score:2, Informative)
I'll run Apache 2.0 (Score:5, Funny)
Re:I'll run Apache 2.0 (Score:5, Funny)
Re:I'll run Apache 2.0 (Score:2, Funny)
Journalistic ethics in action... ;-) (Score:5, Funny)
-Adam
CONGRATS! (Score:2)
Yeeeaah! Do you think this is big enough to win back some numbers for Apache [slashdot.org]? I noticed that when PHP 4 came out, it got a pretty big jump in numbers [php.net] (early-mid 2000). Apache 2 seems like A Big Deal that might punch up the Apache stats.
recent benchmarks? (Score:3, Interesting)
Re:recent benchmarks? (Score:3, Informative)
As for iPlanet and Zeus
Re:recent benchmarks? (Score:3, Funny)
Sun SPARCstation 20, more than enough power... but hey, I'll take any extra performance I can get!
Re:recent benchmarks? (Score:2)
at work we have a lot of servers that run on Sun Sparcstations less than 4. We have a few sparc station 10's, but the majority of them are 1/1+ and 2's, not to mention IPC, IPX, and LX/Classic lunchboxes.
these are all running apache 1.3.19 fine, i wonder if they'll still run 2.0.x without crippling themselves. (IPC's and SPARC 1's are 12 mhz, but still serve like 3 million hits a month)
In any case, i'm jealous of your sparcstation 20.
Eudora.com ran on a Sparc20 (Score:2)
For a long long time, eudora.com ran on a Sparc20. It was upgraded to an Ultra1 somewhere circa Eudora Pro 3.0. The Ultra served bewteen 5 and 8 million requests per month. That was with apache something old, and perl CGI scripts (no mod_perl) *everywhere*. Lots of random Perl, lots of SSI (in fact, I think we parsed every page for SSI). None of that phased it. Ran like a champ.
We had a discussion at work about that server. Until we moved it one time to a new building, it had an uptime of like a year. We wondered how long it would have stayed up (assuming it wouldn't have been rooted -- since ftp, telnet and r-stuff were all enabled and open). I would have betted a long time.
We also remarked that Suns hold their value very well. Old Sparcs make great DNS servers, even nowadays. And the Ultra1 was, IMHO, one of the best small server/workstations Sun ever built. Imagine trying to get use out of a nine year old PC. Heh heh.
-B
Re:recent benchmarks? (Score:2)
the image servers run on this (Score:4, Informative)
Re:the image servers run on this (Score:2)
Could we run the core of Slashdot on it? No.
The problem is that Apache by itself is pretty much worthless in today's web environment by itself. You need other modules like mod_perl, PHP, and such to really make any use of it.
Till they are stable and are in production form Apache 2.0 is pretty much useless from my perspective.
Perspective is completly needs related and should not be considered a sweeping statement about said product nor should it be seen as an endorsement nor as a warning. Supply your own batteries to said opinion and do not feed after midnight.
CowboyNeal (Score:3, Funny)
It should be: "on CowboyNeal, which I rooted"
Got root?
The Raven.
Next distros (Score:2)
Where do they recommend to use 2.0 over 1.3.24? (Score:3, Interesting)
Re:Where do they recommend to use 2.0 over 1.3.24? (Score:2)
...unless you want to send multiple Set-Cookie headers from mod_perl in a single response, in which case you're better off with an earlier version because this (pretty basic) functionality is broken in 1.3.24 (see the apache mailing list(s) for more details).
Any good books? (Score:2)
I found one book last time I went to the bookshop, but all it contained was listings of various config files... It certainly wasn't a lot the author made on her own in there...
Kiwi filesystem? (Score:4, Interesting)
WebDAV seems great when you try to work with larger groups. While I do OK with FTP and similar stuff, I think it would be a nice feature to be able to mount a remote WebDAV directory, and it seems like this is available in the form of Kiwi Filesystem [stanford.edu]
Does anybody have any experience with this software? Has it been included in any distros?
Re:Kiwi filesystem? (Score:2, Interesting)
Re:Kiwi filesystem? (Score:4, Informative)
I haven't used the Kiwi File System though.
apt-get (Score:2, Insightful)
I'll run apache 2.0 when apt-get upgrade decides i will.
i'll run it when... (Score:2, Insightful)
If it's good enuf for Cowboy Neal... (Score:2)
Oh joy. (Score:3, Informative)
thttpd is good for static content, but.. (Score:3, Informative)
Personally I use quite a few of the features of Apache; mod_php (thttpd has this, but each script blocks the server, Not Good[tm] unless your scripts are trivial), mod_proxy (Outside world -> FreeBSD/Apache -> WinXP/Apache, appears as part of my web tree, nice and clean), mod_rewrite (how anyone can put up with the crappy URL's dynamic sites like I don't know, a 1:1 mapping of URL's to the filesystem is bad enough) and mod_gzip (does thttpd support any content negotiation?) to name the main ones, and this is just a miniscule personal server
Re:Oh joy. (Score:2)
In fact, if you just need to serve up a bit of dynamic content, you can run apache and tux together and tux will forward requests for dynamic content to apache.
Tux is BTW, the fastest web server according to SpecWeb. Nough said.
Roxen (Score:2, Interesting)
When Slashdot runs it? (Score:4, Funny)
When mod_perl runs 857 / 649%
When it becomes 2.1 1008 / 763%
Brian B spins it urban style 390 / 295%
Slashdot runs it 708 / 536%
Already running it, thank you 455 / 344%
On CowboyNeals box, which I've r00t3d 2594 / 1965%
132 total votes.
Error when building on Solaris 8 (Score:3, Interesting)
In file included from /home/isaac/httpd-2.0.35/srclib/apr/atomic/so laris_sparc/apr_atomic_sparc.s:63: /usr/include/sy s/asm_linkage.h:104: `#' operator should be followed by a macro argument name
(Repeats for several different lines)
Looks like possibly a broken include file on Solaris, any ideas?
Re:Error when building on Solaris 8 (Score:2, Informative)
Re:Work with OSX? (Score:3, Funny)
unless, of course, you want it to run at a usable speed...
Watch Software Update (Score:2, Informative)
They are usually pretty good with stuff like that.
Re:Watch Software Update (Score:4, Insightful)
I seriously doubt Apple would "slipstream" Apache 2.0 onto users' computers via Software Update. Apache 2.0 breaks backwards compatibility on many Apache modules and who know what else. Since Apache 2.0 is largely untested by the public, I bet Apple will wait for a few more updates and then include it later in Mac OS X 10.2.
Re:I'll use it when Debian packages it. (Score:2, Informative)
They're not "official" yet, but here you go. [debian.org]
Re:I'll use it when Debian packages it. (Score:2, Insightful)
If you're not using Debian, you're wasting your time -- literally.
Re:Windows XP (Score:3, Interesting)
Re:It would appear... (Score:2)
oops, wait..make that a few hours
telnet www.apache.org 80
GET / HTTP/1.0
Apache/2.0.35 Server
Re:runs great on FreeBSD! (Score:3, Informative)
the prefork MPM is the default on Unix in general. We talked about switching the worker MPM (the hybrid threads/processes one) to be the default, but didn't do it for some reason or another. That's not to say that you shouldn't use the worker MPM... if your platform has good threading support, then by all means, worker is the way to go. It scales far, far better than prefork. However, it's true that you can't run a threaded Apache (and therefore the worker MPM) on FreeBSD right now. We're working on that, but it's still unclear exactly where the problem is.
the prefork MPM is not listed as experimental. If it is, it's a mistake (tell me where it says that and I'll change it!). The only one that's listed as experimental is perchild, which is the one that lets you configure the server to run certain virtual hosts under certain child processes and to assign different uid's to each child process.