LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   some better web server apache (https://www.linuxquestions.org/questions/linux-server-73/some-better-web-server-apache-824471/)

entz 08-05-2010 07:27 PM

some better web server apache
 
HI,

i've been using apache2 on a production site for a quite long time now.

said that , i've grown tired of its buggy unresponsiveness as well the Outrageousness memory usage.

and i've heard about alternatives such as lhttpd ...etc

but i'm not quite sure what alternative i should use.

to sum it up , i've reached a point where continuing to use apache2 is a definitely a pain in the ass , since it's notorious for flooding the system with forked processes and therefore burning up memory causing the entire system getting clogged to stalemate and i find myself always having to restart the server over and over again

another thing that i've noticed is that apache2 completely ignores the configurations regarding Timeout , the maximum number of process and some similar things , it appears as if it's completely unpredictable and literally outta control.

so yeah i'm gonna nuke apache2 for good , but What is the alternative?

and that's were i'm all ears to hear your recommendations , btw what about apache cassandra and hydra ? are they any better?

cheers

estabroo 08-05-2010 08:35 PM

I like lighttpd it always has been snappy and responsive and is pretty easy to configure

entz 08-05-2010 10:02 PM

Quote:

Originally Posted by estabroo (Post 4057417)
I like lighttpd it always has been snappy and responsive and is pretty easy to configure

well maybe , but isn't that a proprietary server

estabroo 08-06-2010 12:21 AM

It's a BSD License so you can pretty much use it for whatever

entz 08-06-2010 06:54 PM

Quote:

Originally Posted by estabroo (Post 4057520)
It's a BSD License so you can pretty much use it for whatever

aha , that's quite interesting :)

i guess i'm mistaking lighttpd with something else that also has "light" in it's name which i remember was proprietary ..

anyways , after reading more about lighttpd i came to the conclusion that this is exactly what i need since it uses asynchronous polling to handle requests unlike the obnoxious process spawing scheme that apache uses..

this also allowed me to recall some earlier experiences with C++ socket programming a couple of years ago , i wrote a small but highly stable chat server using select() , even at the time i was quite suspicious about why apache forks itself for every single request but given the fact that i hadn't much experience with system administration over a longer time period i couldn't real make a call ...

however , a couple years later and we arrive at the present moment and it becomes crystal clear that the "apache way" is just blatantly ridiculous and unsustainable (at least no longer for me)

thanks alot for this input ;)


All times are GMT -5. The time now is 10:40 PM.