Results 1 to 8 of 8
  1. #1
    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


    Keith
    VPS & Dedi with -
    UKServers (8/10) Clouvider (7/10) 12 month, Rapidswitch (1/10) 15Years+, Hivelocity (10/10) 7 Years, Clustered net (10+/10) 17Years+

  2. #2
    Join Date
    Nov 2004
    Location
    Australia
    Posts
    1,737
    Is this shared hosting? Or a smaller number of sites?

  3. #3
    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

  4. #4
    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)


    Keith
    VPS & Dedi with -
    UKServers (8/10) Clouvider (7/10) 12 month, Rapidswitch (1/10) 15Years+, Hivelocity (10/10) 7 Years, Clustered net (10+/10) 17Years+

  5. #5
    Join Date
    Jul 2014
    Posts
    291
    Hi,

    Please elaborate a bit. It is really confusing

  6. #6
    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


    Keith
    VPS & Dedi with -
    UKServers (8/10) Clouvider (7/10) 12 month, Rapidswitch (1/10) 15Years+, Hivelocity (10/10) 7 Years, Clustered net (10+/10) 17Years+

  7. #7
    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).

  8. #8
    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

  1. Prefork or Worker ?
    By HostingCraze in forum Hosting Security and Technology
    Replies: 4
    Last Post: 12-18-2012, 10:55 AM
  2. prefork vs worker MPM
    By Hoodz in forum Hosting Security and Technology
    Replies: 27
    Last Post: 11-19-2011, 06:20 PM
  3. prefork vs. worker
    By ttgt in forum Hosting Security and Technology
    Replies: 2
    Last Post: 01-19-2011, 01:33 PM
  4. Am I currently using prefork or worker?
    By chasebug in forum Hosting Security and Technology
    Replies: 4
    Last Post: 09-15-2010, 03:16 AM
  5. Worker or Prefork ?
    By ViCkSy in forum Dedicated Server
    Replies: 14
    Last Post: 08-19-2010, 05:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •