Omnimaga

Omnimaga => News => Topic started by: Jim Bauwens on September 20, 2012, 10:29:24 am

Title: OmnomIRC will be down for unspecified time
Post by: Jim Bauwens on September 20, 2012, 10:29:24 am
Hi all,

The server hosting OmnomIRC is/was experiencing HW problems.
I've switched temporarily to another server, and to make sure everything stays running fine, I can not take the burden for hosting OmnomIRC (it's a big resource hog).
I don't know when I'll be able to host it again :[

Sorry for the inconvenience.
Title: Re: OmnomIRC will be down for unspecified time
Post by: annoyingcalc on September 20, 2012, 06:53:44 pm
D: I hope omnom gets hosted again
Title: Re: OmnomIRC will be down for unspecified time
Post by: alberthrocks on September 20, 2012, 07:19:34 pm
How much resources does it demand? Perhaps me/Juju could take the load for now while? :)
Title: Re: Re: OmnomIRC will be down for unspecified time
Post by: Geekboy1011 on September 20, 2012, 09:45:28 pm
Prolly alot more then withg can handle....maybe the backup server could handle it tho......
Title: Re: OmnomIRC will be down for unspecified time
Post by: Juju on September 20, 2012, 09:50:58 pm
And what about 57o9? (BTW I finally found out what caused those memory leaks that kept locking up the server, freeing about 400 MB RAM \o/)

Or maybe this thing (http://4.bp.blogspot.com/_D_Z-D2tzi14/S8TRIo4br3I/AAAAAAAACv4/Zh7_GcMlRKo/s1600/ALOT.png) would be able to handle OmnomIRC.
Title: Re: OmnomIRC will be down for unspecified time
Post by: DJ Omnimaga on September 20, 2012, 10:02:11 pm
That sucks. Hopefully you can afford to host it again (and to repair your server)

Btw what happened to Netham45?? O.O I think he hasn't posted on IRC and forums in several months! O.O
Title: Re: OmnomIRC will be down for unspecified time
Post by: alberthrocks on September 20, 2012, 10:31:45 pm
Prolly alot more then withg can handle....maybe the backup server could handle it tho......
Yeah, I was thinking about that Minecraft server... it can go down for a while, since no one really uses it. :P

And what about 57o9? (BTW I finally found out what caused those memory leaks that kept locking up the server, freeing about 400 MB RAM \o/)
Yeah, I mentioned you in my post as a possibility. :)

I'm surprised no one mentioned taking the time to redesign OmnomIRC and make it more efficient for servers and clients! :) That path would mean anybody could really host it, and there could be redundancy fallbacks when, say, Netham45's server goes down (and 4 other servers could take its place).
Title: Re: OmnomIRC will be down for unspecified time
Post by: Eeems on September 20, 2012, 10:44:38 pm
He hasn't been responding to emails and stuff. I haven't texted him very recently though. Last I heard he had just gotten a job so he could be really busy with that.
Title: Re: OmnomIRC will be down for unspecified time
Post by: DJ Omnimaga on September 20, 2012, 10:47:32 pm
AAh that could explain that. I guess if he doesn't answer within a few weeks then you might want to do some lobster hunting and make sure nothing wrong happened, though (something similar to the two former Revsoft admins, for example). He might jus tbe gaming like crazy as well. If you ever needed any help paying hosting though just shoot me a PM.
Title: Re: OmnomIRC will be down for unspecified time
Post by: Sorunome on September 20, 2012, 10:50:44 pm
D:
Again D:
And that is why it doesn't load XD
Title: Re: OmnomIRC will be down for unspecified time
Post by: Jim Bauwens on September 21, 2012, 03:14:15 am
I'm surprised no one mentioned taking the time to redesign OmnomIRC and make it more efficient for servers and clients! :) That path would mean anybody could really host it, and there could be redundancy fallbacks when, say, Netham45's server goes down (and 4 other servers could take its place).

I've talked to Shmibs about how we possibly could redesign it, so that it is not dependent on a SQL database. Also, if there is a redesign, I think we should use WebSockets instead of the current implementation. I know it would mean no support for older browsers anymore, but it will be by far the easiest thing to do (and the best).

Also, about rehosting OmnomIRC: Don't forget that OmnomIRC was the cause of the outages on the current Omnimaga server, and I don't think the server has been changed meanwhile ?
Title: Re: OmnomIRC will be down for unspecified time
Post by: DJ Omnimaga on September 21, 2012, 03:42:25 am
It would definitively need to be hosted on a separate server as it has been for a while now.

