[suse-security] apache 1.3.19 (SuSE 7.0): Threading enabled?
Hallo all, observing some strange behaviour of a SuSE 7.0-apache running out of memory i came over the question if suse did compile the apache with threading support. A bit OT here, but any short, maybe angry answer would be great. server-info says: Threads per child: 0. Does this mean: No threading, which means that every new user forces the start of a new httpd child process? Thnx a lot in advance Uli
observing some strange behaviour of a SuSE 7.0-apache running out of memory i came over the question if suse did compile the apache with threading support.
Even I don't see any relation to security, I'll try to answer :)
A bit OT here, but any short, maybe angry answer would be great.
Well, you can check the source RPM spec file. Here you'll find the configure options.
server-info says: Threads per child: 0. Does this mean: No threading,
Sound like that.
which means that every new user forces the start of a new httpd child process?
No, apache uses asyncronous IO. That means, the master process dispatches the request to a child, and each child can server lot's of connections. Well, I'm not sure if all of the things I say are correct, BTW :) IIRC, there is a dircetive in the configfile that adjustes the connections-per-child. I don't see advantages for unix-apaches to use threading and multiprocess asynchronous IO. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel.
On Sat, Jun 22, 2002 at 12:03:38AM +0200, Ulrich Klaus (listaccount) wrote:
Hallo all,
observing some strange behaviour of a SuSE 7.0-apache running out of memory i came over the question if suse did compile the apache with threading support. A bit OT here, but any short, maybe angry answer would be great. server-info says: Threads per child: 0. Does this mean: No threading, which means that every new user forces the start of a new httpd child process?
Apache 1.x did never use threading on UNIX platforms, it only did that on Windows. Apache 2 is the first version making use of threading. Peter -- VFS: Busy inodes after unmount. Self-destruct in 5 seconds. Have a nice day...
participants (3)
-
Peter Poeml
-
Steffen Dettmer
-
Ulrich Klaus (listaccount)