LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > Large httpd.conf Files

Reply
 
Thread Tools Display Modes
  #1  
Old 06-16-2006, 07:09 AM
Crosswinds Crosswinds is offline
New Member
 
Join Date: Jun 2006
Posts: 1
Default Large httpd.conf Files

I ran into an interesting issue.

I have a cPanel server with about 500 small domains on it - very low traffic. Currently using Apache+php-fcgi and it's working out pretty well, but I like simplicity.

I decided to try lsws to see how it works, etc and my results have not been encouraging.

The httpd.conf files has a total of 1595 virtual hosts - most of which are subdomains and parked domains. Apache has no issue loading this up or running.

I fired up lsws and the import took a very long time (30-40 mins - I went and got a coffee). Starting up lsws and going to a domain on the system (on the lsws port) I get the lsws welcome screen.

No problem, I go to the admin port and.... it times out. Every time. admin_php eats all available cpu and I've upped the memory and php execution time and it simply cannot process that many virtual hosts efficiently.

Any recommendations? (heh and no, moving some onto another server isn't a good recommendation - Apache is doing quite a good task at the moment - I am simply looking for an even better customer experience - they are quite happy as it is).
Reply With Quote
  #2  
Old 06-16-2006, 11:32 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Crosswinds,

We are currently working on a revamped web admin interface which address this problem. The current web admin code has not been optimized for speed when dealing with several hundred vhosts thus you see the admin_php process chewing up CPU and timing out.

Please email the apache httpd.conf to bug@litespeedtech.com so we can verify your problem, create a fix for you to test, and commit it to our internal 2.1.17 release.
Reply With Quote
  #3  
Old 06-17-2006, 08:26 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
While Xing tuning the web admin interface, you can try let LSWS using httpd.conf directly instead importing httpd.conf into LSWS configuration format. We have user using LSWS with Cpanel successfully, this way, you can still manage vhosts within Cpanel without importing httpd.conf again and again.

Just install a fresh copy of LSWS and check out the "Apache configuration" under "server"->"general".
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
lsz files jrmarino General 1 07-24-2007 11:00 AM
Forbid access to PHP files BobbyEasland Install/Configuration 3 05-08-2007 08:53 AM
Blocking files by extension Marcus Install/Configuration 2 02-28-2007 03:09 PM
Deletion of /tmp/lshhtpd swap & other lsws files athanasius Install/Configuration 1 02-23-2006 05:25 PM
gzip for static files with no write permissions IO Bug Reports 2 09-24-2005 08:26 AM


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



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.