Btw is there the possibility of losing OmnomIRC permanently?? O.O That would certainly cut down our already-dwindling userbase considerably...
Title: Re: OmnomIRC will be down for unspecified time
Post by: Darl181 on September 21, 2012, 04:14:15 am
Well to be fair there is the irc link at the top of the page.
Tho it appears to be down atm :P
Title: Re: OmnomIRC will be down for unspecified time
Post by: Juju on September 21, 2012, 08:11:01 am
Well to be fair there is the irc link at the top of the page.
Tho it appears to be down atm :P
Seems I killed the webchat. It should be up now.
Title: Re: OmnomIRC will be down for unspecified time
Post by: DJ Omnimaga on September 21, 2012, 09:15:27 am
With OmnomIRC down, does it means Omninet is unlinked from EFnet too?
Title: Re: OmnomIRC will be down for unspecified time
Post by: Juju on September 21, 2012, 10:11:24 am
Yes, until someone puts up a relay bot.
Title: Re: OmnomIRC will be down for unspecified time
Post by: Netham45 on September 21, 2012, 01:59:25 pm
I'm surprised no one mentioned taking the time to redesign OmnomIRC and make it more efficient for servers and clients! :) That path would mean anybody could really host it, and there could be redundancy fallbacks when, say, Netham45's server goes down (and 4 other servers could take its place).

I've talked to Shmibs about how we possibly could redesign it, so that it is not dependent on a SQL database. Also, if there is a redesign, I think we should use WebSockets instead of the current implementation. I know it would mean no support for older browsers anymore, but it will be by far the easiest thing to do (and the best).

Also, about rehosting OmnomIRC: Don't forget that OmnomIRC was the cause of the outages on the current Omnimaga server, and I don't think the server has been changed meanwhile ?

What I think would be the best is to use the current longpolling method but use shared memory to save the database instead of SQL. PHP has the ability to create and use shared memory.
Title: Re: Re: OmnomIRC will be down for unspecified time
Post by: DJ Omnimaga on September 21, 2012, 04:44:33 pm
Netham posted o.o
Title: Re: OmnomIRC will be down for unspecified time
Post by: Jim Bauwens on September 21, 2012, 05:03:49 pm
Netham, with websockets there wouldn't be a need for shared memory at all. Messages could instantly be distributed to other clients when they arrive. Of course this is fundamentally different and will not work on older clients.
Title: Re: OmnomIRC will be down for unspecified time
Post by: Sorunome on September 21, 2012, 06:31:36 pm
That would mean i'd need to rewrite some of my bots :P
But i think go for websockets :D
Title: Re: OmnomIRC will be down for unspecified time
Post by: alberthrocks on September 21, 2012, 07:27:29 pm
That would mean i'd need to rewrite some of my bots :P
But i think go for websockets :D
Nope, it's just for the client/server of OmnomIRC. OmnomIRC will still be sending to IRC.
I'm highly doubtful that you would be able to access the websockets without being logged in somehow in your account, though... :P

I'd opt for shared memory for the sake of compatibility.
Title: Re: OmnomIRC will be down for unspecified time
Post by: Sorunome on September 21, 2012, 07:28:25 pm
No, i mean the bots that do actual http requests and mess with omnomirc that way
Title: Re: OmnomIRC will be down for unspecified time
Post by: alberthrocks on September 21, 2012, 07:40:48 pm
No, i mean the bots that do actual http requests and mess with omnomirc that way
Oh, like jimbauwen's New JS bot? Hmm, I guess...
Well, WebSockets != HTTP, but I see what you're saying. If a small chat server was run that would be like IRC, but for Omni only, you could alter your bots to connect to that, which would connect to IRC :)

Still, it's kinda uncertain as to whether we will support that protocol or not. Firefox 11, Chrome 16, Safari 6, and Opera 12.50 are the browsers that support it now, but older versions (such as browsers found in public areas) would not be able to use this. Furthermore, firewalls and filters may take action to block such a continuous stream.

I guess what could happen is WebSockets implemented in the backend, and have OmnomIRC simply be a frontend to it. Then OmnomIRC could relay said stuff into IRC, and keep a shortlog/log of convos. And bot devs might have an interesting API :)

Of course, this might be a lot more trouble than it's worth (and might be worse than OmnomIRC now!)... but it can't be that bad, right? :D

(For reference, Eeem's nodejs chat server uses only 1.1% of 1034452 KBs = 11.378 MBs of memory, which isn't bad, especially since nodejs is interpreted and whatnot. It might actually work! But I'll let the powers-that-is decide :P)
Title: Re: OmnomIRC will be down for unspecified time
Post by: Sorunome on September 21, 2012, 07:42:25 pm
But this time really make the logs work ;)

And i connect via http to omnomirc to read pms/me runs
Title: Re: OmnomIRC will be down for unspecified time
Post by: Eeems on September 21, 2012, 09:54:13 pm
(For reference, Eeem's nodejs chat server uses only 1.1% of 1034452 KBs = 11.378 MBs of memory, which isn't bad, especially since nodejs is interpreted and whatnot. It might actually work! But I'll let the powers-that-is decide :P)
I would use a lot more if I started logging or supported multiple channels. Still though, it's snappy and doesn't use that much RAM.
Title: Re: OmnomIRC will be down for unspecified time
Post by: Juju on September 22, 2012, 12:12:38 am
That would be nice if the new OmnomIRC would be based on Eeems' nodejs thing.
Title: Re: OmnomIRC will be down for unspecified time
Post by: DJ Omnimaga on September 22, 2012, 12:44:13 am
I assume it would require a lot of work though? THat said, for the multi channel support issue, I guess you could just eliminate some channels that are rarely ever used, such as #omnimaga-radio, since juju's bot is almost never working, along with the extra 3rd-party channels such as #prizm, #nspire-lua and #irp.
Title: Re: OmnomIRC will be down for unspecified time
Post by: Eeems on September 22, 2012, 01:37:04 am
I assume it would require a lot of work though? THat said, for the multi channel support issue, I guess you could just eliminate some channels that are rarely ever used, such as #omnimaga-radio, since juju's bot is almost never working, along with the extra 3rd-party channels such as #prizm, #nspire-lua and #irp.
Multichannel is easy to support with socket.io which is what I'm using on top of Node.js
Integrating in a lot of the other features of omnom would probably be harder.
Title: Re: OmnomIRC will be down for unspecified time
Post by: DJ Omnimaga on September 22, 2012, 01:55:09 am
I guess for the time being, colors wouldn't be that necessary except maybe Runer112's sprite converter bot (which Omnom itself doesn't support properly due to lack of white background support anyway), although moderator features might be a good idea to have eventually in case. Most people use Omnom to chat, anyway, not play Doom (http://img.removedfromgame.com/imgs/DOOM_OmnomIRC_Port.png) :P
Title: Re: OmnomIRC will be down for unspecified time
Post by: Eeems on September 22, 2012, 02:32:40 am
I guess for the time being, colors wouldn't be that necessary except maybe Runer112's sprite converter bot (which Omnom itself doesn't support properly due to lack of white background support anyway), although moderator features might be a good idea to have eventually in case. Most people use Omnom to chat, anyway, not play Doom (http://img.removedfromgame.com/imgs/DOOM_OmnomIRC_Port.png) :P
Well if someone wants to pick up the source and get it working let me know. I can even supply source for my node.js irc bots so you can figure out how to link to that side of things as well ;P
Title: Re: OmnomIRC will be down for unspecified time
Post by: annoyingcalc on September 22, 2012, 04:56:20 pm
Until omnomIRC is back can an admin put this where omnom used to be?

Code: [Select]
<iframe src="http://webchat.omnimaga.org/">
Title: Re: OmnomIRC will be down for unspecified time
Post by: Netham45 on September 22, 2012, 05:13:58 pm
Netham, with websockets there wouldn't be a need for shared memory at all. Messages could instantly be distributed to other clients when they arrive. Of course this is fundamentally different and will not work on older clients.

Yea, you'd be able to do it in one server. You could also do long polling with a custom webserver too.

Websockets cut out far too many users.
Title: Re: OmnomIRC will be down for unspecified time
Post by: Eeems on September 22, 2012, 07:15:05 pm
Until omnomIRC is back can an admin put this where omnom used to be?

Code: [Select]
<iframe src="http://webchat.omnimaga.org/">
That would be unreliable due to every time you switch pages it disconnects. Just have a dedicated tab for it, or use an irc client for now.
Title: Re: OmnomIRC will be down for unspecified time
Post by: DJ Omnimaga on September 22, 2012, 11:06:22 pm
Yeah for now I use Mibbit or the site chat. When I'm not home I still use AndroIRC like before, though, since OmnomIRC takes far too many resources on my mobile device.

Also merging both Runer112 entirely and OmnomIRC together would be a cool idea, considering how many features that were added to the former. :P
Title: Re: OmnomIRC will be down for unspecified time
Post by: Sorunome on September 23, 2012, 11:17:16 pm
If you need help with programming (client-sized) I could help out :D