tyrcho / openshift-cartridge-play2

Play2 In OpenShift as a cartridge
https://github.com/tyrcho/openshift-cartridge-play2
37 stars 42 forks source link

sample needs a restart on zone52 #2

Closed tyrcho closed 10 years ago

tyrcho commented 10 years ago

after the app creation you get an error 503, a restart is needed to get the welcome page.

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

When logged right after creating the application :

[test6-mdt.apps.zone52.org 52e7d80e67c98980c500002e]> ps -exf Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ PID TTY STAT TIME COMMAND 26835 ? S 0:00 sshd: 52e7d80e67c98980c500002e@pts/3 26836 pts/3 Ss 0:00 _ /bin/bash --init-file /usr/bin/rhcsh -i USER=52e7

27096 pts/3 R+ 0:00 _ ps -exf OPENSHIFT_PLAY2IP=127.6.4.1 SELINUX

Filirom1 commented 10 years ago

I don't understand why, but I had the same issue.

tyrcho commented 10 years ago

Seesms to be OK now, you just need to be patient. At first you see the 503 error, but after a while the server is started. I also changed the environment variables so by default the memory used for the build is 512MB.