Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I ran "ulimit -v 75" to get SBCL working, and now nothing will run on my server.

$ sbcl
$ vi
$ man ulimit
$ ulimit -v 256
-bash: ulimit: virtual memory: cannot modify limit: Operation not permitted

How can I reset the ulimit?

share|improve this question
up vote 2 down vote accepted

To my knowledge ulimit in Bash and other shells is "local" to the shell instance (more generally to the process and children). You can lower it but not raise it again on your own. But you can likely log in on another terminal and get another shell instance without that limit.

share|improve this answer
mcandre: Try this one first -- it's a better answer. =) – Randolf Richardson Mar 8 '11 at 3:15
HUGE sigh of relief. – mcandre Mar 8 '11 at 3:22
@mcandre: I guess we all had that at one point or another :) – 0xC0000022L Mar 8 '11 at 3:24

Try using the "exec" command: exec ulimit -v 256

If that doesn't work, this might get you rebooting at least: exec reboot

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .