Red Hat Bugzilla – Bug 1299028
/sbin/runuser: cannot set user id: Resource temporarily unavailable error
Last modified: 2016-01-18 09:54:09 EST
Description of problem:
I have an Application with "WildFly Application Server 10" carteidge. URL - http://itevents2-romach.rhcloud.com/ .
I see "500 - Internal Server Error"
When I try to make "rhc force-stop-app -a itevents2" command I get error:
Resources unavailable for operation. You may need to run 'rhc force-stop-app -a itevents2' and retry.
/sbin/runuser: cannot set user id: Resource temporarily unavailable
How can I stop or delete application?
Our operations team has looked at your gear and stopped some processes that were still running. You should be able to use the gear again. Can you access your app and run rhc commands now?
I'm not sure what gear size you've been using, but we've seen similar problems with the Wildfly cartridge on small size gears. Wildfly is an Enterprise Java application, which means it can use quite a bit of memory. I believe the recommendation is to use a medium or large gear in order to avoid memory issues. If you're using a small gear, then these problems may occur again.
> Can you access your app and run rhc commands now?
Yes, I can use my gear now.
> I'm not sure what gear size you've been using...
Yes, I have small gear.
Thank you? problem solved.
Glad your gear is working! Unfortunately with a small gear size, similar issues may happen again. I would recommend upgrading to a medium or large gear size if you're looking to use the WildFly cartridge (you can see more information here: https://developers.openshift.com/en/wildfly-getting-started.html).
I'm going to go ahead and close this bug as it looks like the issue has been fixed.