# What is this running on?

**URL:** <https://cog.discourse.group/t/what-is-this-running-on/29>\
**Category:** meta\
**Created:** [May 29, 2013, 7:40pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29 "2013-05-29T19:40:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lee\_Ars](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/lee_ars/32/2338_2.png) [@Lee\_Ars](https://cog.discourse.group/u/Lee_Ars)\
**Post date:** [May 29, 2013, 7:40pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/1 "2013-05-29T19:40:04Z")

</div>

This instance of Discourse is currently running on Nginx 1.5.0 (dev) with [Phusion Passenger](https://www.phusionpassenger.com/) 4.0.4.

Discourse itself is a Ruby application; Passenger is the application server for Ruby. Using Passenger lets me stick with Nginx for the heavy lifting. It also uses PostgreSQL for the back-end database, and [Redis](http://redis.io) for caching and other stuff.

The pages you’re served are almost all generated via client-side javascript (check the page source!).

It’s definitely different from a traditional phpbb forum application.

---

<div class="post-metadata">

**Author:** ![Lee\_Ars](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/lee_ars/32/2338_2.png) [@Lee\_Ars](https://cog.discourse.group/u/Lee_Ars)\
**Post date:** [June 10, 2013, 2:43am UTC](https://cog.discourse.group/t/what-is-this-running-on/29/2 "2013-06-10T02:43:01Z")

</div>

And NOW we’re using Nginx 1.5.1 and Phusion Passenger 4.0.5. We’re also using Ruby 2.0.0-p195.

Feeling justified in splurging a bit when I was building this web server last year. Got PLENTY of headroom available—the thing that’s holding me back more than anything else is Comcast’s bandwidth. Wish they had more affordable business class plans that I could upgrade to. Don’t feel like paying another $40 a month just to get more upstream bandwidth.

---

<div class="post-metadata">

**Author:** ![Lee\_Ars](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/lee_ars/32/2338_2.png) [@Lee\_Ars](https://cog.discourse.group/u/Lee_Ars)\
**Post date:** [June 10, 2013, 2:52am UTC](https://cog.discourse.group/t/what-is-this-running-on/29/3 "2013-06-10T02:52:54Z")

</div>

For hardware, BTW, the CoG web server (which this is running on) is:

- An Intel Core [i7-2600S](http://ark.intel.com/products/52215) CPU @ 2.80GHz (32nm Sandy Bridge, low-power variant)
- An Intel BOXDH67CLB3 LGA2011 motherboard
- 16GB PC3-10666 DDR3 (1333MHz) RAM
- One Corsair 90GB Force GT SATA III SSD

Cheap, and frankly, oversized even for what I’m doing (and a similar amount of hardware would cost $200 or more per month if I was paying for dedicated hosting).

---

<div class="post-metadata">

**Author:** ![Lee\_Ars](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/lee_ars/32/2338_2.png) [@Lee\_Ars](https://cog.discourse.group/u/Lee_Ars)\
**Post date:** [June 17, 2013, 4:17pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/6 "2013-06-17T16:17:42Z")

</div>

Oh, wow, that’s awesome. For a full dedicated server, those prices are ridiculously good.

---

<div class="post-metadata">

**Author:** ![Lee\_Ars](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/lee_ars/32/2338_2.png) [@Lee\_Ars](https://cog.discourse.group/u/Lee_Ars)\
**Post date:** [June 17, 2013, 4:49pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/8 "2013-06-17T16:49:33Z")

</div>

I did a quick update to make sure we were on the latest code revision. You might have been refreshing or logging on right when I was doing that.

---

<div class="post-metadata">

**Author:** ![Lee\_Ars](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/lee_ars/32/2338_2.png) [@Lee\_Ars](https://cog.discourse.group/u/Lee_Ars)\
**Post date:** [June 3, 2015, 9:14pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/9 "2015-06-03T21:14:51Z")

</div>

HELLO TOPIC FROM TWO YEARS AGO.

Just FYI in case anyone is interested, we jettisoned Passenger some time ago. Discourse is now a containerized [Docker](http://docker.io) application.

Our web stack is HAProxy (for SSL/TLS termination) -\> Varnish (cache layer) -\> Nginx 1.9.1 -\> Discourse Docker (which contains Nginx and Unicorn and all the Ruby bullshit). Discourse also uses postgresql and redis.

---

<div class="post-metadata">

**Author:** ![SuicidalRat](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/suicidalrat/32/69_2.png) [@SuicidalRat](https://cog.discourse.group/u/SuicidalRat)\
**Post date:** [June 4, 2015, 8:31am UTC](https://cog.discourse.group/t/what-is-this-running-on/29/10 "2015-06-04T08:31:10Z")

</div>

I thought it was running on sunshine and dreams!! WEEP!! RUIN MY DREAMS MR. SMILING DINOSAUR WHO I USE TO KNOW AS KEEP AND HUMP THEIR LEG AS WELL, JACK THE INVISIBLE YORKIE!! ~flees into the shoe section`

---

<div class="post-metadata">

**Author:** ![Woodman](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/woodman/32/24_2.png) [@Woodman](https://cog.discourse.group/u/Woodman)\
**Post date:** [June 4, 2015, 12:02pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/11 "2015-06-04T12:02:30Z")

</div>

I need some secobarbital in the shoe section please. Also clean up.

---

<div class="post-metadata">

**Author:** ![Viking](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/viking/32/32_2.png) [@Viking](https://cog.discourse.group/u/Viking)\
**Post date:** [June 8, 2015, 1:44am UTC](https://cog.discourse.group/t/what-is-this-running-on/29/12 "2015-06-08T01:44:39Z")

</div>

I don’t know if the latest upgrade has anything to do with what I’m seeing…

Since I got back, these forums have been really, really slow to load. Looking at my network traffic, my browser is pulling down some insane amount of data from the server. On a mobile device (3G connection), it’s so slow as to be useless.

---

<div class="post-metadata">

**Author:** ![ClockWorkXon](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/clockworkxon/32/593_2.png) [@ClockWorkXon](https://cog.discourse.group/u/ClockWorkXon)\
**Post date:** [June 8, 2015, 3:29am UTC](https://cog.discourse.group/t/what-is-this-running-on/29/13 "2015-06-08T03:29:51Z")

</div>

I’m seeing some complaints regarding the latest “updates” of Firefox and Chrome. Not sure if Opera, Safari, or IE are acting the same.

Oh, what am I saying? IE is always the browser of last resort - like strychnine is the painkiller of last resort.

---

<div class="post-metadata">

**Author:** ![Lee\_Ars](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/lee_ars/32/2338_2.png) [@Lee\_Ars](https://cog.discourse.group/u/Lee_Ars)\
**Post date:** [June 8, 2015, 6:48pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/14 "2015-06-08T18:48:06Z")

</div>

> [@Viking](#):
>
> I don’t know if the latest upgrade has anything to do with what I’m seeing…
> 
> Since I got back, these forums have been really, really slow to load. Looking at my network traffic, my browser is pulling down some insane amount of data from the server. On a mobile device (3G connection), it’s so slow as to be useless.

Hmmm. Not sure wtf that is. Did a quick update to the latest codebase again just now, so let me know if it’s still going on.

---

<div class="post-metadata">

**Author:** ![Viking](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/viking/32/32_2.png) [@Viking](https://cog.discourse.group/u/Viking)\
**Post date:** [June 9, 2015, 3:14pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/15 "2015-06-09T15:14:17Z")

</div>

No real testing done, but it seems faster today. If I remember, I’ll try to measure things.

---

<div class="post-metadata">

**Author:** ![Lee\_Ars](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/lee_ars/32/2338_2.png) [@Lee\_Ars](https://cog.discourse.group/u/Lee_Ars)\
**Post date:** [June 9, 2015, 7:04pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/16 "2015-06-09T19:04:36Z")

</div>

FWIW, the built-in little timer tool thing that I see as the admin doesn’t show anything amiss:

![](https://us1.discourse-cdn.com/flex001/uploads/cog/original/1X/fa98e3973df0df7cf0a2b241ce92c23c5f42cd46.png)

If it starts to look weird again, pop open the Chrome dev console if you can and see what elements are lagging.

---

<div class="post-metadata">

**Author:** ![Woodman](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/woodman/32/24_2.png) [@Woodman](https://cog.discourse.group/u/Woodman)\
**Post date:** [June 9, 2015, 7:30pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/17 "2015-06-09T19:30:39Z")

</div>

Running on - running on empty

Running on - running blind

Running on - running into the sun

But I’m running behind

---

<div class="post-metadata">

**Author:** ![ClockWorkXon](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/clockworkxon/32/593_2.png) [@ClockWorkXon](https://cog.discourse.group/u/ClockWorkXon)\
**Post date:** [June 9, 2015, 10:32pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/18 "2015-06-09T22:32:44Z")

</div>

I’m running on fumes.

In this neighborhood, it’s mostly pot fumes, crack fumes, taqueria fumes,carbon monoxide fumes…

---

<div class="post-metadata">

**Author:** ![Force10](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/force10/32/1550_2.png) [@Force10](https://cog.discourse.group/u/Force10)\
**Post date:** [June 10, 2015, 12:36am UTC](https://cog.discourse.group/t/what-is-this-running-on/29/19 "2015-06-10T00:36:31Z")

</div>

Nothing wrong with taqueria fumes.

---

<div class="post-metadata">

**Author:** ![Lee\_Ars](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/lee_ars/32/2338_2.png) [@Lee\_Ars](https://cog.discourse.group/u/Lee_Ars)\
**Post date:** [July 2, 2015, 2:15pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/20 "2015-07-02T14:15:22Z")

</div>

The UPS for the two web servers died yesterday out of the blue. No idea why. Tried replacing the battery, but it didn’t help—something in the actual UPS itself is broke. Still works in bypass, so I’ve got a new one ordered and the web servers are running without battery backup.

There’ll be some more downtime tomorrow when the new UPS shows up and I power the servers down to plug it in.

---

<div class="post-metadata">

**Author:** ![Woodman](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/woodman/32/24_2.png) [@Woodman](https://cog.discourse.group/u/Woodman)\
**Post date:** [July 2, 2015, 2:21pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/21 "2015-07-02T14:21:19Z")

</div>

Did the magic smoke containment unit fail?

---

<div class="post-metadata">

**Author:** ![ClockWorkXon](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/clockworkxon/32/593_2.png) [@ClockWorkXon](https://cog.discourse.group/u/ClockWorkXon)\
**Post date:** [July 2, 2015, 3:13pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/22 "2015-07-02T15:13:07Z")

</div>

> [@Woodman](#):
>
> Did the magic smoke containment unit fail?

:flip: :flip: :flip:

No, it’s due to… Reverse bit-wise polarity mismatch in the I/O handler driver database.

---

<div class="post-metadata">

**Author:** ![Lee\_Ars](https://sea1.discourse-cdn.com/flex001/user_avatar/cog.discourse.group/lee_ars/32/2338_2.png) [@Lee\_Ars](https://cog.discourse.group/u/Lee_Ars)\
**Post date:** [July 2, 2015, 9:10pm UTC](https://cog.discourse.group/t/what-is-this-running-on/29/23 "2015-07-02T21:10:34Z")

</div>

> [@Woodman](#):
>
> Did the magic smoke containment unit fail?

Honestly I have no idea what went wrong. The three things connected to it (two web servers, one more server that runs prosody and bind9) died and the UPS started beeping like it’d lost mains power. Went into the closet and looked at the UPS and it showed 0% battery remaining. Moved the three servers over from the battery side to the bypass side and they turned right back on; did a bit of testing and none of the battery-backed outlets are providing power. Swapped out the UPS’s battery and got the same result.

So my official diagnosis is “it broke.”

It’s more than a year out of its 3 year warranty, so all I could do is shrug and order a new one.

[Next page](https://cog.discourse.group/t/what-is-this-running-on/29.md?page=2)
