You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Esmq <es...@163.com> on 2013/03/28 04:05:42 UTC

[users@httpd] connection closed for event mpm?

hi, guys


    i have come across a problem related to event mpm in apache(v2.4.3), that is 
connection may closed during transfer for some times. when i change to prefork mpm, everything goes well...
i also try to set EnableSendfile & EnableMMAP to Off, but without work...


following is the full Scenario of the problem..


wget -O a.flv http://video.test.com/a.flv; md5sum a.flv
--2013-03-27 18:15:51-- http://video.test.com/a.flv
Resolving video.test.com... 192.168.1.100
Connecting to video.test.com|192.168.1.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 290899940 (277M) [video/x-flv]
Saving to: “a.flv”


19% [=======================> ] 56,424,265  2.50M/s   in 16s


2013-03-27 18:16:07 (3.30 MB/s) - Connection closed at byte 56424265. Retrying.


--2013-03-27 18:16:08--  (try: 2) http://video.test.com/a.flv
Connecting to video.test.com|192.168.1.100|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 290899940 (277M), 234475675 (224M) remaining [video/x-flv]
Saving to: “a.flv”


19% [++++++++++++++++++++++++ ] 56,424,265  --.-K/s   in 11s


2013-03-27 18:16:20 (0.00 B/s) - Connection closed at byte 56424265. Retrying.


--2013-03-27 18:16:22--  (try: 3) http://video.test.com/a.flv
Connecting to video.test.com|192.168.1.100|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 290899940 (277M), 234475675 (224M) remaining [video/x-flv]
Saving to: “a.flv”


100%[++++++++++++++++++++++++====================================================================================================>] 290,899,940 3.37M/s   in 58s


2013-03-27 18:17:20 (3.86 MB/s) - “a.flv” saved [290899940/290899940]


671034be784ce6eb7bc9366572f5441f  a.flv

[users@httpd] Re:Re: [users@httpd] connection closed for event mpm?

Posted by Esmq <es...@163.com>.
i dont use flv module, and the error_log not provide any clue...~


and someone also reported the problem:
http://marc.info/?l=apache-httpd-bugs&m=135712896422945
At 2013-03-28 17:19:21,"Marcin Wanat" <ma...@gmail.com> wrote:
>What error_log says ? It looks like httpd is crashing.
>Maybe you are using some flv streaming mod which is not thread safe ?
>
>2013/3/28 Esmq <es...@163.com>:
>> hi, guys
>>
>>     i have come across a problem related to event mpm in apache(v2.4.3),
>> that is
>> connection may closed during transfer for some times. when i change to
>> prefork mpm, everything goes well...
>> i also try to set EnableSendfile & EnableMMAP to Off, but without work...
>>
>> following is the full Scenario of the problem..
>>
>> wget -O a.flv http://video.test.com/a.flv; md5sum a.flv
>> --2013-03-27 18:15:51-- http://video.test.com/a.flv
>> Resolving video.test.com... 192.168.1.100
>> Connecting to video.test.com|192.168.1.100|:80... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 290899940 (277M) [video/x-flv]
>> Saving to: “a.flv”
>>
>> 19% [=======================> ] 56,424,265  2.50M/s   in 16s
>>
>> 2013-03-27 18:16:07 (3.30 MB/s) - Connection closed at byte 56424265.
>> Retrying.
>>
>> --2013-03-27 18:16:08--  (try: 2) http://video.test.com/a.flv
>> Connecting to video.test.com|192.168.1.100|:80... connected.
>> HTTP request sent, awaiting response... 206 Partial Content
>> Length: 290899940 (277M), 234475675 (224M) remaining [video/x-flv]
>> Saving to: “a.flv”
>>
>> 19% [++++++++++++++++++++++++ ] 56,424,265  --.-K/s   in 11s
>>
>> 2013-03-27 18:16:20 (0.00 B/s) - Connection closed at byte 56424265.
>> Retrying.
>>
>> --2013-03-27 18:16:22--  (try: 3) http://video.test.com/a.flv
>> Connecting to video.test.com|192.168.1.100|:80... connected.
>> HTTP request sent, awaiting response... 206 Partial Content
>> Length: 290899940 (277M), 234475675 (224M) remaining [video/x-flv]
>> Saving to: “a.flv”
>>
>> 100%[++++++++++++++++++++++++====================================================================================================>]
>> 290,899,940 3.37M/s   in 58s
>>
>> 2013-03-27 18:17:20 (3.86 MB/s) - “a.flv” saved [290899940/290899940]
>>
>> 671034be784ce6eb7bc9366572f5441f  a.flv
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>

Re: [users@httpd] connection closed for event mpm?

Posted by Marcin Wanat <ma...@gmail.com>.
What error_log says ? It looks like httpd is crashing.
Maybe you are using some flv streaming mod which is not thread safe ?

2013/3/28 Esmq <es...@163.com>:
> hi, guys
>
>     i have come across a problem related to event mpm in apache(v2.4.3),
> that is
> connection may closed during transfer for some times. when i change to
> prefork mpm, everything goes well...
> i also try to set EnableSendfile & EnableMMAP to Off, but without work...
>
> following is the full Scenario of the problem..
>
> wget -O a.flv http://video.test.com/a.flv; md5sum a.flv
> --2013-03-27 18:15:51-- http://video.test.com/a.flv
> Resolving video.test.com... 192.168.1.100
> Connecting to video.test.com|192.168.1.100|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 290899940 (277M) [video/x-flv]
> Saving to: “a.flv”
>
> 19% [=======================> ] 56,424,265  2.50M/s   in 16s
>
> 2013-03-27 18:16:07 (3.30 MB/s) - Connection closed at byte 56424265.
> Retrying.
>
> --2013-03-27 18:16:08--  (try: 2) http://video.test.com/a.flv
> Connecting to video.test.com|192.168.1.100|:80... connected.
> HTTP request sent, awaiting response... 206 Partial Content
> Length: 290899940 (277M), 234475675 (224M) remaining [video/x-flv]
> Saving to: “a.flv”
>
> 19% [++++++++++++++++++++++++ ] 56,424,265  --.-K/s   in 11s
>
> 2013-03-27 18:16:20 (0.00 B/s) - Connection closed at byte 56424265.
> Retrying.
>
> --2013-03-27 18:16:22--  (try: 3) http://video.test.com/a.flv
> Connecting to video.test.com|192.168.1.100|:80... connected.
> HTTP request sent, awaiting response... 206 Partial Content
> Length: 290899940 (277M), 234475675 (224M) remaining [video/x-flv]
> Saving to: “a.flv”
>
> 100%[++++++++++++++++++++++++====================================================================================================>]
> 290,899,940 3.37M/s   in 58s
>
> 2013-03-27 18:17:20 (3.86 MB/s) - “a.flv” saved [290899940/290899940]
>
> 671034be784ce6eb7bc9366572f5441f  a.flv
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org