• Ja
  • Mirai Mirai and Haruka Yuri Action

7pm in Tokyo - Server Fun

85
54207
Mon 2009/03/02 15:47 JST
Ff14a58dfaa1210313692d7f6b3ff012

Sorry folks for server going MIA. Just one line of code was enough to bring down the server - spent pretty much all day trying to figure out the problem. Initially thought it was hackers and was looking for security holes.

I launched the Japanese News Items functionality yesterday and when doing so I wrote a line of code that should not be there which caused some news items to go missing which then sent the server bonkers...
Everything was fine after uploading that file and doing QA but after the usual wave of user activity, things started to break which was something I could have not envisioned. Need a service to simulate user tidal waves.
This was the cause of some of your news items going missing too.

Am working as hard as I can on making the dannychoo.com service faster and have a goal of getting the top page to load within 3 seconds - recently got some some new hardware to help me do that.

For those who are wondering, dannychoo.com is not hosted on my Mac Mini's! only some of the static images are hosted here. At the moment images are being served from img.dannychoo.com:3331 but will be on img.dannychoo.com tomorrow - I know some of your firewall settings at home or work may block port 3331.

For the tech savvy, use the following command in the terminal to see where http is getting stuck - this command saved my booty.

for i in `ps -elf |grep http|awk '{print $4}'|sort|uniq`; do ls -la /proc/$i/cwd ; done|awk '{print $11}'|sort|uniq -c |sort -nr

Would like to apologize once again and thank you for all your support as always - love you all! *tears*

Tokyo · CEO Mirai Inc
http://www.dannychoo.com/profile

Director for Culture Japan. Creator of Mirai Suenaga. Member of the Japanese governments METI CIIC.
経済産業省クリエイティブ産業国際展開懇談会委員。
テレビ番組カルチャージャパンのディレクターと司会。
twitter.com/dannychoo
facebook.com/dannychoodotcom

Related

  • 7pm in Tokyo - Drive home

    Actually much later than 7pm - about 20 mins ago on the way home from an awesome networking event at Ap...

     Fri 09/02/27
    29
    31993
  • 7pm in Tokyo - New Years Day

    Taken at 7pm-ish last night when out for an evening stroll exploring more parts of the neighborhood - c...

     Fri 09/01/02
    46
    18929
  • 7pm in Tokyo - Shibuya

    Its been a few days since the last "7PM in Tokyo" - mainly because I've been in bed trying to shake thi...

     Mon 09/01/26
    62
    19630
  • 7pm in Tokyo - Meguro

    Starting a new series inspired when looking out the plane window on the way back to Tokyo from Singapor...

     Sun 08/12/07
    51
    50110

Comments

Create Comment Show comments
  1. Loading-pulse