Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4

Author Topic: nginx errors  (Read 4122 times)

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: nginx errors
« Reply #15 on: April 17, 2010, 05:18:09 pm »

More likely, they are a result of the recent DF Talk.
Similar issues have come up after most recent DF releases, so the issue is most likely caused by downloaders.
Logged
Eh?
Eh!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: nginx errors
« Reply #16 on: April 17, 2010, 05:20:48 pm »

I'm getting them more now too.  It's not part of the move process.  Generally the recent forum problems have been from traffic, but there's a little less traffic now, so the only thing I can think of is DF talk downloads?  In any case, the move will be initiated soon, but it looks like there will be some bumpiness first.

edit: what q said
Logged
The Toad, a Natural Resource:  Preserve yours today!

bombcar

  • Bay Watcher
    • View Profile
Re: nginx errors
« Reply #17 on: April 17, 2010, 05:47:49 pm »

Probably the high-bandwidth stuff (talks, releases, etc) should be hosted on other servers.

Couldn't the talks be hosted on Youtube or some other high-bandwidth site?
Logged

Tilla

  • Bay Watcher
  • Slam with the best or jam with the rest
    • View Profile
Re: nginx errors
« Reply #18 on: April 18, 2010, 03:42:34 am »

Probably the high-bandwidth stuff (talks, releases, etc) should be hosted on other servers.

Couldn't the talks be hosted on Youtube or some other high-bandwidth site?

There are some podcast specific sites out there too I'm sure. YouTube is a poor choice as they only allow 10 minute files
Logged

Nexii Malthus

  • Bay Watcher
    • View Profile
Re: nginx errors
« Reply #19 on: April 18, 2010, 04:33:30 am »

Do you really need to put the download link for this website if you have so many mirrors available? They are offering their bandwidth in donation after all, it might be a smart move until the load subsides.

Aqizzar

  • Bay Watcher
  • There is no 'U'.
    • View Profile
Re: nginx errors
« Reply #20 on: April 18, 2010, 04:38:00 am »

Okay, I just now got the forum to reload after a couple tries, after I hadn't been able to reach the site since about twelve hours ago.  This is becoming a problem.
Logged
And here is where my beef pops up like a looming awkward boner.
Please amplify your relaxed states.
Quote from: PTTG??
The ancients built these quote pyramids to forever store vast quantities of rage.

Urist McDepravity

  • Bay Watcher
    • View Profile
Re: nginx errors
« Reply #21 on: April 18, 2010, 05:19:58 am »

Such errors are caused by whatever backend you use to run php. Static files like df talk should not affect it at all, nginx is *very* capable in terms of serving static, and bandwidth would not cause nginx errors.
Did you switch to fcgi?
Logged

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: nginx errors
« Reply #22 on: April 18, 2010, 05:24:22 am »

This is becoming a problem.

Yeah, I was in imminent danger of being productive for once.  (Actually I did do Ark Project stuff while the forum was down, go me.)
Logged

Shades

  • Bay Watcher
    • View Profile
Re: nginx errors
« Reply #23 on: April 18, 2010, 05:28:39 am »

Yeah, I was in imminent danger of being productive for once.

It's horrible isn't it. For the first time in weeks I've actually done some work...
I forgot how annoying my job was.
Logged
Its like playing god with sentient legos. - They Got Leader
[Dwarf Fortress] plays like a dizzyingly complex hybrid of Dungeon Keeper and The Sims, if all your little people were manic-depressive alcoholics. - tv tropes
You don't use science to show that you're right, you use science to become right. - xkcd

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: nginx errors
« Reply #24 on: April 18, 2010, 05:48:41 am »

We're using fastcgi, yes. It's helped some.

The site is between a rock, a hard place, and apparently magma at the moment. Thus:

- The server has too little memory to run as many simultaneous PHP sessions as required.
- The server has a limited number of allowed network connections. If we get a backlog, it's likely to overrun that.
- The server has too little memory to run mysql properly, given the size of the forum database.

Trying to balance these, I tend to end up with zero margin for failure, and have to keep checking to make sure nothing breaks.

The server has no swap, that not being allowed either, so if it runs out of memory - something crashes, and I wind up having to manually restart the service.


All of those are due to be fixed, though. Just hold on a little longer.
« Last Edit: April 18, 2010, 05:57:24 am by Baughn »
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Akigagak

  • Bay Watcher
  • Omnipimping
    • View Profile
Re: nginx errors
« Reply #25 on: April 18, 2010, 06:05:00 am »

The 'You are Banned' game was almost to 500 pages, IIRC. Maybe deleting those sorts of threads (Old, locked, pointless) completely would help.
Logged
But then, life was also easier when I was running around here pretending to be a man, so I guess I should just "man up" and get back to work.
This is mz poetrz, it is mz puyyle.

Urist McDepravity

  • Bay Watcher
    • View Profile
Re: nginx errors
« Reply #26 on: April 18, 2010, 06:34:58 am »

- The server has too little memory to run as many simultaneous PHP sessions as required.
- The server has a limited number of allowed network connections. If we get a backlog, it's likely to overrun that.
- The server has too little memory to run mysql properly, given the size of the forum database
Oh, its one of those virtual servers?
There are cheap dedi's on the market, with something about 60 USD per 4 GB ram/500 GB HDD server at hetzner, for example.
Having strict limits on open connections/files is horrible.
Logged

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: nginx errors
« Reply #27 on: April 18, 2010, 06:37:24 am »

Isn't Hetzner in south africa?

In any case, I'm pretty sure Linode has less troublesome limits.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Urist McDepravity

  • Bay Watcher
    • View Profile
Re: nginx errors
« Reply #28 on: April 18, 2010, 06:45:06 am »

In any case, I'm pretty sure Linode has less troublesome limits.
VPS is still VPS. And you get far less resources than dedi for same money. Only good thing is relative safety of data, since they run better hardware and often do backups on their own.

Hetzner is in German, Nuerenberg.
Logged

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: nginx errors
« Reply #29 on: April 18, 2010, 07:04:11 am »

Hmm, thanks for the pointer. That does indeed look very tempting.

I've suggested as much to Toady; I'd have to say there's a good chance we'll go with it.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?
Pages: 1 [2] 3 4