Results 1 to 8 of 8
Thread: Prefork vs Worker
-
07-30-2014, 06:39 PM #1Web Hosting Master
- Join Date
- Jan 2006
- Posts
- 663
Prefork vs Worker
Hi All,
Which would be better Prefork or Worker
8-16GB memory
PHP 5.4 FCGI
Apache 2.4
Xcache
Regards
KeithVPS & Dedi with -
UKServers (8/10) Clouvider (7/10) 12 month, Rapidswitch (1/10) 15Years+, Hivelocity (10/10) 7 Years, Clustered net (10+/10) 17Years+
-
07-30-2014, 10:19 PM #2Web Hosting Master
- Join Date
- Nov 2004
- Location
- Australia
- Posts
- 1,737
Is this shared hosting? Or a smaller number of sites?
-
07-30-2014, 11:16 PM #3Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
I use event.
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
07-31-2014, 09:49 AM #4Web Hosting Master
- Join Date
- Jan 2006
- Posts
- 663
Hi,
Its a dedicated server of which I host and maintain sites for others (only me has access to FTP and other ports)
KeithVPS & Dedi with -
UKServers (8/10) Clouvider (7/10) 12 month, Rapidswitch (1/10) 15Years+, Hivelocity (10/10) 7 Years, Clustered net (10+/10) 17Years+
-
07-31-2014, 10:02 AM #5Web Hosting Guru
- Join Date
- Jul 2014
- Posts
- 291
Hi,
Please elaborate a bit. It is really confusing
-
07-31-2014, 10:20 AM #6Web Hosting Master
- Join Date
- Jan 2006
- Posts
- 663
I have a dedicated server which I run around 20 sites of which only myself has access to so Im in control of all the scripts and security etc..
Im looking into which apache config would give me the best performance
Iv read about the differences between prefork and worker,
My server has plenty of resources (16GB ram Raid1 drives, 3.2Ghz Quad with Hyper)
Just after all your thoughts and inputs
KeithVPS & Dedi with -
UKServers (8/10) Clouvider (7/10) 12 month, Rapidswitch (1/10) 15Years+, Hivelocity (10/10) 7 Years, Clustered net (10+/10) 17Years+
-
07-31-2014, 10:56 AM #7WHT Addict
- Join Date
- Feb 2014
- Posts
- 150
Worker is better (and so is event in recent versions) with higher performance and lower memory usage, but it's not compatible with all modules (most notably mod_php, so if you want PHP you should use something like php-fpm).
-
07-31-2014, 07:49 PM #8Web Hosting Master
- Join Date
- Mar 2013
- Posts
- 1,328
I use event for static and prefork for dynamic resources.
I like prefork stability but I have a very particular config with strictly necessary default modules only to keep processes light.
Most will tell you to go for event and they are probably right.
Most important thing to keep in mind is
threads+mod_php=segfaults=hell
Similar Threads
-
Prefork or Worker ?
By HostingCraze in forum Hosting Security and TechnologyReplies: 4Last Post: 12-18-2012, 10:55 AM -
prefork vs worker MPM
By Hoodz in forum Hosting Security and TechnologyReplies: 27Last Post: 11-19-2011, 06:20 PM -
prefork vs. worker
By ttgt in forum Hosting Security and TechnologyReplies: 2Last Post: 01-19-2011, 01:33 PM -
Am I currently using prefork or worker?
By chasebug in forum Hosting Security and TechnologyReplies: 4Last Post: 09-15-2010, 03:16 AM -
Worker or Prefork ?
By ViCkSy in forum Dedicated ServerReplies: 14Last Post: 08-19-2010, 05:28 PM