You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Alberto Dondana <al...@tc-express.it> on 2008/06/11 17:54:02 UTC

[users@httpd] Windows MPM

Dear List,

I need to recompile Httpd (unfortunately on windows) in order to change
MPM Module from winnt to prefork.
How should I do it?
I'm able in linux/unix, but I can't find the way to do it in a windows
environment.

Kind regards

Alberto

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows MPM

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Joshua Slive wrote:
> On Wed, Jun 11, 2008 at 11:54 AM, Alberto Dondana
> <al...@tc-express.it> wrote:
>> Dear List,
>>
>> I need to recompile Httpd (unfortunately on windows) in order to change
>> MPM Module from winnt to prefork.
>> How should I do it?
>> I'm able in linux/unix, but I can't find the way to do it in a windows
>> environment.
> 
> Prefork can't be used under windows. (Hmm... well, maybe under cygwin,
> but I certainly wouldn't recommend that.)

Or - perhaps under interix/SFU?  That's providing that they've made
significant progress with libtool and autoconf since I looked last.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows MPM

Posted by Marcin Lewandowski <ww...@saepia.net>.
Alberto Dondana pisze:
> Yes I did.
> 
> I discovered that I've the problem if I lisen and mp3 @ 192Kbps, but if I listen and mp3 @ 128 Kbps I've no trouble...
> 

It's rather related to your bandwidth, not your webserver.

m.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows MPM

Posted by Marcin Lewandowski <ww...@saepia.net>.
What happens when you try to download mp3 file from apache2 in normal 
way, e.g. using wget or browser? Is there any lag?

What tells apache benchmark (ab or ab2 command)

m.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] [OT] Windows MPM

Posted by Issac Goldstand <ma...@beamartyr.net>.
Jacqui Caren wrote:
> André Warnier wrote:
>
> FInally AP2 is threaded and it may be that the Windows could be 
> incorrectly tuned, resulting is a slowdown when trying to utilise
> multiple cores. I have seen this with multi core systems and in-house 
> threaded apps.
>
> Jacqui
>
Can you elaborate a bit more on this point?  What types of slowdowns, 
what the underlying causes were, and how you fixed them?  Just for 
general knowledge (and maybe to help future Windows MPM development)...

  Issac

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows MPM

Posted by Jacqui Caren <Ja...@ntlworld.com>.
André Warnier wrote:
> If yes, this becomes a matter for the real Apache gurus here.

s/Apache/Windows Apache/ :-)

And I am not a guru.

> An idea, anyone ?

AP1 and 2 are radically different under windows and in all projects
I have found AP2 under windows to be faster - and I use
quite a few apache modules - including mod_perl.

However I have hit problems with instaling multiple software
devices under windows i.e. mysql, SS7 and Ap2 together caused grief.

Also, any AV software or custom network drivers (such as those
required for the above audio devices) may not provide the
entire TCP API required by AP1 or Ap2.

Even installing backup software can affect (trash) the network drivers.

FInally AP2 is threaded and it may be that the Windows could be 
incorrectly tuned, resulting is a slowdown when trying to utilise
multiple cores. I have seen this with multi core systems and in-house 
threaded apps.

Jacqui

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows MPM

Posted by André Warnier <aw...@ice-sa.com>.
Hi.

Ok, I think that with the information below, we can reasonably assume 
that the problem is not in the physical connection speed.

I think you also mentioned before that Apache, both in the 1.x and 2.x 
versions, is running on a Windows platform.
Is it the same (physical) system in both cases ?

If yes, this becomes a matter for the real Apache gurus here.
An idea, anyone ?

André


