Binary Sludge
  • Home

file descriptors

A collection of 2 posts
file descriptors

How to Delete Millions of Files (Linux)

Deleting millions of files from a directory can be a daunting task. rm -rf will expand the to glob every file in the directory and return an error such as "Argument list too long". find . -type f -delete will try to get a list of all files before
01 Jan 2012
dynamic hosting

Dynamically Configured Mass Virtual Hosting with Apache and mod_vhost_alias to avoid File Descriptor Limits

Hosting hundred of vhosts on the same server using Apache is not scalable: file descriptor limits are soon hit and the size of Apache's configuration files balloons. When hosting many vhosts (i.e. over 100) it's preferable to use mass dynamic virtual hosting. This is possible
31 Mar 2011 3 min read
Page 1 of 1
Binary Sludge © 2026
Powered by Ghost