Reply
Old September 26th, 2009 Top | #1

OSNN Folding Team  
Dark Atheist's Avatar
OSNN Veteran Addict
Joined: April 2003
Location: In The Void
Posts: 6,373
Blog Entries: 9
Reputation: 1877
Power: 193

Default Prefork or work for apache on linux?

After reading a few articles (one by a member of this site ) i have been looking into MPM modules for apache on linux, some have said if you have the memory go for prefork if you dont have the memory go for worker.

Could you use worker even if you do have the memory? is there any benifit or performance gains?

System has 8gb ram in it and will only be accessable by a few people, just wondering before i set up mod_fcgi.

edit:

PHP supported
PHP is NOT recommended to work with multithreaded Apache2(worker MPM and WinNT MPM, for example), because some PHP extensions( or 3rd party library they are using) are not guaranteed thread-safe. PHP running with FastCGI mode is a solution to this problem.

seems after some more research its a no and i should stay with prefork
Dark Atheist is offline   Reply With Quote
Old September 26th, 2009 Top | #2
 
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,496
Reputation: 2808
Power: 220

Default Re: Prefork or work for apache on linux?

OSNN.net is running with Apache worker and mod_fcgid.
X-Istence is offline   Reply With Quote
Old September 27th, 2009 Top | #3

OSNN Folding Team  
Dark Atheist's Avatar
OSNN Veteran Addict
Joined: April 2003
Location: In The Void
Posts: 6,373
Blog Entries: 9
Reputation: 1877
Power: 193

Default Re: Prefork or work for apache on linux?

i know i read it on your blog - its where i got the idea from , i will have to look into it more in the morning, eyes are tired and things are beginning to blur
Dark Atheist is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
dual-boot Vista with Linux (Linux is already installed) tdinc Linux & BSD 1 July 6th, 2007 11:25pm
Setting up Linux server, apache,etc... dual boot smsmasters Linux & BSD 2 January 28th, 2005 3:44pm
IIS vs Apache Kanbeki Web Design & Coding 12 November 7th, 2004 12:32am
(Linux Newb) How do i execute shell scripts on linux? XeoNoX Linux & BSD 1 January 7th, 2003 11:53pm
ASP on Linux+Apache JJB6486 Linux & BSD 2 October 11th, 2002 1:51am