查看 Dreamhost 服务器上的网站数量

作者:dreamhost
网址:


[转载自网络]

所有的共享主机商都在 overselling, Dreamhost 大概是被批评的最多的一个。关于 overselling, 我真的不相信有哪个共享主机商不这样做,因为每一个新增的用户对主机带来的压力是未知的,有可能这个用户会把主机拖垮,但更大的可能,新增的这个用户像我一样,只是建个小小的 Blog, 对带宽对 CPU 都不会增加什么压力。主机商是商人,两者之间多数会选择往主机上多增加几个用户,同时抱希望于这些用户不会拖垮主机。

Dreamhost 自己说的,shared hosting 是他们的衣食父母 (Bread and Butter), 其实他们在共享主机方面做的也还算是不错了,提供的许多功能都是其它共享主机商所不具备的。当然如果你的应用是 CPU intensive 的那肯定是玩不转的,毕竟价钱摆在那里,永远不要奢望买到价钱以外的东西。

现在回到题目,既然 Dreamhost 在 overselling, 那它到底 oversell 的有多厉害呢?无法去获得每台服务器上有多少个网站在运行,但可以从服务器的用户数量去猜个大概。Dreamhost 允许每个账号创建 75 个用户,那么看看主机上有多少个用户,大概也对 Dreamhost 的 oversell 有个初步的了解。

在 Shell 下运行:

[goober]$ grep -i /home/ /etc/passwd | wc -l
1120

1120 就是我所在的服务器 goober 上用户的数量,这里包括了 SSH 用户和 FTP 用户。考虑到一般 FTP 用户不会给服务器带来太多的压力,我把他们从结果中去除,只看 SSH 用户的数量。

[goober]$ grep -i /home/ /etc/passwd | grep /bin/.*sh$ | wc -l
361

我所在的这台服务器上有 361 个 SSH 用户,这是一个不小的数字了,假设每个 SSH 用户对应一个网站,这台服务器 host 了 361 个网站。但经验告诉我,真正的数量肯定不止 361 个。原因有二,一是不是每个 SSH 用户都只有一个网站;二是,不是每个有网站的用户都是 SSH 用户,很多合租的人只用 FTP 账户的。

那么我的结论是,我所在的这台服务器上起码有 361 个网站,我觉得数量不算少了,奇怪的是我并没有感觉速度慢或者是 downtime 比较多,可能是我的运气比较好。怪不得 hhalloyy 整天抱怨自己的那台服务器总是 down 掉,看来他的邻居要么太多,要么有人不乖的说,呵呵。

你在用 Dreamhost 吗?你所在的主机上有多少个用户呢?大家都来说说吧!

  • ---> 收藏到书签 
 | 这篇【查看 Dreamhost 服务器上的网站数量】来自 dreamhost.ajaxeye.com |



本文相关评论|Comments

I never considered myself unique, but people are constantly telling me, "you are a miracle." To me, I was just an ordinary "guy" with realistic goals and big dreams.dofus kamas I was a 19-year-old student at the University of Texas and well on my way toward fulfilling my "big dream" of one day becoming an 1)orthopedic surgeon.  kamas dofus On the night of February 17, 1981 I was studying for an 2)Organic Chemistry test at the library with Sharon, my girlfriend of three years.Lord of the Rings Online Gold Sharon had asked me to drive her back to her dormitory as it was getting quite late.LOTRO Gold We got into my car,

silkroad online gold not realizing that just getting into a car would never quite be the same for me again. I quickly noticed that my gas 3)gauge was registered on empty so I pulled into a nearby convenience store to buy $2.00 worth of gas.kamas dofusLOTR Gold "I'll be back in two minutes," I yelled at Sharon as I closed the door. But instead, those two minutes changed my life forever. dofus kamas  Entering the convenience store was like entering the 4)twilight zone. On the outside I was a healthy, athletic, pre-med student, but on the inside I was just another statistic of a violent crime. I thought I was entering an empty store,

