Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

It appears to me that rackspace somehow freezes cloud VMs after some idle time. This means the first page request to a php page takes much longer to respond than the subsequent requests.

This is in some cases good, in other cases not acceptable.

I am actually querying a machine with wget from a different host now to keep it "alive". But I wonder what frequency would be necessary. Does anyone know the time period after which they send a VM to "sleep"? I guess it would be some minutes.

EDIT: There is absolutely no caching involved on the php site.

It just recently moved from another vhost and there was never such latency on the first request.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Whatever is causing this, you can use a free 'site monitoring' service such as Alertfox for this - it will request a page from your site every x minutes, keeping everything 'spun-up'.

Might also be worth asking Rackspace if they know of any reason why this should be happening.

share|improve this answer

I very much doubt that rackspace would freeze a VM. I advice getting in touch with someone from support.

Edit Are you absolutely sure that the server is down? Are you sure it's not to do with whatever you are hosting on the site?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.