microsoft inbound connection limit nazi says: no connection for you!

So, I put together a Win32 binary release of AOLserver 4 and decided to do some benchmarking on my Dell C840 laptop running WinXP Home.

To my surprise, I discovered that Microsoft has imposed an Inbound Connections Limit in Windows XP! Of course, this is nothing new — Microsoft introduced this back in 1996 or thereabouts with the release of Windows NT 4.0 Workstation. I found a good article by Tim O’Reilly about it. In his article, he indicates that only inbound connections on “reserved ports” (those below 1024) are supposed to be limited, but my tests on WinXP Home show that even port 8000 is being limited.

In these Microsoft KB articles it seems that the limit may be controlled by a registry setting:

Check to see if the server was configured by upgrading a computer running Windows NT Workstation to Windows NT Server. If it was, the following registry parameter may need to be increased from a hex value of 0xa (10) to 0xFFFFFFFF:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\Users

However, twiddling that setting doesn’t seem to make any difference — I bet the value is baked into one of the DLLs that the non-Server versions ship with.

So, the bad news is that unless you’re running one of the “Server” versions of Windows, your going to be hurt by this foolish inbound connection limit. This means that running a web server on your non-Server machine may flake out if your application that you’re developing initiates many requests quickly — things like Web Services-like traffic in an IFRAME or hidden DIV come to mind.

Perhaps Microsoft could release a “WinXP Developer” edition that’s the same price and feature set as WinXP Professional but without the connection limit. Production servers should still use the Server edition, but at least this way folks can do development and testing without paying the ridiculous cost of a Server license for their desktop machine!

spammers go away

OK, early this morning I had the pleasure of finding that some blog spammers blessed me with 150 new comment spams. Took me almost a whole 5 minutes to delete them all …

What does this mean? I’ve gone and disabled the MT comment script, so you can’t leave comments (nor spam) anymore. When I get some time, I’ll implement a better comment system and then everything will be back to normal. But for now, there’s more folks leaving spam in my blog than real comments, so — I’m turning it off.

alcohol + SUV = Grand Theft Auto sim?

Apparently someone got liquored up, hopped in his GMC Yukon SUV, and went on a rampage, smashing up 17 cars and doing a bunch of property damage.

Police arrested Matthew Lyman, 24, on suspicion of driving under the influence and multiple counts of hit-and-run driving.

Witnesses said that the destruction began some time after 2 a.m. Tuesday when a dark GMC Yukon SUV began smashing into parked cars. The driver went north on Mission Boulevard, turned east on Turquoise Street, south on Bayard Street and then headed back toward the beach on Tourmaline Street. All along the way, he smashed into cars parked at the curb, demolishing many of them.

Someone posted a series of pictures in an excellent photo-essay: How many cars can you hit in one night???.

One fire hydrant, one flower shop, one dog, and nineteen cars, not including his own (I omitted pictures of four cars with minor damage).

And people say New Jersey drivers are bad …

go go gadget thumbs!

So, it appears that people actually try to set records for sending text messages on cellphones. There’s even a $17,500 prize for the winner, Kimberly Yeo. She managed to press those little mini-chicklets fast enough to type this 160-character message in 43 seconds:

“The razor-toothed piranhas of the genera Serrasalmus and Pygocentrus are the most ferocious freshwater fish in the world. In reality they seldom attack a human.”

But, who ever would type a message like that, anyway? The real question is: how many seconds does it take to text “hey u wanna mak hot fuk after skool”?

archetypus, an enigma

Thinking of places to go and hang out in New Jersey, I remembered a place I used to go in my youth: Cafe Enigma, in Edgewater. Of course, it’s been many years since it was known as Enigma (and I’m sure most folks today who know about the place don’t even know it was once called Enigma), and it’s no longer where it used to be in Edgewater (it’s moved a few buildings down the same street), but the decor has slowly been reconstructed but this time in a much larger space, and with what seems to be a much larger budget.

Today, the place is known as Cafe Archetypus (map, directions), located on 266 River Road in Edgewater, NJ. However, with recent construction (recent being the past 5 years or so), Edgewater has split River Road onto a newly paved road and left the original River Road as Old River Road. Archetypus may be on Old River Road, although even their website doesn’t mention this.

