Had an ulimit problem

I’m optimizing some scripts that split our apache logs each night. I gotta admit Apache’s ‘split-logfile’ script written in perl is a LOT faster than doing it via f.example bash . But splitting up a log file with more than 2000 vhosts resluted in the script crashing. I had to up my ‘open files’ limit with :

# ulimit -n 4096
# 

http://www.debian.org/doc/manuals/securing-debian-howto/ch4.en.html
http://httpd.apache.org/docs/2.0/programs/other.html

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.