Montreal Tech Watch





TOPICS:
STARTUPS
ENTREPRENEURSHIP
WEB2.0
EVENTS
MOBILE
VIDEO GAMES
JOBS
HACKING

Back! (7)

July 17th, 2008 · by Heri · Technology

nuclear mtw

For those who were not aware, MontrealTechWatch was down from yesterday early morning till 8.00pm today 17th of July.

It might seem normal and in the-order-of-things that the server comes back; for most sys admins, it’s just a matter of opening a ticket and the tech support would restart somehow the whole thing. But this time, it was radically different. Just a few hours ago, it was considered to be un-recoverable *sweats* , and with it databases **shivers** plus all generated files for the past 2 years ***faints***. We tried one last hack, which miraculously worked.

For those curious about technical details, this server hosts many websites and services. It hosts for instance a RoR site, graciously hosted since it’s a friend’s, plus another experiment, using Phusion Passenger. I’ve discovered that mod_rails has a big memory problems and leaves around dead processes; which I intended to solve by writing a god-like ruby script that would kill & clean processes, and even if the parent process was defunct and couldn’t be killed. Fast-forward, yesterday morning, this script launched the system command kill -9 1 … with the script owned by root user… which is the equivalent of shooting yourself in the head … while jumping from a plane 30000 feet high. XenServer can’t even restart, reinstall snapshot backups, relaunch, nor be re-setup, and all files & databases were deemed lost and inaccessible.

MTW is taken very seriously and I know of its importance; and this should never happen again. There’s one thing to blame here, which is trying to use experimental scripts on a production server. If this was a company, I would have fired the Linux idiot who wrote the script. Oh wait… Anyway, thanks for everyone who were there, it’s much appreciated. I’ll look into getting an additional resource as a sandbox and get a bulletproof environment for MTW

Comments

Related

Events

  • 7:00 PM - 9:30 PM: 5@7 du Net (Le Belmont, 4483 boul St-Laurent, Montréal)
  • Wed Aug 27 6:30 PM - 10:00 PM: Montreal StartupDrinks (Cafe des Eclusiers, 400 rue de la Commune Ouest)
  • Wed Sep 3 7:00 PM - 10:00 PM: yulblog (La quincaillerie)
  • Fri Sep 5 - Mon Sep 8: BitNorth (Lake McDonald, QC)
  • Mon Sep 8 6:00 PM - 9:00 PM: Mobile Monday Montreal - momomo job fair
  • Tue Sep 9 10:00 AM - 12:00 PM: Montreal Tech Entrepreneur Breakfast (Bistro Etc, 1291 avenue Mont-Royal Ouest)
  • Mon Sep 15 - Thu Sep 18: Red Herring Canada (Fairmont hotel in Mont-Tremblant)
  • Mon Sep 15 7:00 PM - 11:30 PM: MontrealAgainstRails (3981 boul. St. Laurent, suite 615 -- Standoutjobs offices)
  • Wed Sep 17 5:30 PM - 8:30 PM: 5 a 7 TechnoMontreal (Restaurant Le Quartier, Square Victoria)
  • Wed Sep 24 6:00 PM - 8:30 PM: Montreal StartupDrinks (Cafe des Eclusiers, Montreal)



  • Flickr

    SyntenicunykBuyCanadianFirstAnother pic of Sylvain CarleMontreal Tech breakfast, AugustTech BreakfastSylvain Carle, Tech Entrepreneur BreakfastMontreal Tech Entrepreneur breakfastPhp beer, st-sulpicePresto3D Model screenshot

    MTW is brought by

    Montreal Tech Watch is also

    Follow MTW's activity with the twitter feed.



    © 2007 Montreal Tech Watch
    Photographs taken by MTW are under Creative Commons. Attribution-NonCommercial-ShareAlike 2.0
    Screenshots, logos, videos, and trademarks showcased on Montreal Tech Watch are the property of their respective owners.