Re: Apache with MPM Worker and PHP-5.2.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for all replies.

i will try apache mpm worker + fastcgi + php-cgi .


On Fri, May 22, 2009 at 4:30 PM, Frank Gingras
<francois.gingras@xxxxxxxxx> wrote:
> Darvin,
>
> Using worker over prefork will allow you to serve more clients, for one. The
> immediate gain will be a lesser memory footprint. Performance gains or
> losses will largely depends on the scripts you run on your server.
>
> As for the second question, that's more of a question for the php mailing
> lists.
>
> Frank
>
> Darvin Denmian wrote:
>>
>> will i have any improvement of my performance using : mpm worker +
>> fastcgi + php5-cgi ?
>> and
>> how do I know if an extension is thread-safe?
>>
>> Thanks.
>>
>>
>> On Fri, May 22, 2009 at 4:07 PM, Frank Gingras
>> <francois.gingras@xxxxxxxxx> wrote:
>>
>>>
>>> Yes, that is a common configuration. But not mod_php.
>>>
>>> Frank
>>>
>>> Darvin Denmian wrote:
>>>
>>>>
>>>> Is possible to use apache with mpm worker + fastcgi + php5-cgi ?
>>>>
>>>> Thanks.
>>>>
>>>> On Fri, May 22, 2009 at 4:04 PM, Frank Gingras
>>>> <francois.gingras@xxxxxxxxx> wrote:
>>>>
>>>>
>>>>>
>>>>> Darvin,
>>>>>
>>>>> Some of the php extensions are not thread-safe, so running in this
>>>>> configuration might leads to segfaults.
>>>>>
>>>>> In short, no, don't do it.
>>>>>
>>>>> Frank
>>>>>
>>>>> Darvin Denmian wrote:
>>>>>
>>>>>
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> i have a Web Server with the follow configuration:
>>>>>>
>>>>>> 4       Generic \ 512 MB \ DDR2 667 FB DIMM
>>>>>> 4       Generic \ 1024 MB \ DDR2 667 FB DIMM
>>>>>> 2       Maxtor \ 146GB:SAS:10K RPM \ Atlas 10K - SAS
>>>>>> 2       Intel \ 2.0 GHz 1333FSB - Woodcrest \ Xeon 5130 (Dual Core)
>>>>>> 1       Dell \ 9G Drive Controller - SAS/SATA RAID \ PERC 5/i
>>>>>> 1       Dell \ 1066/1333FSB Dual Xeon \ PowerEdge 1950/2950
>>>>>>
>>>>>> Redhat Enterprise Linux - x86_64 - OS ES 5.0
>>>>>>
>>>>>> I need to know if advisable or possible to use Apache with MPM Worker
>>>>>> and PHP-5.2.9 .
>>>>>>
>>>>>> Has anyone already tested/used this?
>>>>>>
>>>>>> Any aditional information is welcome.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> 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@xxxxxxxxxxxxxxxx
>>>>>>  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>>>>>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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@xxxxxxxxxxxxxxxx
>>>>>  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>>>>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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@xxxxxxxxxxxxxxxx
>>>>  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>>>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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@xxxxxxxxxxxxxxxx
>>>  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> 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@xxxxxxxxxxxxxxxx
>>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>>
>
>
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux