{"action":"created","issue":{"url":"https://api.github.com/repos/tengyifei/openshift-cartridge-nginx-hhvm/issues/20","labels_url":"https://api.github.com/repos/tengyifei/openshift-cartridge-nginx-hhvm/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/tengyifei/openshift-cartridge-nginx-hhvm/issues/20/comments","events_url":"https://api.github.com/repos/tengyifei/openshift-cartridge-nginx-hhvm/issues/20/events","html_url":"https://github.com/tengyifei/openshift-cartridge-nginx-hhvm/issues/20","id":65859095,"number":20,"title":"a trouble in scaling app","user":{"login":"CoolSpring8","id":8985327,"avatar_url":"https://avatars.githubusercontent.com/u/8985327?v=3","gravatar_id":"","url":"https://api.github.com/users/CoolSpring8","html_url":"https://github.com/CoolSpring8","followers_url":"https://api.github.com/users/CoolSpring8/followers","following_url":"https://api.github.com/users/CoolSpring8/following{/other_user}","gists_url":"https://api.github.com/users/CoolSpring8/gists{/gist_id}","starred_url":"https://api.github.com/users/CoolSpring8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoolSpring8/subscriptions","organizations_url":"https://api.github.com/users/CoolSpring8/orgs","repos_url":"https://api.github.com/users/CoolSpring8/repos","events_url":"https://api.github.com/users/CoolSpring8/events{/privacy}","received_events_url":"https://api.github.com/users/CoolSpring8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-02T07:01:48Z","updated_at":"2015-04-02T15:16:55Z","closed_at":null,"body":"Hello,\r\nThis may not have to do with this cartridge,but I'd like to thank you if you help me.Yesterday I used this cartridge to create an scalable application and installed WordPress on it. It ran well,but when I tried refreshing the page very quickly today,the local-gear seemed to go down(503,and then 504).\r\nI checked haproxy-status and it seemed like to make another gea up.However,when I visited my site again,the page become the original \"Welcome to OpenShift\".\r\nI tried restarting the application but it didn't work.Is that means the file and data can't be shared even between the two gears of an application?Or do I need to do anything extra to use an scalable app?(I noticed when I first visited the website,it set a cookie like \"Set-Cookie:GEAR=local-1234567890f9337d81012345; path=/\".I guess it can ensure the visitor visit a certain gear,but when the local gear goes down,it doesn't seem to help.)\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/tengyifei/openshift-cartridge-nginx-hhvm/issues/comments/88941817","html_url":"https://github.com/tengyifei/openshift-cartridge-nginx-hhvm/issues/20#issuecomment-88941817","issue_url":"https://api.github.com/repos/tengyifei/openshift-cartridge-nginx-hhvm/issues/20","id":88941817,"user":{"login":"tengyifei","id":2877531,"avatar_url":"https://avatars.githubusercontent.com/u/2877531?v=3","gravatar_id":"","url":"https://api.github.com/users/tengyifei","html_url":"https://github.com/tengyifei","followers_url":"https://api.github.com/users/tengyifei/followers","following_url":"https://api.github.com/users/tengyifei/following{/other_user}","gists_url":"https://api.github.com/users/tengyifei/gists{/gist_id}","starred_url":"https://api.github.com/users/tengyifei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tengyifei/subscriptions","organizations_url":"https://api.github.com/users/tengyifei/orgs","repos_url":"https://api.github.com/users/tengyifei/repos","events_url":"https://api.github.com/users/tengyifei/events{/privacy}","received_events_url":"https://api.github.com/users/tengyifei/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T15:16:55Z","updated_at":"2015-04-02T15:16:55Z","body":"If you SSHed into the cartridge and pulled down a copy of WordPress from the internet, that is not the correct way to install WordPress :wink: You should copy WordPress into `www`folder of your own code repository, which will be automatically initialized for you after `rhc app create`. Then commit and push. The new version will start serving immediately.\r\n\r\nHaving said that, running WordPress on a PaaS framework differs somewhat from hosting it on a VPS. Writing to local file system is discouraged since changes are not propagated across gears."}}