You are either not logged in or not registered with our community. Click here to register.
 
December 06, 2016, 10:15:57 AM

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Send us your theme!

Hark!  The Herald!
Holiday Issue 2016

Wiki Blogs Dicebot

Author Topic: Server Slowdowns  (Read 4580 times)

0 Members and 1 Guest are viewing this topic.

Offline Chelemar

Re: Server Slowdowns
« Reply #25 on: May 27, 2011, 11:38:17 PM »
Quote
   FROM `elliquiy_smf`.smf_themes

Is this proof that smirfs control the E.?

Offline Starlequin

Re: Server Slowdowns
« Reply #26 on: May 27, 2011, 11:46:50 PM »
Oh no, what a smurfy thought!

Offline Vekseid

Re: Server Slowdowns
« Reply #27 on: May 28, 2011, 01:34:31 AM »
Is this proof that smirfs control the E.?

SMF stands for Simple Machines Forum, which is what we run : )

Offline Star Safyre

  • Mrs. Fyre or, if you're slightly more daring, O Captain my Captain.
  • Dame
  • Addict
  • *
  • Join Date: Aug 2010
  • Location: Beyond the flesh
  • He who is fixed to a star does not change his mind
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: Server Slowdowns
« Reply #28 on: May 28, 2011, 09:24:41 AM »
R.I.P. Mr. You Posted Here.  Your sacrifice will not be forgotten.

/salute

Offline alxnjsh

Re: Server Slowdowns
« Reply #29 on: May 28, 2011, 09:28:36 AM »
I know that everyone has universally said to take away the smiley face and it's gone, so this may not sway the argument, but I used it EVERY time I'm in E. I use it especially in the introduction board - this allows me to see which thread I've posted an intro question into. It appears that now I have to click in every thread to see if I posted.

So...will it ever come back?

Offline Vekseid

Re: Server Slowdowns
« Reply #30 on: May 28, 2011, 01:22:50 PM »
I know that everyone has universally said to take away the smiley face and it's gone, so this may not sway the argument, but I used it EVERY time I'm in E. I use it especially in the introduction board - this allows me to see which thread I've posted an intro question into. It appears that now I have to click in every thread to see if I posted.

So...will it ever come back?

It's not like the you-posted-here notification icons are causing the problem, far from it. They're just not helping when it is a problem.

We are basically out of RAM. I've disabled some useless things on the server side and tightened belts on BMR and LR. It just seems incredulous to me that I'd have to go beg for another $1,500 for more server upgrades when we're not actually physically out of memory yet. Just nearly so.

Supposedly, setting swappiness to 0 like I have should mean that applications don't get swapped to disk. But they were getting swapped to disk anyway, even though they could almost all fit in RAM and certainly could now. After tightening things Linux is behaving better, though. Lots of swap in and no swap out.

I'll see if the load spikes are gone and if so I can re-enable the icons for now.

Offline Vekseid

Re: Server Slowdowns
« Reply #31 on: May 30, 2011, 03:26:51 AM »
Tuned the database a bit, looks like we might be able to use a few hundred megabytes more efficiently.

Still will leave Linux flubbing its lips about what to do with half a gig but still an improvement. If things run well this evening I'll re-enable the icons. May also move Sphinx to the backup/dns/mumble server to free up some more RAM and prevent the reindexing slowdowns.

Offline Starlequin

Re: Server Slowdowns
« Reply #32 on: May 30, 2011, 04:09:45 AM »
*sigh* There was a time I actually knew what all that meant.  :-(
* Starlequin misses being smart.

Offline Vekseid

Re: Server Slowdowns
« Reply #33 on: May 30, 2011, 04:31:45 AM »
Linux has a general measurement of server load called, creatively, 'load'. It's a numeric value that tells you how many processes are waiting to run at once. Elliquiy's server can handle a load of up to 4 without issue, because it has four drives and four cpu cores. So it can do four things at once, generally.

Swap is 'virtual ram' - it's disk space being used as memory, only roughly about a million times slower. That isn't an exaggeration, it really is a million times slower. This means when the virtual memory of something that is actively being used gets used, the OS starts swapping it in and out of memory, called thrashing. Which is what Elliquiy was doing the slowdowns, but, it shouldn't have been - there was a gig and a half of RAM left free. In Linux, you control how aggressively the system swaps out applications with the swappiness parameter. 0 means it won't swap until necessary (in theory), keeping applications in RAM, 100 means it will swap everything it can, saving ram for the disk cache.

Since Elliquiy isn't a fileserver, we want to keep applications in memory. And that wasn't happening, even at zero. v. frustrating.

Sphinx is the search engine for Elliquiy and Blue Moon. It makes an index of every single post on the site, and allows some pretty advanced features, though we only take advantage of a few of them.

* Vekseid is happy to explain things, though. : )

Offline Dim Hon

  • The Horrible, Lovely Thing || The Sorcerer's Familiar || Not This || Sinners' Nadir || Desire of the Endless || More Dark In Me Than Bones || St. Fucking
  • Oracle
  • Carnite
  • *
  • Join Date: Dec 2008
  • Location: ne invoces expellere non possis
  • The Aforementioned Darkness
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 19
Re: Server Slowdowns
« Reply #34 on: May 30, 2011, 04:38:17 AM »
Ooooh, sphinxes!


