Bug 1299028 - /sbin/runuser: cannot set user id: Resource temporarily unavailable error
Summary: /sbin/runuser: cannot set user id: Resource temporarily unavailable error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Image
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Rory Thrasher
QA Contact: Wang Haoran
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-15 17:48 UTC by romach007
Modified: 2016-01-18 14:54 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-18 14:54:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description romach007 2016-01-15 17:48:50 UTC
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?

Comment 1 Rory Thrasher 2016-01-15 22:43:12 UTC
Hi there,

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.

Rory

Comment 2 romach007 2016-01-16 09:40:27 UTC
> 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.

Comment 3 Rory Thrasher 2016-01-18 14:54:09 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.