webserver
#1
Posted 15 August 2011 - 12:11 AM
i'm currently configuring a webserver to host a couple websites my issue is i don't have enough available memory to be running apache, so i'm forced to use lighthttpd which i don't really know very well
my issue with lighthttpd is when i get around 10-20 users on the sites browsing around it starts to slow down and i mean 3-5 seconds per page load even Word press with caching enabled is having issues i've been poking around the configuration
from what i've gathered lighthttpd is a single daemon server but i've read where people use it to handle massive load upwards of 500 users with no issues i've tried configurations similar to theirs and it's just not satisfying me
these are the only settings in light http that really deal with the server performance and this is what i've got them at
#server.max-worker = 50
server.max-fds = 4048
server.max-connections = 2048
server.max-keep-alive-requests = 128
server.max-keep-alive-idle = 30
#server.max-read-idle = 60
#server.max-write-idle = 360
i've commented some out currently because when i tried them no matter what i set them to it made the performance even worse i've tinkered and tinkered and just can't get this to work right
anyone know how to setup apache to run on about 256MB max? and handle a light load of say 50 users?
RAM: Wintec XMP1600 DDR3 - 8.00GB @ 1600MHz | Video Card: Sapphire HD Radeon (Cypress XT) 5870 2GB | HDD0-3: 1.8TB
Network: Realtek 1Gb Ethernet, Asus 1Gb Switch, D-Link DIR-655, Motorola SB 6120

#3
Posted 15 August 2011 - 02:30 AM
Edited by TriRan, 15 August 2011 - 02:31 AM.
RAM: Wintec XMP1600 DDR3 - 8.00GB @ 1600MHz | Video Card: Sapphire HD Radeon (Cypress XT) 5870 2GB | HDD0-3: 1.8TB
Network: Realtek 1Gb Ethernet, Asus 1Gb Switch, D-Link DIR-655, Motorola SB 6120

#4
Posted 15 August 2011 - 06:47 AM
TriRan, on 15 August 2011 - 02:30 AM, said:
How much ram do you have?
No matter how much get rid of lighttpd don't waste your time.
Install either the free version of litespeed or install apache + nginx
Both are vastly superior to lighttpd and use much less ram. Litespeed is my personal favorite because of the GUI that makes configuring and management real easy and quick.
#5
Posted 15 August 2011 - 12:20 PM
i've also considered getting a seperate server for services like mysql and mail server etc but i don't know if i want that kind of cost for such small projects
RAM: Wintec XMP1600 DDR3 - 8.00GB @ 1600MHz | Video Card: Sapphire HD Radeon (Cypress XT) 5870 2GB | HDD0-3: 1.8TB
Network: Realtek 1Gb Ethernet, Asus 1Gb Switch, D-Link DIR-655, Motorola SB 6120

#6
Posted 15 August 2011 - 06:33 PM
i'm 99% sure the machine my vps is on is overloaded i talked with another company and they set me up a vps to try today for free and it's handling 50 users and not even breaking a sweat they will also be giving me more memory then i had before
~ triran
RAM: Wintec XMP1600 DDR3 - 8.00GB @ 1600MHz | Video Card: Sapphire HD Radeon (Cypress XT) 5870 2GB | HDD0-3: 1.8TB
Network: Realtek 1Gb Ethernet, Asus 1Gb Switch, D-Link DIR-655, Motorola SB 6120

#7
Posted 15 August 2011 - 07:07 PM
TriRan, on 15 August 2011 - 06:33 PM, said:
i'm 99% sure the machine my vps is on is overloaded i talked with another company and they set me up a vps to try today for free and it's handling 50 users and not even breaking a sweat they will also be giving me more memory then i had before
~ triran
Thanks,
EBrown


#8
Posted 15 August 2011 - 08:29 PM
Edited by TriRan, 15 August 2011 - 08:29 PM.
RAM: Wintec XMP1600 DDR3 - 8.00GB @ 1600MHz | Video Card: Sapphire HD Radeon (Cypress XT) 5870 2GB | HDD0-3: 1.8TB
Network: Realtek 1Gb Ethernet, Asus 1Gb Switch, D-Link DIR-655, Motorola SB 6120

#9
Posted 16 August 2011 - 02:11 AM
this was my original server
http://74.86.168.194
this is my new one
http://pmcgaming.com
RAM: Wintec XMP1600 DDR3 - 8.00GB @ 1600MHz | Video Card: Sapphire HD Radeon (Cypress XT) 5870 2GB | HDD0-3: 1.8TB
Network: Realtek 1Gb Ethernet, Asus 1Gb Switch, D-Link DIR-655, Motorola SB 6120

#10
Posted 16 August 2011 - 10:58 AM
RAM: Wintec XMP1600 DDR3 - 8.00GB @ 1600MHz | Video Card: Sapphire HD Radeon (Cypress XT) 5870 2GB | HDD0-3: 1.8TB
Network: Realtek 1Gb Ethernet, Asus 1Gb Switch, D-Link DIR-655, Motorola SB 6120

#12
Posted 16 August 2011 - 07:21 PM
with the switch i get more cpu power more ram more HD space and more bandwidth for about the same price plus the IO on the server is much higher
RAM: Wintec XMP1600 DDR3 - 8.00GB @ 1600MHz | Video Card: Sapphire HD Radeon (Cypress XT) 5870 2GB | HDD0-3: 1.8TB
Network: Realtek 1Gb Ethernet, Asus 1Gb Switch, D-Link DIR-655, Motorola SB 6120

#13
Posted 19 August 2011 - 01:52 AM
under load it spikes to around 170MB-200MB the apache processes are using about 32MB each x 10 workers = 320MB under load so all in all around 512-600MB under load out of my 1GB pool i have some room for growth now it seems
i just thought i'd follow up here with how everything turned out and what my issues were
~ TriRan
RAM: Wintec XMP1600 DDR3 - 8.00GB @ 1600MHz | Video Card: Sapphire HD Radeon (Cypress XT) 5870 2GB | HDD0-3: 1.8TB
Network: Realtek 1Gb Ethernet, Asus 1Gb Switch, D-Link DIR-655, Motorola SB 6120

#14
Posted 19 August 2011 - 10:06 AM
TriRan, on 19 August 2011 - 01:52 AM, said:
under load it spikes to around 170MB-200MB the apache processes are using about 32MB each x 10 workers = 320MB under load so all in all around 512-600MB under load out of my 1GB pool i have some room for growth now it seems
i just thought i'd follow up here with how everything turned out and what my issues were
~ TriRan
Thanks,
EBrown


#15
Posted 19 August 2011 - 10:35 AM
TriRan, on 19 August 2011 - 01:52 AM, said:
The remedy for that is to not run MySQL on the same VPS. Get a hosted MySQL service if it ever becomes a problem.
#16
Posted 19 August 2011 - 10:39 PM
its not a good idea to host everything on the same machine this i know
RAM: Wintec XMP1600 DDR3 - 8.00GB @ 1600MHz | Video Card: Sapphire HD Radeon (Cypress XT) 5870 2GB | HDD0-3: 1.8TB
Network: Realtek 1Gb Ethernet, Asus 1Gb Switch, D-Link DIR-655, Motorola SB 6120

#17
Posted 12 November 2011 - 05:42 PM
TriRan, on 19 August 2011 - 10:39 PM, said:
its not a good idea to host everything on the same machine this i know
Thanks,
EBrown


1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














