r/Python • • Feb 27 '10

Why is web2py.com often down?

0 Upvotes

38 comments sorted by

9

u/mdipierro Feb 28 '10 edited Feb 28 '10

This is all I can say. I have been traveling in the past 48 hours and I did not have access to the server. I checked it now. It is up. According to the log it was never down but it received no requests in between 6am-12pm on Saturday. My guess is that the hosting provider had some issues during that time. If this happens again I will move to a different hosting server.

1

u/delibaltas Mar 01 '10

Thanks for reply. Someone suggested to ask you in private but I thought others would want a reply too, since after the book came online I see a lot of interest from many like me. I said "often" in my question because in 2 other occasions in recent past the book was almost unusable due to slow traffic. The problem was lasting for 1-2 hours and then it was getting normal again.

1

u/mdipierro Mar 01 '10

We are still running on very limited resources (one server and only 256MB Ram). Ram is the main issue since book chapters get cached in Ram. I have been busy traveling but I hope to be able to increase the ram this week or the next. Meanwhile I have changed some settings that should speed things up a little. Sorry about that.

11

u/badsign Feb 27 '10

i think they host the site on a toaster running freebsd.

11

u/[deleted] Feb 27 '10

well thats what I call scalability

4

u/[deleted] Feb 27 '10

They need to upgrade to the four slot model.

1

u/stevvooe Feb 28 '10

I don't know why, but this made me instantly think of materia.

2

u/emblazoned Feb 28 '10

It suffered a DoS attack which resulted in multiple sysadmins having no toast with their morning coffee.

2

u/mdipierro Feb 28 '10 edited Feb 28 '10

The server is apache+mod_wsgi. Until February we run on Virtual Machine at the DePaul without trouble. Then we moved to EC2. That worked fine but too expensive. Then we moved to VPS.net. The OS is ubuntu. We may move again.

3

u/[deleted] Feb 27 '10

s/free/net/

32

u/[deleted] Feb 27 '10

Cause it's built on web2py ?

5

u/mdipierro Feb 28 '10 edited Feb 28 '10

You wish! According to the logs the server was never down but it received no requests in between 6am-12pm on Saturday. My guess is that the hosting provider had some issues during that time or perhaps it was a dns problem. If this happens again I will move to a different hosting provider.

13

u/[deleted] Feb 27 '10 edited Feb 27 '10

ding ding ding !

Retracted

-1

u/Ashiro Feb 27 '10

I was planning on giving it a go but it died as I was looking at it. I think I'll be taking a look at Pylons instead.

1

u/jigs_up Feb 28 '10

u cant go wrong with pylons my friend.

2

u/mturk Feb 28 '10

u cant go wrong with pylons my friend.

Does the use of pylons make a programmer unable to spell "you" or "can't"? If so then I would advise steering clear of that particular module.

-2

u/jigs_up Feb 28 '10

I would advise steering clear of sticks, but you clearly already have one up your ass.

1

u/stevvooe Feb 28 '10

This doesn't really make sense, but I still upvoted you.

-1

u/badsign Feb 27 '10

cosign

3

u/[deleted] Feb 27 '10 edited Feb 27 '10

I'm trying to learn it and man I sure could use the book. Web2py is great and deserves more attention... or maybe this is the result of a massive web2py revolution?? I hope its back up soon.

1

u/badsign Feb 27 '10

well, how else will they get the masses to buy a copy of the book? notice it is not included with the offline documentation :)

im just sayin..

2

u/ianb Feb 28 '10

It's probably related more to the way it is deployed than to the framework itself.

3

u/Tommah Feb 27 '10

mdipierro (one of the /r/Python moderators) is the web2py guy... ask him.

4

u/[deleted] Feb 27 '10

He never replies

16

u/Geee Feb 27 '10

Yeah because he is down.

4

u/mdipierro Mar 01 '10

LOL

1

u/[deleted] Mar 01 '10

LOL Bravo! I take back anything negative I ever said about you

2

u/mdipierro Mar 01 '10

<mdipierro offers miles_g a smoke peace pipe>

2

u/badsign Feb 27 '10

as of this post, the web2py.com site is back up.

2

u/mozillalives Feb 27 '10

isn't it webpy.org?

4

u/jeradj Feb 27 '10

nah, that's something else bro

2

u/mozillalives Mar 01 '10

oops, my bad. Thanks.

1

u/masklinn Feb 27 '10

That's web.py, not web2py.

-4

u/choffman Feb 27 '10

This smells like a troll.

4

u/mturk Feb 28 '10

So does your mom, but we're not about to post that on reddit.

2

u/[deleted] Feb 28 '10

Congratulations, you win king of the internet for the next hour!