Re: Scaling the server

2007-10-27 Thread Graham Dumpleton
On Oct 27, 2:33 am, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote: > Hi again Simon, > > > @ Michel: I think the best approach is to use a separate IP for Lighttpd to > > listen on, but it should be equally easy to have Lighttpd listen on > > for example port 81. > > Hum, understood. The last on

Re: Scaling the server

2007-10-26 Thread Michel Thadeu Sabchuk
Hi again Simon, > @ Michel: I think the best approach is to use a separate IP for Lighttpd to > listen on, but it should be equally easy to have Lighttpd listen on > for example port 81. Hum, understood. The last one question (I think :-P). The use of apache to redirect connections to lighttpd t

Re: Scaling the server

2007-10-26 Thread simonbun
@ Malcolm: I know, I didn't mean you'd need 31 separate Apache processes at once. Most browsers only download a few files at once per subdomain, but that usually still involves spawning new Apache processes. How many is dependent on many factors of course. In the end I still believe that KeepAlive

Re: Scaling the server

2007-10-26 Thread Michel Thadeu Sabchuk
Hi again guys! > > No, this isn't correct. No sane web browser requests every single URL at > > once -- there is a maximum number of parallel connections they will open > > for precisely this reason. > > And browser caching of static stuff like css files and images should > hopefully ensure that

Re: Scaling the server

2007-10-26 Thread Graham Dumpleton
On Oct 26, 6:38 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2007-10-26 at 05:06 +, simonbun wrote: > > > Well, I have another server available now ;) > > > And you're using it for serving static content I hope? Your previous > > setup with Apache serving everything with KeepAl

Re: Scaling the server

2007-10-26 Thread Malcolm Tredinnick
On Fri, 2007-10-26 at 05:06 +, simonbun wrote: > > Well, I have another server available now ;) > > And you're using it for serving static content I hope? Your previous > setup with Apache serving everything with KeepAlive off can bring many > a server to its knees. If you serve a html page w

Re: Scaling the server

2007-10-25 Thread simonbun
> Well, I have another server available now ;) And you're using it for serving static content I hope? Your previous setup with Apache serving everything with KeepAlive off can bring many a server to its knees. If you serve a html page with for example 30 css, js and image files, you make a single

Re: Scaling the server

2007-10-25 Thread Graham Dumpleton
On Oct 25, 11:32 pm, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote: > > Do you know which process in particular though are using up all the > > memory? > > The `top` command tells me that apache is taking the most slice of the > RAM. When I reach the high loads, there is between 40-50 subprocess

Re: Scaling the server

2007-10-25 Thread Sridhar Adusumilli
On Oct 25, 9:32 am, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote: > Hi Graham, > > First, thanks for all your help! > > > If a different physical machine or you have multiple IPs on the one > > machine, then preferable to serve the media files from a different > > hostname. That way the media w

Re: Scaling the server

2007-10-25 Thread Michel Thadeu Sabchuk
Hi Graham, First, thanks for all your help! > If a different physical machine or you have multiple IPs on the one > machine, then preferable to serve the media files from a different > hostname. That way the media web server can still run on port 80, in > the case of the same machine by configur

Re: Scaling the server

2007-10-24 Thread Graham Dumpleton
On Oct 25, 7:19 am, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote: > Hi Graham! > > > What percentage of requests are actually yielding static pages? > > People often too quickly run to lighttpd thinking it will somehow > > magically solve all their problems, but if the bulk of the requests > >

Re: Scaling the server

2007-10-24 Thread Michel Thadeu Sabchuk
Hi Graham! > What percentage of requests are actually yielding static pages? > People often too quickly run to lighttpd thinking it will somehow > magically solve all their problems, but if the bulk of the requests > are actually dynamic and served by Django, and it is Django and the > database

Re: Scaling the server

2007-10-23 Thread Graham Dumpleton
On Oct 24, 5:13 am, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote: > Hi guys, > > A few weeks ago I had problems with my dedicated server, it was > stucking twice or more times a week. After some digging, I solve the > problem updating the mysqldb lib version. The server goes ok almost > all the

Scaling the server

2007-10-23 Thread Michel Thadeu Sabchuk
Hi guys, A few weeks ago I had problems with my dedicated server, it was stucking twice or more times a week. After some digging, I solve the problem updating the mysqldb lib version. The server goes ok almost all the time, but I still have server stuck when I had too much hits. My server had 1.