Author Topic: OmnomIRC temporarily disabled  (Read 9938 times)

0 Members and 1 Guest are viewing this topic.

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
OmnomIRC temporarily disabled
« on: May 06, 2011, 06:01:24 pm »
OmnomIRC is temporarily disabled until we can track down the source of the site slowness.

iOmnom and iOmnom_Mini are unaffected.
Omnimaga Admin

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC temporarily disabled
« Reply #1 on: May 06, 2011, 06:10:50 pm »
Netham, I am afraid that OmnomIRC is effectively the source of the slowness. When the entire site domain runs slow like this, but script execution time is not very high and 51.aspirationhosting is up, then it's because our account is throttled for too many resources usage.

One concern I have is that this month we had 6.5 million of hits. Before we had about 3.5 and the highest we had was 5 millions I think. I can only think of the two following scenarios:

-Either the recent OmnomIRC updates introduced bugs causing an overload of resources or the new OmnomIRC is simply too demanding on the server.
-Either we get too much traffic to sustain OmnomIRC anymore on a shared hosting.

In the latter case, this would either mean that you have to host the entire OmnomIRC elsewhere or we say farewell to it.

That said, something needs to be done, because this is starting to affect our activity a whole lot.


Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: OmnomIRC temporarily disabled
« Reply #2 on: May 06, 2011, 06:11:45 pm »
I think I just came up with a way where I can take almost all of OmnomIRC off of the server.

Do we have unlimited subdomains?
Omnimaga Admin

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnomIRC temporarily disabled
« Reply #3 on: May 06, 2011, 06:15:09 pm »
JSONP would probably help with this probably :)
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC temporarily disabled
« Reply #4 on: May 06, 2011, 06:15:18 pm »
I think so, although the domain is hosted on 1and1 and managed on Aspiration, so it could be 100.

But keep this in mind: OmnomIRC alone was 12 millions of hits last month. O.O

By the way how much bandwidth did we use last month?

EDIT: Eeems what is JSONP? ???
« Last Edit: May 06, 2011, 06:15:42 pm by DJ_O »

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: OmnomIRC temporarily disabled
« Reply #5 on: May 06, 2011, 06:17:06 pm »
JSONP wouldn't be any good, it's incompatible with AJAX.

Yup, I got everything I need.

I'm going to make a subdomain on Omnimaga.org, omnom.omnimaga.org. I can then set the document.domain to omnimaga.org for OmnomIRC stuffs, then I can get around the same-origin policy and remove the bounces(logbounce.php, userbounce.php, messagebounce.php), which are the main 3 that are generating traffic.


Edit: JSONP is just a way of moving data.
« Last Edit: May 06, 2011, 06:17:40 pm by Netham45 »
Omnimaga Admin

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnomIRC temporarily disabled
« Reply #6 on: May 06, 2011, 06:19:57 pm »
JSONP wouldn't be any good, it's incompatible with AJAX.

Yup, I got everything I need.

I'm going to make a subdomain on Omnimaga.org, omnom.omnimaga.org. I can then set the document.domain to omnimaga.org for OmnomIRC stuffs, then I can get around the same-origin policy and remove the bounces(logbounce.php, userbounce.php, messagebounce.php), which are the main 3 that are generating traffic.


Edit: JSONP is just a way of moving data.
it would require a little changing to your end and it would work fine for me. iOmnom can handle JSONP fine with a tiny bit of modification. JSONP also allows you to not have to follow the same-origin policy and it would work pretty great.
/e

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: OmnomIRC temporarily disabled
« Reply #7 on: May 06, 2011, 06:20:42 pm »
it's also incompatible with AJAX, has a considerably higher client-side load requirement, and constantly refreshes the pages.
Omnimaga Admin

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnomIRC temporarily disabled
« Reply #8 on: May 06, 2011, 06:25:25 pm »
it's also incompatible with AJAX, has a considerably higher client-side load requirement, and constantly refreshes the pages.
I was pretty sure they were pretty close to the same thing. I also haven't noticed the higher client load requirement with json/jsonp when I used it.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC temporarily disabled
« Reply #9 on: May 06, 2011, 07:28:32 pm »
So all the files would be hosted on your IP, but the domain name would be used?

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: OmnomIRC temporarily disabled
« Reply #10 on: May 06, 2011, 07:29:20 pm »
Almost all of them. I still need the two files to get the userlist.
Omnimaga Admin

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC temporarily disabled
« Reply #11 on: May 06, 2011, 07:33:46 pm »
Ah ok

I definitively think the php files in question received too many requests and it caused overload on the server. I hope it doesn't cause problems on yours, though.

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: OmnomIRC temporarily disabled
« Reply #12 on: May 06, 2011, 07:35:13 pm »
It won't be putting much, if any, extra strain on my server.
Omnimaga Admin

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnomIRC temporarily disabled
« Reply #13 on: May 06, 2011, 07:36:13 pm »
It won't be putting much, if any, extra strain on my server.
are iOmnom/iOmnom_mini getting moved over as well?
/e

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: OmnomIRC temporarily disabled
« Reply #14 on: May 06, 2011, 07:41:00 pm »
For now, no, though you may need to update it to use view_omnom. I'm removing logbounce.

Omnom is re-enabled now too.

OmnomIRC's presence on Omnimaga.org has been reduced to two userlist files. Shouldn't put any load on Omnimaga anymore.
« Last Edit: May 06, 2011, 07:45:10 pm by Netham45 »
Omnimaga Admin