but suddenly I realized it was not empty at all. Three robbers were in the process of committing a robbery and my entrance into the store caught them by surprise. One of the criminals immediately 5)shoved a .38 6)caliber handgun to my head, ordered me to the cooler, pushed me down on the floor, and pumped a bullet into the back of my head - execution style. He obviously thought I was dead because he did not shoot me again. The 7) trio of thieves finished robbing the store and left calmly.  Meanwhile, Sharon wondered why I had not returned. After seeing the three men leave the store she really began to worry as I was the last person she saw entering the store. She quickly went inside to look for me, but saw no one-only an almost empty cash register containing one check and several pennies. Quickly she ran down each aisle shouting, "Mike, Mike!" fly for fun penya  Just then the 8) attendant appeared from the back of the store shouting,flyff penya "Lady, get down on the floor. I've just been robbed and shot at!"   Sharon quickly dropped to the floor screaming,

buy flyff gold"Have you seen my boyfriend? He has 9)auburn hair." The man did not reply but went back to the cooler where he found me choking on my vomit.flyff money The attendant quickly cleaned my mouth and then called for the police and an ambulance.  ffxi gil Sharon was in shock. She was beginning to understand that I was hurt, but she could not begin to comprehend or imagine the severity of my injury.  Final Fantasy XI gil When the police arrived they immediately called the 10)homicide division as they did not think I would survive and the 11)paramedic reported that she had never seen a person so severely wounded survive.buy ffxi gil At 1:30 a.m. my parents who lived in Houston, were awakened by a telephone call from Brackenridge Hospital advising them to come to Austin as soon as possible for they feared I would not make it through the night. But I did make it through the night and early in the morning the 12)neurosurgeon decided to operate.

However, he quickly informed my family and Sharon   that my chances of surviving the surgery were only 40/60. If this were not bad enough, the neurosurgeon further shocked my family by telling them what life would be like for me if I 13)beat the odds and survived. He said I probably would never walk, talk, or be able to understand even simple commands.   My family was hoping and praying to hear even the slightest bit of encouragement from that doctor. Instead, his pessimistic words gave my family no reason to believe that I would ever again buy Warhammer gold

be a productive member of society.Warhammer gold But once again I beat the odds and survived the three and a half hours of surgery.   Granted, I still could not talk,buy Warhammer gold my entire right side was paralyzed and many people thought I could not understand, but at least I was stable. After one week Warhammer gold in a private room the d
We are reading the first verse of the first chapter of a book whose pages are infinite…”  I do not know who wrote those words, but I have always liked them as a reminder that the future can be anything we want to make it. We can take the mysterious,wow gold hazy future and carve out of it anything that we can imagine, just like a sculptor carves a statue from a shapeless stone.   wow gold We are all in the position of the farmer. If we plant a good seed, we reap a good harvest. If our seed is poor and full of weeds, wow gold we reap a useless crop. If we plant nothing at all, wow gold we harvest nothing at all.  wow gold I want the future to be better than the past.wow gold I don’t want it contaminated by the mistakes and errors with which history is filled. wow gold We should all be concerned about the future because that is where we will spend the reminder of our lives.  wow gold The past is gone and static. Nothing we can do will change it.wow gold The future is before us and dynamic. wow gold Everything we do will effect it. Each day will brings with it new frontiers, in our homes and in our businesses, if we will only recognize them. We are just at the beginning of the progress in every field of human endeavor.
[escobar]$ grep -i /home/ /etc/passwd | wc -l
1545
[escobar]$ grep -i /home/ /etc/passwd | grep /bin/.*sh$ | wc -l
457
下面是本站服务器上的用户数量

[******]$ grep -i /home/ /etc/passwd | wc -l
697

[******]$ grep -i /home/ /etc/passwd | grep /bin/.*.sh$ | wc -l
257

发表该文评论|Send Comment



关于本文|About The Blog

这篇 Blog 于 2008-03-29 23:49:00 发布在 dreamhost空间指南
上一篇: Dreamhost服务器IP列表
下一篇: 详解DreamHost的营销模式
首页

相关文章|Related Articles

  • 没有相关文章


相关标签|Related Tags