Sign in to comment

Select your language

7pm in Tokyo - Server Fun

Posted by Danny Choo On Mon 2009/03/02 15:47 JST In Japan
 85  68368 ja

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 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, 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 but will be on 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*


Iori Nomizu
Sat 2016/10/22  1  15412
Nishizumi Miho Smart Doll
Sun 2016/10/16  611  704536
Akihabara October 2016
Sun 2016/10/09  48  105699
Desk Diary 20160906
Tue 2016/09/06  83  690107

Currently being read

Anime Toys
Fri 2009/08/14  59  65806
Comic Fiesta 2012
Mon 2013/01/21  118  518160
Japan Unmanned Shops
Wed 2011/03/09  69  660903
Magical Mirai
Wed 2013/08/14  160  925606