What's the dumbest thing you've done with your linode?
* a) Warn others off from my own foolish course of action
b) Entice others to post here and do the same
c) Laugh at the above
d) …
e) Profit!</list>
Well, ok, maybe I'm being a bit optimistic, especially toward the end there, but I do hope you all have fun reading and posting to this thread.
Cheers.
28 Replies
I've got a linode 64, and have been totally impressed with the service and the level of support I've recieved for it. Anyhow, I wanted to setup an iCal server for my personal needs, as well as a groupware solution for various projects I'm collaborating on. A bit of research showed me that my best bet would be to go with open-xchange
Riiiiight….
Following along with the instructions for Debian Sarge, which incidentally happens to be the first set of instructions on the howto, I almost immediately ran into trouble. See, open-xchange relies heavily upon Java. Well, you know Java. If there's one thing it isn't, it's efficient. So installing Java meant running out of IO tickets, which then meant I got to learn what IO tickets are, and why I don't want to run out of them. You gotta love software that has a piggy, inefficient installer. Did not bode well.
Then there was getting Tomcat working. I did. But not without pain. Ant, postgresql, yadda yadda. Got it all going. Finally, after many false starts and re-going over the documentation, got the whole schmere running!
And then started getting timeouts on the client side. Lots of them. So I looked again at /proc/io_status, and guess what? Open-xchange, just running idle, chews through 500 tickets per second! Which means if I average more than 12 tickets per second beyond that (which means actually using open-xchange, or perhaps having people send me email, or visit my webpage), I'd be out of tickets quickly, and I was.
To top it all off, well, I'll quote from the install docs> … the bad news is that it seems to be "read-only"
Moral of the story? Friends don't let friends install enterprise web applications on a Linode/64.
To Caker's credit (and my surpise) he got notification of it and had it back up in twenty minutes.
- kenny
@Ciaran:
I thought UML was supposed to be able to stop client virtualisations from binding to any old IP on the host?
This happened sometime summer~fall of 2003. From talking to Chris afterwards, he was surprised that it even happened and said he fixed the problem so clients couldn't jack-up the host's routing tables (or something to that effect).
kenny
It had to do with allowing a node to respond to ARP requests for IPs it didn't own. Suddenly, the switch and other Linodes saw Kenny's Linode as the gateway
I went to great lengths to filter layer 2 and layer3 traffic -- not only to protect each Linode, but to protect the integrity of the Linode network as a whole. I doubt other providers have such thorough protection in place.
-Chris
@Ciaran:
Ooo, dangerous situation. If, back then, somebody set up their own transparent proxying service and did that trick, he'd be able to use tcpdump on the machine to sniff all the Linodes' traffic on that host? Scary. I guess they'd find themselves without an account PDQ thouogh.
:D
That was never possible – we've always filtered layer 3 traffic to and from each Linode that didn't match IPs they've owned.
-Chris
@kenny:
Shortly after I got my linode I decided to disable the dhcp client on my linode. I somehow got the ip address of my linode and its gateway reversed and knocked host2 offline around 1am on a Saturday.
To Caker's credit (and my surpise) he got notification of it and had it back up in twenty minutes.
- kenny
Haha… Nice.
Closest thing I have done (recent) is let 4 ircd's run on my linode at the same time when I only have 42gb of bandwith. I logged into the LPM just to check on things and I see that i have gone through nearly 90 percent of my bandwith in a matter of 2 weeks. I had to log into lish and block all traffic on port 6667 to avoid being charged an exorbitant fee for more bandwith
That's alot of bandwidth. Were those servers part of another IRC network?
-Brian
Of course, if you're seeding a torrent, you should use an ext2 filesystem for the seed, otherwise, the I/O limiter will kill you. There's a lot of overhead involved in ext3 journalling.
Any other I/O instensive operations might also benefit from ext2, but you need to balance the better I/O performance against the need to run fsck on an unscheduled reboot.
EDIT: It is also possible to mount (or remount) an ext3 filesystem as ext2 temporarily.
Correct me if I'm wrong.
@surferdude:
I believe so, Because when I ran netstat, it took about 5 miniutes to finish. When my bandwith is replenished, ill enable traffic again and see how things go.
lol you think so? . . . am I missing something or are you just letting ranodm people run ircds on your boxen?
@OverlordQ:
@surferdude:I believe so, Because when I ran netstat, it took about 5 miniutes to finish. When my bandwith is replenished, ill enable traffic again and see how things go.
lol you think so? . . . am I missing something or are you just letting ranodm people run ircds on your boxen?
I had assumed he had 4 ircds running on 4 different irc networks with tons of channel feeds. Heh. :)
cp apachectl /etc/init.d
@&%#!
> root@li9-121 /usr/local/apache2/bin [516] cp apachectl /var/init.d
root@li9-121 /usr/local/apache2/bin [517] cd /var/init.d
bash: cd: /var/init.d: Not a directory
PS In case you're wondering "what was he thinking," I got into a bad habit with mv, from the manpage:
> mv [OPTION]… SOURCE… DIRECTORY
–
Update:
What the truck? I just cd-ed into /etc/init.d. Everything is back. Is this the work of the linux fairy or what? I've been backing up my files with the intention of wiping clean my linode. Looks like I don't have to. Yippee!
[edit: And, oh, I thought you realised the mistake in your post, but given your update, perhaps you didn't. You were copying it to /var/init.d/ , not /etc/init.d/ .
I'm relieved … I think ;->
OK, so I've signed up for a free trial license of cPanel (
I went and installed it on a LINODE 64.
After slugging through the installation process, a whopping 5% of my bandwidth was consumed, I'm running out of disk space, running out of IO tickets and when idle, the load average was around 6.0. o.o
Moral: cPanel is EVIL! Don't install it.
5 minutes ago:
root@redbaron:~# rm /etc/*
….that was not fun
@cmantito:
5 minutes ago:
root@redbaron:~# rm /etc/*
Ouch!
@NecroBones:
@cmantito:5 minutes ago:
root@redbaron:~# rm /etc/*
Ouch!
And if you really want to get yourself into trouble:
root@localhost:~# rm -rf /
chown -R bones:users .*
as root, intending to alter the ownership of my "dot files" and hidden directories, not realizing it would climb up through the entire file system, changing ownerships (and permissions in some cases) all over the system. :)
@NecroBones:
chown -R bones:users .*
as root, intending to alter the ownership of my "dot files" and hidden directories, not realizing it would climb up through the entire file system, changing ownerships (and permissions in some cases) all over the system.
:)
I know rm has protection from doing that at least, I've done the same with other recursive commands.
Turns out vim has a nifty trick where you can do like the following:
:wq[stuff]
and it'll write out whatever you've got as "[stuff]" instead of whatever the original file was. Note: this only works for certain filenames, the choices of which can be incredibly absurd as you will soon see.
Well, I was working on a file marked read-only, and went to write it out, which to those who don't know, is done with the good old "do it anyhow" wildcard also known as an exclamation point (!) or "bang." Only I missed the bang and hit kablooey instead(Note: CWD was /root/): > :wq~
Vim dutifully told me
"~" 235L, 7843C written
Uh-oh. Well, this was fun, and here I was straight out of the gym in the morning without so much as a cup of coffee to prop up my endorphin-spun brain cells.
Clickety-linkety to behold the horror that almost happened next:
After I studied that one, I literally smacked my forehead, having come within a fraction of pulling the classic unix blunder. Oh well
Had to boot another distro and copy /bin and /dev back over, booted it up and worked perfectly.
could never have done it without help from #linode =)
Thanks,
Smark