Anyhow, if you’re in New Jersey and are looking for a place to simply hang out with friends, talk and examine some really creative uses for plaster and lighting, definitely give this place a visit. You might just find me there, one night.

aolserver, php and stack size

Today, Cristian Andrei Calin asked on the AOLSERVER mailing list (and here’s my final response containing the solution outlined below) about getting PHP working under AOLserver. Specifically, trying to get phpBB2 working, which was causing AOLserver to crash. So, being the ever-so-eager-to-help self, I decided to download the latest phpBB2 code and try and install it.

After lots of walking of stack-traces of core dumps in gdb, it dawned on me: I should check the per-thread stack size in AOLserver! Duh. Yes, I had it set to the default of 128KB. Increasing it to 1MB made everything work perfectly.

To check what your server’s current stack size is, connect to the control port (aka “nscp into your server”) and issue the command:

  nscp> ns_config ns/threads stacksize
  131072

There, it’s telling me that the stack size is 131,072 bytes (or 128KB). Increase it by modifying your config .tcl file like so:

  ns_section "ns/threads"
  ns_param stacksize [expr 1024 * 1024]    ;# 1MB

For sites that run a lot of PHP, you may want to increase it to 4MB or even larger, depending on your needs.

hail to the chief

On May 20, the official announcement went out that I am now the project leader for AOLserver.

What is AOLserver? It’s a highly scalable, multi-threaded web server that powers many large web sites across the Internet. Like Apache, it is also free and open source. Tcl is the primary scripting language for building applications that run on AOLserver, but support for Java, PHP, Python and others are being added or made better every day.

I’ve posted a roadmap up on the AOLserver Wiki which should give everyone an idea of what my goals for the project are in the next couple of months of 2004.

I welcome everyone who’s interested in AOLserver to join the AOLSERVER mailing list (archives). I hope to see you there!

live, or memorex?

Apparently, Andy Kaufman has come back from the dead on May 16th, 2004, 20 years after he “died.” He’s so alive, he’s even got his own blog.

Do I think he faked his death? Yes, it’d be an ultimate performance that few others can try to even out-do. However, it’d be even more surreal if people firmly believe that he faked his death, but he really did die back on May 16th, 1984 — that’d almost be more Andy-like than him faking his death and coming back 20 years later … living a life such that when he died, people would readily believe he faked his death, only to, sometime in distant future, learn that he really did die that day. Joke’s on them, and Andy’s getting the last laugh, as usual.

Do I think it’s really his blog? Sure — why not, if he truly is still alive. Some folks would believe he’s dead and the blog is a well-timed hoax. Some would say “see, I told you he faked his death and he’s still alive, and this blog is proof!” Idiots. Blogs claiming to be owned by someone else are not proof of that person’s existance. There have been plenty of people who invent fictitious people and start a blog as them and convince many people that they are a real person, then reveal a terminal disease which they subsequently die from, and watch as (gullible) real people weep for them.

“There’s a sucker born every minute.” — David Hannum

Now, before you complain about me mis-attributing that quote and that it was P. T. Barnum who said it, read this first. Only fitting that the most appropriate quote to describe Andy Kaufman’s hoax is itself related to a great hoax about the Cardiff Giant.

Update: Looks like Snopes has a good write-up of the hoax status now. Here’s the link.

the “van helsing picture show”

Well, this past weekend I had a chance to go see Van Helsing (imdb) (trailer). I think it was meant to be titled the “Van Helsing Picture Show,” as it so remarkably resembles our favorite Rocky Horror Picture Show. How? Why? Start with the characters …

free toys

It appears that Microsoft is giving away its Visual C++ Toolkit 2003 compiler for free — probably as a move to get deeper penetration of its .NET amongst the free and open source community, sniping at Java as well as projects out to displace Microsoft such as DotGNU. All Microsoft would have to do at this point is port the VC++ Toolkit 2003 to Linux and release a free CLR for Linux, and DotGNU is as good as dead, and Java could be in deep trouble.