You can map http://myapp.dev:80 to http://localhost:3000 easily.
Showing posts with label apache. Show all posts
Showing posts with label apache. Show all posts
Sunday, April 14, 2013
Monday, February 7, 2011
Apache on Snow Leopard, "ulimit: open files: cannot modify limit: Invalid argument"
When I started apache on my Snow Leopard i got a weird exception
So I opened the script and found that there is something wrong with $ULIMIT_MAX_FILES
The error message says that 'cannot modify limit' so i changed its value to empty string
Voila, it works, but deeper investigation need.
/usr/sbin/apachectl: line 82: ulimit: open files: cannot modify limit: Invalid argument
So I opened the script and found that there is something wrong with $ULIMIT_MAX_FILES
The error message says that 'cannot modify limit' so i changed its value to empty string
# ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`"
ULIMIT_MAX_FILES=""
Voila, it works, but deeper investigation need.
Labels:
apache,
command line,
osx,
snow leopard
Subscribe to:
Posts (Atom)