Log for #openttdcoop.devzone on 6th April 2010:
Times are UTC Toggle Colours
00:46:32  *** PeterT is now known as Guest1447
00:46:43  *** Guest1447 is now known as PeterT
05:34:17  *** Seberoth has quit IRC
05:34:33  *** Seberoth has joined #openttdcoop.devzone
06:16:56  *** ODM has joined #openttdcoop.devzone
07:46:48  *** Doorslammer has quit IRC
08:56:00  <Ammler> Good morning
08:56:11  <Ammler> DJNekkid: server does always make fresh clone
08:56:19  <Ammler> so clean shouldn't be needed
09:59:17  *** Doorslammer has joined #openttdcoop.devzone
10:03:11  *** ODM has quit IRC
10:50:21  *** KenjiE20 has joined #openttdcoop.devzone
11:35:23  <Ammler> if you scan for sets, you should skip last byte
11:35:27  <Ammler> as that is only version
12:51:04  <Ammler> our server can't handle new traffic anymore :-(
12:52:00  <Rubidium> you mean it got slashdotted?
12:53:38  <Ammler> hmm
12:53:51  <Ammler> does that link to too?
12:53:58  <Rubidium> no idea
12:54:43  <KenjiE20> no
12:54:52  <KenjiE20> nor in the article
12:55:57  <Ammler> I guess, I push a reboot
12:56:13  <Ammler> I really don't see, what does issue those lags, no cpu usage no memory usage
12:56:29  <Rubidium> there are posts that link to
12:56:39  <Rubidium> "Check out some of the past games from the openttd co-op to get an idea: [] it's really a thing of beauty to see a train system with 1000+ long trains operating efficiently. It's like your daddy's old model train set times 10,000..."
12:56:51  <KenjiE20> Ammler: torrent limits too large?
12:57:03  <Rubidium> what's the load?
12:57:17  <Rubidium> what's the %wa ?
12:58:01  <Ammler> KenjiE20: there are maybe 20 leechers
12:58:09  <KenjiE20> still
12:58:10  <Ammler> that is nothing
12:58:20  <KenjiE20> what are it's limits?
12:58:23  <Ammler> well, I close it
12:58:33  <KenjiE20> connections / up / down / etc?
12:58:56  <Ammler> [U 15/0] [D 0/0] [H 0/32] [S 9/28/768] [F 33/128]
12:59:26  <KenjiE20> is that Up 15KB/s / no limit ?
12:59:41  <KenjiE20> and what is S and F
13:00:03  <Ammler> no idea
13:02:15  <Ammler> S: The three numbers represent handshakes/open sockets/max open sockets.
13:02:30  <Ammler> F: The two numbers represent open files/max open files. The library dynamically closes the least used files as needed.
13:02:52  <KenjiE20> 768 connections is probably overkill
13:02:58  <Ammler> does it matter?
13:03:05  <KenjiE20> it could
13:03:07  <Ammler> 30 are in use
13:03:30  <Ammler> I closed it, no change
13:05:08  <Rubidium> Ammler: what's the load and %wa (both seen in top)
13:05:27  <Ammler> top - 15:05:21 up 30 days,  9:17,  3 users,  load average: 0.14, 0.25, 0.23
13:05:29  <Ammler> Tasks:  71 total,   2 running,  69 sleeping,   0 stopped,   0 zombie
13:05:30  <Ammler> Cpu(s):  0.2% us,  0.1% sy,  0.0% ni, 99.8% id,  0.0% wa,  0.0% hi,  0.0% si
13:06:08  <Ammler> well, it is something with that stupid kmemsize
13:06:25  <Rubidium> then how can the server be that slow?
13:06:36  <planetmaker> it's a vps
13:06:41  <Rubidium> it's doing absolutely nothing :(
13:06:44  <Ammler> yes
13:06:50  <Ammler> that's the point :-(
13:07:05  <planetmaker> But yeah, it's highly insatisfactorily.
13:07:14  <Ammler> I guess, it is like a dosattach
13:08:25  <Ammler> maybe we should try to run redmine with nginx
13:58:41  <planetmaker> traffic stays at 900 ... 1000 visits a day.
14:02:29  <Ammler> planetmaker: because it can't handle more ;-)
14:05:40  <planetmaker> :-P
14:05:44  <planetmaker> maybe, yeah
14:08:30  <Ammler> something is seriously broken now, don't think that is our server...
14:08:53  <planetmaker> hm... yeah. No connection.
14:12:21  *** ODM has joined #openttdcoop.devzone
14:14:21  <Ammler> hmm, I initiate a reboot...
14:14:38  <planetmaker> ok
14:17:35  *** Ammller has joined #openttdcoop.devzone
14:18:21  <Ammller> server doesn't go down :-(
14:18:51  <Ammller> coffee time, will see after :-)
14:19:02  *** V453000 has quit IRC
14:19:15  *** Ammler has quit IRC
14:19:16  <Ammller> oh :-)
14:19:46  *** Hirundo has quit IRC
14:21:08  *** Hirundo has joined #openttdcoop.devzone
14:21:38  *** Ammler has joined #openttdcoop.devzone
14:21:49  <planetmaker> :-) Enjoy your coffee
14:23:04  *** V453000 has joined #openttdcoop.devzone
14:24:50  *** Ammller has quit IRC
14:24:58  <Ammler> no better :-(
14:25:25  <planetmaker> hm :-(
14:31:34  *** Yexo has quit IRC
14:31:49  *** Yexo has joined #openttdcoop.devzone
14:34:29  <Ammler> <-- do you see something?
14:35:31  <Rubidium> "Waiting for"
14:38:28  <Ammler> but it is definityl something with apache
14:38:39  <Ammler> a simply txt file does also take hours
14:40:31  <Ammler> I rised ServerLimit and MaxClient to 50
15:32:02  *** Doorslammer has quit IRC
16:20:10  *** welshdragon has joined #openttdcoop.devzone
17:11:40  <Hirundo> Yexo: do you plan to invoke the (gcc) preprocessor before the nml compiler?
17:12:00  <Yexo> no, but of course you're free to do that yourself
17:12:28  <Yexo> just like nforenum doesn't invoke gcc, but a lot of projects just call gcc before nforenum
17:18:06  * Ammler wonders, if the DevZone will recover...
17:18:47  * Rubidium wonders what's the cause
17:19:22  *** welshdragon has quit IRC
17:22:04  <Ammler> now, I don't have memory to run top :-P
17:22:15  <Rubidium> lol
17:22:32  <Ammler> or ps
17:27:56  <Ammler> unbelieveable
17:28:02  <Ammler> I don't get that
18:31:39  *** Seberoth has quit IRC
18:35:34  *** Seberoth has joined #openttdcoop.devzone
18:48:54  *** V453000 is now known as Guest1536
18:51:56  *** V453000 has joined #openttdcoop.devzone
18:53:54  *** andythenorth has joined #openttdcoop.devzone
19:02:44  *** welshdragon has joined #openttdcoop.devzone
19:17:49  <Hirundo> Ammler: coop pw on stable server?
19:18:03  <PeterT> I set it to 'coop'
19:18:06  <PeterT> but dih changed it
19:18:12  <PeterT> Join and move yourself to company 1
19:25:16  <Hirundo> no redmine because of /. effect?
19:26:08  <Rubidium> but it's odd that openttdcoop gets slashdotted and we don't
19:35:39  <Ammler> I can't stop a service, get always oom
19:39:12  *** V453000 has left #openttdcoop.devzone
19:58:34  <welshdragon> o?
19:58:39  <welshdragon> slashdot?
20:02:02  <Ammler> @topic add We use the downtime to take a break ;-)
20:02:02  *** Webster changes topic to "Talk about things hosted and developed on | Downloads log: | We use the downtime to take a break ;-)"
20:02:42  <Ammler> I guess, it is something with the sockets/connections
20:02:47  <Ammler> as IRC still works
20:03:04  <Rubidium> then try to figure out who/what does it and block the sucker
20:03:16  <welshdragon> Ammler: what's this about /.
20:03:30  <Ammler> Rubidium: no access
20:03:57  <Rubidium> Ammler: you can't do iptables and such?
20:04:27  <Ammler> you mean close everything and open slowly?
20:04:54  <Rubidium> no, use the firewall to block the sucker downing your server
20:04:56  <andythenorth> Ammler: do you have redmine logs?
20:05:13  <Ammler> andythenorth: what you need them for?
20:05:21  <andythenorth> we've had web apps taken down by google bot in the past
20:05:27  <andythenorth> among other things
20:06:02  <andythenorth> it's always useful to see what was being used just before something disappears :)
20:06:27  <andythenorth> Or we could just buy a bigger box...
20:07:18  <Rubidium> using a bigger box doesn't help with ddoses that just eat connections but no bandwidth/CPU
20:07:30  <andythenorth> buy a bigger wire :)
20:08:07  <Ammler> 90% redmine does block google
20:08:41  <Ammler> Rubidium: shouldn't I find such an attacker with tcpdump?
20:08:49  <andythenorth> it's not just Ruby going for a nice lie down is it?
20:09:59  <Rubidium> Ammler: probably
20:10:38  <Rubidium> but I've never used tcpdump to find someone dos-ing a server
20:11:36  <Ammler> what would you use?
20:14:35  <Rubidium> don't know; last time I used the logs of nginx
20:24:26  <Ammler> but first I enable the fw to disable everything so I can get again on the server :-)
20:27:35  <Ammler> well
20:27:50  <Ammler> @ping
20:27:50  <Webster> pong
20:30:49  *** andythenorth has quit IRC
20:30:49  *** Hirundo has quit IRC
20:30:49  *** Ammler has quit IRC
20:30:49  *** Guest1536 has quit IRC
20:31:09  <PeterT> Devzone death
20:41:35  *** Ammler has joined #openttdcoop.devzone
20:42:01  *** Hirundo has joined #openttdcoop.devzone
20:43:01  *** V4530000 has joined #openttdcoop.devzone
20:44:01  *** andythenorth has joined #openttdcoop.devzone
20:53:05  <PeterT> Ammler: remeber this error you guys had?
20:53:10  <PeterT> How did you fix ti?
20:53:11  <PeterT> *it?
20:57:54  * andythenorth come back hg, I miss you :P
21:02:37  <Ammler> there is no DOS attack
21:02:44  <Ammler> I do not see repeating addresses
21:07:57  *** Hirundo_ has joined #openttdcoop.devzone
21:08:15  <Hirundo_> IRC bouncer is down as well?
21:15:01  <planetmaker> server down it seems
21:25:02  <Ammler> well
21:44:08  <Hirundo_> Yexo: You were looking at the string codes for nml?
21:44:16  *** GT has joined #openttdcoop.devzone
21:44:18  <Yexo> yes
21:44:39  <Ammler> :'-(
21:44:49  <Ammler> I can't update iptables
21:45:15  <Yexo> Hirundo_: I'm implementing a similar system to openttd's translation files
21:46:16  <Yexo> which means that in the future webtranslator could easily be modified to work for nml projects
21:47:39  <Hirundo_> Does it use the codes supplied by the grf spec, or also those that are openttd-specific?
21:49:38  <Rubidium> Yexo: including cases and plurals? :)
21:50:01  <Hirundo_> Before nml came around, I was working on a command line tool to, basically, do the same you're doing
21:50:14  <Hirundo_> So I still have data tables and such, interested?
21:50:27  <Yexo> Rubidium: if someone wrote up a nice nfo-spec for cases/plurars I'd support it :)
21:50:41  <Yexo> Hirundo_: yes, but I'm nearly done with most codes already
21:53:14  *** Hirundo has quit IRC
21:53:14  *** Ammler has quit IRC
21:53:14  *** V4530000 has quit IRC
21:53:14  *** andythenorth has quit IRC
21:53:26  <Hirundo_> Hmpfh, alignment got kinda skewed (source=excel), but here:
21:56:13  <Hirundo_> <- ActionB proposal
21:57:18  <Yexo> already implemented that :)
21:59:15  <Hirundo_> Contrary to popular belief, using 'hg push' will, in fact, *not* cost you any money ;)
21:59:30  <Yexo> hg push doesn't work when the server is down
21:59:44  <Hirundo_> <-works for me
22:00:01  <Hirundo_> and now it doesn't
22:00:07  <Yexo> <h2>Application error</h2>Rails application failed to start properly <- that is the output
22:00:44  <Hirundo_> my single request OOMed the server, I fear
22:01:31  *** Hirundo has joined #openttdcoop.devzone
22:01:36  *** Ammler has joined #openttdcoop.devzone
22:03:05  *** V453000 has joined #openttdcoop.devzone
22:03:43  <Hirundo_> Anyways, I was looking for something relatively small to do, just to get started, suggestions?
22:04:02  *** andythenorth has joined #openttdcoop.devzone
22:04:20  <Yexo> you want to help with nml?
22:05:20  <Yexo> parsing spritesets should be easy
22:05:43  <Hirundo_> real sprite format is unchanged?
22:05:47  <Yexo> the required tokens are already defined in, so you just need to modify and
22:06:28  <Hirundo_> and add actions/action1 and actions/action2[real], I presume?
22:06:39  <Yexo> I'd propose to use "spriteset (<const-expr>) {" instead of "spriteset <const-expr> {" (add parentheses)
22:06:56  <Yexo> yes, but that is the next step
22:07:07  <Hirundo_> noted, for consistency
22:07:16  <Hirundo_> do we want numbered or named spritesets?
22:07:21  <Yexo> named
22:07:53  <Ammler> if there is a DOS attack, I have no idea, how to get a trace
22:08:04  *** Seberoth has quit IRC
22:08:05  <Yexo> spriteblocks are more tricky, ideally I'd want them named too, but then for vehicles if you want to override a certain vehicle you have to use a specific id
22:08:21  <Hirundo_> In that case, spriteset <name> { seems more appropriate to me (like e.g. class defenitions in C++))
22:08:43  <Yexo> true, do that then :)
22:09:39  <Hirundo_> What do spriteblocks have to do with vehicle ids? They don't touch action3, do they?
22:09:54  <Yexo> eh, right
22:10:06  <Yexo> the action3 is trickier, spriteblocks should just be named :)
22:11:28  <Hirundo_> spriteblocks or -groups?
22:12:29  <Ammler> @ping
22:12:29  <Webster> pong
22:12:42  <Yexo> I'm messing up the terminology
22:13:00  <Yexo> spriteblocks just need the feature, spritesets and spritegroups should both be named, not numbered
22:13:32  <Hirundo_> feature is a number, or do we have some definitions for that?
22:13:45  <Yexo> currently it's just a number
22:14:56  <Yexo> but I wanted to create a few build-in constants for that
22:15:04  <Yexo> so you could just use FEAT_INDUSTRY, ...
22:16:36  *** ODM has quit IRC
22:21:00  <Hirundo_> OK, goodnight for now
22:26:01  *** Hirundo has quit IRC
22:26:02  *** Ammler has quit IRC
22:26:02  *** V453000 has quit IRC
22:26:02  *** andythenorth has quit IRC
22:29:01  *** Hirundo_ has quit IRC
22:36:08  *** GT has left #openttdcoop.devzone
22:47:55  *** Ammler has joined #openttdcoop.devzone
22:49:01  *** Hirundo has joined #openttdcoop.devzone
22:49:03  *** V4530000 has joined #openttdcoop.devzone
22:49:12  *** andythenorth has joined #openttdcoop.devzone
22:51:54  <Ammler> I configured the fw, so I can't login per ssh anymore
22:52:20  <Ammler> that is just above me
22:55:11  <Ammler> Apr  7 00:54:36 salieri sshd[21646]: fatal: fork of unprivileged child failed
22:55:38  *** JustAGuest has joined #openttdcoop.devzone
22:56:01  <Ammler> # tail /var/log/messages
22:56:03  <Ammler> -bash: fork: Cannot allocate memory
22:56:07  <Ammler> this sucks
22:56:36  <Yexo> can you run top/ps already?
22:58:13  <JustAGuest> hi. is there a download mirror for the openGFX/SFX/MSX files?
22:59:25  <Rubidium> JustAGuest: <- the links under downloads link to the compiled version (in .tar.gz format)
22:59:57  <Rubidium> it's not really meant to be a mirror, but it should work
23:00:13  <JustAGuest> oh. great. thanks. :)
23:00:19  <Rubidium> although when a new version of them is released the those files will be removed and such
23:01:04  <Ammler> Yexo: I can't do anything anymore
23:01:06  <JustAGuest> error 404 :(
23:01:29  <Rubidium> JustAGuest: which one?
23:01:38  <Yexo> Rubidium: all of them
23:02:10  <Yexo> and not only basesets
23:02:12  <JustAGuest> yes. all of them
23:02:20  <Rubidium> oh lovely... that got broken when TB changed the directories
23:02:45  <Rubidium> <- they should look roughly like that
23:04:15  <Rubidium> and the categories differ too, so that makes it difficult too
23:04:34  <Rubidium>
23:04:58  <Rubidium> ^ if you download and install that one you should be able to download the rest in-game (if that got internet)
23:05:41  <JustAGuest> yes. i found the rest. thank you
23:05:48  <JustAGuest> very much ^^
23:15:52  <Ammler> I assume, that is a simple broken server
23:16:24  <Ammler> how else do I get memory issue, also If the whole server is firewalled
23:16:48  <Ammler> hmm, except irc
23:17:31  <Ammler> he, last rule didn't apply :-)
23:22:04  <Rubidium> Ammler: getting OOM means some nasty process is taking all memory, but doesn't fail horribly because it can't allocate anymore
23:22:17  <Rubidium> as least if it's persistent
23:22:34  <Rubidium> but you've tried rebooting the vserver?
23:23:02  <Ammler> everytime we left was a reboot
23:23:07  <Ammler> next will come in some minutes
23:23:28  *** Ammller has joined #openttdcoop.devzone
23:24:03  <Ammller> as I have no access to console commands anymore
23:24:13  <Ammller> I need to reboot over the vserver control panel
23:24:15  *** V4530000 has quit IRC
23:24:16  *** andythenorth has quit IRC
23:24:16  *** Hirundo has quit IRC
23:24:16  *** Ammler has quit IRC
23:24:17  <Rubidium> but then you should've some time to start top or so to see what's using the memory
23:24:37  <Ammller> nothing is using the memory
23:24:46  <Ammller> well, nothing special
23:25:54  <Rubidium> just start top and sort on memory
23:35:10  <Ammller> my last hope is that IRC was the "bad" service
23:35:35  <Ammller> we will see in some minutes...
23:36:31  <Ammller> iptables can't work with names?
23:36:37  <Ammller> so I could add my dyndns
23:37:25  <Ammller> server is up now, we will see how long
23:44:44  <Ammller> Rubidium:
23:44:57  <Ammller> does that block query a openttd server?
23:45:31  <Ammller> hmm
23:45:43  <Ammller> oh, <1024 is open
23:45:50  <Ammller> >1024 needs a rule
23:46:02  <KenjiE20> yeah, I was just about to say
23:46:31  *** JustAGuest has left #openttdcoop.devzone
23:46:42  <Ammller> so I open 3978:4000
23:46:57  <KenjiE20> that should cover us
23:47:12  <KenjiE20> lemme know when it's updated
23:47:17  <KenjiE20> so I can clear the cache out
23:48:26  <Ammller> in next 10 mins
23:48:38  <Ammller> I set iptables with the vserver control panel
23:48:59  <Ammller> so I can configure it also if I couldn't access my server
23:49:37  <Ammller> it quite much looks like IRC caused all the troubles
23:49:40  <KenjiE20> read: In case I have a brainfart and block myself
23:49:42  <KenjiE20> :P
23:49:49  <Ammller> :-)
23:50:58  <Ammller> KenjiE20: fw updated
23:51:56  <KenjiE20> still reports down
23:53:09  <Ammller> plesk?
23:53:23  <Ammller> hmm, I liked to change dns to blog
23:53:29  <Ammller> so www at still works
23:53:35  <Ammller> but then plesk got down
23:53:58  <Ammller> dih and osai are both absent
23:54:09  <Ammller> so bad thing :-(
23:54:19  <Ammller> can't revert the dns
23:55:27  <KenjiE20> "Some services may be intermittently unavailable following the recent server downtime" <-- shall I add that to the announce box on the portal?
23:57:31  <Ammller> oh, does it need udp?
23:57:46  <Ammller> well, will work
23:57:51  <KenjiE20> umm
23:57:55  <Ammller> does link to wrong server
23:58:33  <KenjiE20> eh?
23:59:42  <Ammller> I guess, the server packages are udp, aren't?
23:59:53  <Ammller> for openttdlib

Powered by YARRSTE version: svn-trunk