Nerdier

Adjective: Comparative form of nerdy: more nerdy.

/bin/bash: Resource temporarily unavailable

Encountered an error when I was trying to su to a user:

 

# su -s /bin/bash user
su: /bin/bash: Resource temporarily unavailable

ps showed they had many processes open, which was hitting a limit.

# ps aux | grep user | wc -l
1624

Resolved by killing all their processes.

kill -9 $(ps aux | awk '/user/ {print $2}')

 

Leave a Reply

Your email address will not be published. Required fields are marked *