Why you can't mix wildcard IP port binding with other bindings

A while back I wrote, about TCP portbinding:

Unfortunately, you can't bind a port to the generic wildcard addressif anyone is using the port on a specific IP address, hence the Apacherestart problem. (Why this port binding limitation is a sensibleis beyond the scope of this margin, but it is, however annoying itperiodically is.)

Today I feel like explaining why. The core problem is deciding whogets handed a new connection (or for UDP, a new packet); if


空空的 Google IG

看到 這篇文章 介紹如何將 Google Personalized Homepage 加入到 Firefox 的 Sidebar 上,看來蠻實用的。我自己不常用 Personalized Homepage,只有一些測試用的玩意兒,而且很久沒有碰過了。進入 https://www.google.com/ig ,按新增內容,卻只見到這些:

Photobucket - Video and Image Hosting

甚麼都沒有得加?多番嘗試之


街霸回顧 (一):緣起

sf

我是看《街頭霸王》大的。

當年 CAPCOM 遊戲《Street Fighter 2》(SF2)越來越熱,記憶中我第一次接觸 SF2 是在《兒童周刊》的一篇連載漫畫(名字忘了),故事是兩個小孩打機高手合作打比賽之類,而當中的遊戲正正是SF2,加上當時的


愛情呀愛情呀,呢個blog終於有愛情喇!

文明單位:愛情:校園、失敗、變態
嘉賓: 袁兆昌
(節目中播了三首好歌,估下我地聽緊個陣係咩樣?)

本來打算請袁兆昌來賣青春,誰知他一開口就是操控、同性戀,黑色到不得了,袁兆昌真係,一世都估唔到。

這個時候有人

一個人的力量

一個人的力量可以做些什麼?
這常常是我想不通的問題
我膽小如鼠
做不了大事
今日讀報發現這麼 一篇有力的文章
此君行文穩健細緻
大有見地
而且寫這樣的文章而署真名
我佩服其勇氣
有時我想
如果所有有能力寫文章的人都交得出這

Thesis: SMP is a failure for most Internet servers

I used to be a big proponent of getting SMP PClone servers instead ofuniprocessor ones. Nowadays, though, I'm not so sure, and I now activelytilt towards UP machines.

The advantage of SMP over UP is more CPU capacity and to someextent larger caches (if the OS scheduling works out right). ButInternet-facing servers are rarely hurting for more CPU; often youreally want more IO and maybe more memory.

(This assumes that the server is not grotesquely overconfigured to startwith,


理論小劇場(久違了)

通常自稱盲動無理性不懂理論的詩壇前輩劉某,日前介入另一詩壇名宿與某肥胖女子的(偽)理論爭論中,並在肥胖女子吹得如皮球鼓漲的時候,穿過理論迷障,以一種易家蘭式的堅定和銳利道:你蝦佢囉。在場人士為其氣勢所

偷拍 – 誰被恐嚇?

Photobucket - Video and Image Hosting

去看《偷拍》的經驗有點特別,有很多觀眾都等到放映機放完所有片子才離開,只因心裏心裏有個謎。 [Spoiler alert!]

故事講的是 Georges 一家陸續接收到一些監視其家的錄影帶和一些奇怪的畫,然後我們就跟著主角本身調查這件事,也發


Weekly spam summary on July 15th, 2006

This week, we:

  • got 12,289 messages from 220 different IP addresses.
  • handled 18,265 sessions from 954 different IP addresses.
  • received 143,889 connections from at least 48,413 different IPaddresses.
  • hit a highwater of 14 connections being checked at once.

Session volume is up slightly from last week ,but everything else is down. The per day table is relatively boring, soI'm omitting it


讀書雜感


Continue reading...