Alberto Dondana wrote:
> I think there is a little misunderstanding:
> 
>  - Barix Audio devices are connected on the same switch of Webserver
>  - The switch is a non blocking 48 fastethernet port
>  - Barix audio devices do not play the same song, but they can play simultaneously
>  - With Apache 1.3.39/1.3.41 I do not have problem
>  - With Apache 2.0.63/2.2.8 I get music sobbing when all Barix play but only one play an mp3 file @ 192K, and only that Barix has the problem
> 
> I can't understand why Apache1.3 works fine and Apache2 do not...
> 
> 
> Alberto
> 
> 
> -----Original Message-----
> From: André Warnier [mailto:aw@ice-sa.com] 
> Sent: venerdì 13 giugno 2008 15.01
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Windows MPM
> 
> 
> Alberto Dondana wrote:
>> Yes I did.
>>
>> I discovered that I've the problem if I lisen and mp3 @ 192Kbps, but if I listen and mp3 @ 128 Kbps I've no trouble...
>>
>>
> I am not really a specialist, but logically it seems that if you have to feed 4 clients, each at 128 Kbit/s, then at some point your server would need to feed to the clients, in total, 4 X 128 Kbit/s = 512 Kbit/s.
> And if you feed 4 clients at 192 Kbit/s, then you would need 4 X 192 Kbit/s = 792 Kbit/s.
> The first things I would make sure of, are that
> - your server is "strong enough" to do that
> - the network you are using is fast enough to carry that
> 
>  From bigger, professional-style media-streaming projects, I know that these people use very special servers and special network connections to do this kind of streaming.
> 
> I do not know what you are using, nor what your goals are, but an average PC with Apache over a dial-up line may not be the right tool for the job.
> 
> André
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Windows MPM

Posted by Alberto Dondana <al...@tc-express.it>.
I think there is a little misunderstanding:

 - Barix Audio devices are connected on the same switch of Webserver
 - The switch is a non blocking 48 fastethernet port
 - Barix audio devices do not play the same song, but they can play simultaneously
 - With Apache 1.3.39/1.3.41 I do not have problem
 - With Apache 2.0.63/2.2.8 I get music sobbing when all Barix play but only one play an mp3 file @ 192K, and only that Barix has the problem

I can't understand why Apache1.3 works fine and Apache2 do not...


Alberto


-----Original Message-----
From: André Warnier [mailto:aw@ice-sa.com] 
Sent: venerdì 13 giugno 2008 15.01
To: users@httpd.apache.org
Subject: Re: [users@httpd] Windows MPM


Alberto Dondana wrote:
> Yes I did.
> 
> I discovered that I've the problem if I lisen and mp3 @ 192Kbps, but if I listen and mp3 @ 128 Kbps I've no trouble...
> 
> 
I am not really a specialist, but logically it seems that if you have to feed 4 clients, each at 128 Kbit/s, then at some point your server would need to feed to the clients, in total, 4 X 128 Kbit/s = 512 Kbit/s.
And if you feed 4 clients at 192 Kbit/s, then you would need 4 X 192 Kbit/s = 792 Kbit/s.
The first things I would make sure of, are that
- your server is "strong enough" to do that
- the network you are using is fast enough to carry that

 From bigger, professional-style media-streaming projects, I know that these people use very special servers and special network connections to do this kind of streaming.

I do not know what you are using, nor what your goals are, but an average PC with Apache over a dial-up line may not be the right tool for the job.

André

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows MPM

Posted by André Warnier <aw...@ice-sa.com>.
Alberto Dondana wrote:
> Yes I did.
> 
> I discovered that I've the problem if I lisen and mp3 @ 192Kbps, but if I listen and mp3 @ 128 Kbps I've no trouble...
> 
> 
I am not really a specialist, but logically it seems that if you have to 
feed 4 clients, each at 128 Kbit/s, then at some point your server would 
need to feed to the clients, in total, 4 X 128 Kbit/s = 512 Kbit/s.
And if you feed 4 clients at 192 Kbit/s, then you would need 4 X 192 
Kbit/s = 792 Kbit/s.
The first things I would make sure of, are that
- your server is "strong enough" to do that
- the network you are using is fast enough to carry that

 From bigger, professional-style media-streaming projects, I know that 
these people use very special servers and special network connections to 
do this kind of streaming.

I do not know what you are using, nor what your goals are, but an 
average PC with Apache over a dial-up line may not be the right tool for 
the job.

André

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Windows MPM

Posted by Alberto Dondana <al...@tc-express.it>.
Yes I did.

I discovered that I've the problem if I lisen and mp3 @ 192Kbps, but if I listen and mp3 @ 128 Kbps I've no trouble...


Alberto 

