WebFaction
Community site: login faq

I'm using my webspace to show a preview of my websites to my customers. Because I'm also hosting some websites, if I create some small dummy apps they still keep me up to 50MB (!!!) of RAM, and having a 256 limit, this is really bad.

Because I really don't use this websites often, but just to show a new feature to the customer, I would like to keep the configuration (basically my app directory) but I want also to shut down those apps avoiding a useless memory usage.

While I know I can simply run "restart" to resurrect the application, "stop" commands it's not working.

Any suggestion appreciated

Update

I would like to make this through a capistrano task. Basically I run this command remotely:

run "#{deploy_to}/bin/stop

But "stop" doesn't seem to actually stop my app.

asked 23 Jan '13, 15:50

FireDragonDoL
1548
accept rate: 50%

edited 23 Jan '13, 16:09


If you comment out the cron job that restarts the app, then stop the app, it will not restart automatically. Hope that helps!

permanent link

answered 23 Jan '13, 15:59

seanf
12.2k41836
accept rate: 37%

Sorry, I haven't been very precise in my question: I would like to be able to terminate my app through capistrano, so my idea was to run run "#{deploy_to}/bin/stop (like restart command), however running "stop" executable doesn't actually stops my app

(23 Jan '13, 16:08) FireDragonDoL

Looks like I'm wrong, it works sorry for bothering you.

(23 Jan '13, 16:11) FireDragonDoL

Just run "stop" executable in your "webapps/app/bin" directory

permanent link

answered 23 Jan '13, 16:12

FireDragonDoL
1548
accept rate: 50%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×186
×108
×20
×5

question asked: 23 Jan '13, 15:50

question was seen: 2,631 times

last updated: 23 Jan '13, 16:12

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM