Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Serving and Management
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Serving and Management how to web server support forum

Reply
 
LinkBack Thread Tools
Old 12-15-2005, 06:47 PM   #1 (permalink)
Registered User
 
Join Date: Dec 2005
Posts: 1
OS: XP


Apache VirtualHost Limit?

So I am setting up a server and it has ~600 sites...

I'm running Apache 2.2 and when i try to start the server using apachectl start

with 506 <VirtualHost> entries, it fails

with 505, it'll start but the pages give this error for PHP pages:
Quote:
Warning: Unknown(/home/test/public_html/index.php): failed to open stream: Too many open files in Unknown on line 0

Warning: (null)(): Failed opening '/home/test/public_html/index.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
and a 403 for non-PHP pages

with 504 and below, it'll boot and serve pages correctly......



i tried using apache 1.3.34 thinking maybe it was a problem with apache but no luck, same problems with that..... anyone have any ideas? I could really use some help, thanks in advance :)


edit: i'm using fedora core

Last edited by ArSaL; 12-15-2005 at 06:53 PM.
ArSaL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 12-15-2005, 10:50 PM   #2 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Chicago burbs
Posts: 2,194
OS: Gentoo Linux, CentOS, OS X

My System

It looks like you're running into a resource limitation issue. Take a look at the following link and scroll to the bottom and read the section titled "File Handle/Resource Limits".

http://webworldforum.unesco.org/manu...tual-host.html
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-18-2005, 02:28 AM   #3 (permalink)
Register user
 
Jayso's Avatar
 
Join Date: Nov 2005
Location: Australia
Posts: 66
OS: Dual-Boot: Microsoft Windows XP x64 Edition & Red Hat Linux Fedora Core 4

My System

Send a message via MSN to Jayso
Well, i'm not sure about the php related messages

But the 403 (Forbiden) should be solved by configuring the VirtualHost's DocumentRoot with a <Directory> thingy

Seeing as you would have different DocumentRoots in each virtual host, you would need to give that directory it's settings(directives...whatever...)

If you have done this then I wouldn't have a clue what is wrong other than what Skie said

Wish you well
Jayso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 09:39 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85