-----Original Message-----
From: jslive@gmail.com [mailto:jslive@gmail.com] On Behalf Of Joshua Slive
Sent: giovedì 12 giugno 2008 15.08
To: users@httpd.apache.org
Subject: Re: [users@httpd] Windows MPM

On Thu, Jun 12, 2008 at 3:59 AM, Alberto Dondana <al...@tc-express.it> wrote:
> We use IP audio decoder (barix exstreamer) that get music (mp3 files) from a webserver.
> And unfortunately I have to install webserver on M$ machine.
> But if we start 4 or more Barix that get music from an Apache2 webserver at the same time we hear that music start sobbing...
> This problem disappear if I use an Apache 1.3 webserver
>
> We did tune on Apache2 but this problem remains, so we wish to use Apache2 in prefork mode...

Again forget about win32+prefork. That is nuts, and it doesn't resemble apache 1.3 either.

Have you done the standard win32 debugging stuff in httpd.conf:
Win32DisableAcceptEx
EnableSendfile Off

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows MPM

Posted by Joshua Slive <jo...@slive.ca>.
On Thu, Jun 12, 2008 at 3:59 AM, Alberto Dondana
<al...@tc-express.it> wrote:
> We use IP audio decoder (barix exstreamer) that get music (mp3 files) from a webserver.
> And unfortunately I have to install webserver on M$ machine.
> But if we start 4 or more Barix that get music from an Apache2 webserver at the same time we hear that music start sobbing...
> This problem disappear if I use an Apache 1.3 webserver
>
> We did tune on Apache2 but this problem remains, so we wish to use Apache2 in prefork mode...

Again forget about win32+prefork. That is nuts, and it doesn't
resemble apache 1.3 either.

Have you done the standard win32 debugging stuff in httpd.conf:
Win32DisableAcceptEx
EnableSendfile Off

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Windows MPM

Posted by Alberto Dondana <al...@tc-express.it>.
We use IP audio decoder (barix exstreamer) that get music (mp3 files) from a webserver.
And unfortunately I have to install webserver on M$ machine.
But if we start 4 or more Barix that get music from an Apache2 webserver at the same time we hear that music start sobbing...
This problem disappear if I use an Apache 1.3 webserver

We did tune on Apache2 but this problem remains, so we wish to use Apache2 in prefork mode...


Alberto

-----Original Message-----
From: jslive@gmail.com [mailto:jslive@gmail.com] On Behalf Of Joshua Slive
Sent: mercoledì 11 giugno 2008 17.59
To: users@httpd.apache.org
Subject: Re: [users@httpd] Windows MPM

On Wed, Jun 11, 2008 at 11:54 AM, Alberto Dondana <al...@tc-express.it> wrote:
> Dear List,
>
> I need to recompile Httpd (unfortunately on windows) in order to 
> change MPM Module from winnt to prefork.
> How should I do it?
> I'm able in linux/unix, but I can't find the way to do it in a windows 
> environment.

Prefork can't be used under windows. (Hmm... well, maybe under cygwin, but I certainly wouldn't recommend that.)

Perhaps if you explained why think you need to run prefork under windows, we might have other ideas.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows MPM

Posted by Joshua Slive <jo...@slive.ca>.
On Wed, Jun 11, 2008 at 11:54 AM, Alberto Dondana
<al...@tc-express.it> wrote:
> Dear List,
>
> I need to recompile Httpd (unfortunately on windows) in order to change
> MPM Module from winnt to prefork.
> How should I do it?
> I'm able in linux/unix, but I can't find the way to do it in a windows
> environment.

Prefork can't be used under windows. (Hmm... well, maybe under cygwin,
but I certainly wouldn't recommend that.)

Perhaps if you explained why think you need to run prefork under
windows, we might have other ideas.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Windows MPM

Posted by Eric Covener <co...@gmail.com>.
On Wed, Jun 11, 2008 at 11:54 AM, Alberto Dondana
<al...@tc-express.it> wrote:
> Dear List,
>
> I need to recompile Httpd (unfortunately on windows) in order to change
> MPM Module from winnt to prefork.
> How should I do it?
> I'm able in linux/unix, but I can't find the way to do it in a windows
> environment.


Prefork is not usable under windows.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org