I'm become the maintainer for an older Apache 1.3 development server running on a Windows XP machine. For some reason, the system won't allow more than a certain number of virtual hosts(in this case 64). I noted in Apache documentation (http://httpd.apache.org/docs/1.3/misc/FAQ.html#fdlim) that this is possibly due to File Descriptor Limits. However there doesn't seem to be any information on how to adjust this limit on more modern Windows machines. What options do I have for bypassing this limit?

  • name based, ip based, or port based virtual hosts? – reconbot Oct 20 '09 at 15:51

On windows they're called file handles, and the registry value is

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows\USERProcessHandleQuota

take a backup before editing the registry!

Here is an informative post on the matter: Pushing the Limits of Windows: Handles


Another option is using mod_vhost_alias

If you can find a pattern in your vhosts you could create vhost alias rules (AFAIK there is no limit there)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.