Offline Starlequin

Re: Server Slowdowns
« Reply #35 on: May 30, 2011, 04:55:18 AM »
Ah, knowledge nuggets. I have missed thy flavor. Why couldn't we have had a teacher like you during our Comp.Prog.Tech. classes instead of those lifeless drones who sent us to read chapters 4-17 every week?

@Atreyu: No, don't run! You'll never make it! Aiiee!

Offline Vekseid

Re: Server Slowdowns
« Reply #36 on: May 30, 2011, 10:26:12 PM »
As you can see I've reenabled the icons.

Code: [Select]
root@trancephalon:~# free -m
             total       used       free     shared    buffers     cached
Mem:         12038      11800        237          0        161       1493
-/+ buffers/cache:      10146       1891
Swap:         4102        334       3767

Much nicer looking.

Numbers are in megabytes - e.g. we have twelve gigabytes of ram and ~250 megabytes free.

Offline Kyrsa

Re: Server Slowdowns
« Reply #37 on: May 30, 2011, 10:31:23 PM »
Huzzah! Thank you Veks! While I don't understand all the numbers I'm thrilled to have the icons back.

Offline alxnjsh

Re: Server Slowdowns
« Reply #38 on: May 31, 2011, 06:22:57 PM »
Yes, I love the smileys...thanks!

Offline Star Safyre

  • Mrs. Fyre or, if you're slightly more daring, O Captain my Captain.
  • Dame
  • Addict
  • *
  • Join Date: Aug 2010
  • Location: Beyond the flesh
  • He who is fixed to a star does not change his mind
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: Server Slowdowns
« Reply #39 on: May 31, 2011, 08:37:32 PM »
Yay, Mr. You Posted Here lives again!   XD

Boo, the blue star is gone.   :'(

Offline Vekseid

Re: Server Slowdowns
« Reply #40 on: May 31, 2011, 08:53:05 PM »
Oh shoot. Stupid mod overwrote it. Where was that star again? >_>

Offline Star Safyre

  • Mrs. Fyre or, if you're slightly more daring, O Captain my Captain.
  • Dame
  • Addict
  • *
  • Join Date: Aug 2010
  • Location: Beyond the flesh
  • He who is fixed to a star does not change his mind
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: Server Slowdowns
« Reply #41 on: May 31, 2011, 09:08:20 PM »
* Star Safyre raises her hand!

Oh, you meant the graphic.   :-[

Offline MargueriteTopic starter

  • Lifestyle Domme, Mistress, Queen of Sin/Debauchery, Eden's Stalker, Domina McSpanks
  • Lady
  • Carnite
  • *
  • Join Date: Jul 2008
  • Location: In A House Made Of Collected Hearts
  • Gender: Female
  • "Now, ask me what I'm going to do to you."
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 2
Re: Server Slowdowns
« Reply #42 on: June 08, 2011, 10:52:58 PM »
Another slow down again?

Offline Saerrael

  • ~~~Seraph ; In love~~~ Do you like what you see? Let me entertain ya ítill you scream.
  • Champion
  • Carnite
  • *
  • Join Date: Aug 2009
  • Location: You don't know how you took it You just know what you got Oh Lordy you've been stealing from the thieves And you got caught
  • Gender: Male
  • Hold me, thrill me, kiss me, kill me.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 6
Re: Server Slowdowns
« Reply #43 on: June 08, 2011, 10:54:00 PM »
I have the same thing, right now.

Offline Vekseid

Re: Server Slowdowns
« Reply #44 on: June 08, 2011, 11:09:19 PM »
Another slow down again?

My fault, that one, sorry : /

Offline MargueriteTopic starter

  • Lifestyle Domme, Mistress, Queen of Sin/Debauchery, Eden's Stalker, Domina McSpanks
  • Lady
  • Carnite
  • *
  • Join Date: Jul 2008
  • Location: In A House Made Of Collected Hearts
  • Gender: Female
  • "Now, ask me what I'm going to do to you."
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 2
Re: Server Slowdowns
« Reply #45 on: June 08, 2011, 11:11:17 PM »
For a second, I thought we used up all of the space again.

-Smiles-


Offline Vekseid

Re: Server Slowdowns
« Reply #46 on: June 08, 2011, 11:24:43 PM »
For a second, I thought we used up all of the space again.

-Smiles-

Well that is basically what happened. I was doing some maintenance on the server and apparently I can't run the forums and do that at the same time : /

Offline MargueriteTopic starter

  • Lifestyle Domme, Mistress, Queen of Sin/Debauchery, Eden's Stalker, Domina McSpanks
  • Lady
  • Carnite
  • *
  • Join Date: Jul 2008
  • Location: In A House Made Of Collected Hearts
  • Gender: Female
  • "Now, ask me what I'm going to do to you."
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 2
Re: Server Slowdowns
« Reply #47 on: June 08, 2011, 11:30:52 PM »
Damn and it has been only a week since the last server slowdowns.