LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-06-2015, 02:06 PM   #1
circus78
Member
 
Registered: Dec 2011
Posts: 222

Rep: Reputation: Disabled
Apache: request, thread and so on


Hi,

I would like to better understand Apache interals, basically for the sake of performance.

I am not a developer, so it is a bit unclear the relation between a thread and a process.

Furthermore, I would like to know how Apache handles "requests": I get a webpage, I get several images, css, and other contents.
Is every "object" a request?
Or is it a single (network) connection able to delivery so many contents?
I read so many times Apache official documentation, but certain topics still remain a mystery..
Can you suggest me a good starting point (website, book) to improve my Apache knownledge?
Thank you!
 
Old 06-06-2015, 04:12 PM   #2
joec@home
Member
 
Registered: Sep 2009
Location: Galveston Tx
Posts: 291

Rep: Reputation: 70
Most common in Apache is to understand the prefork module which is the default method of controlling how requests are handled. Note this is specific to 2.4 but they are all pretty much the same concept, even going back to Apache 1

Apache MPM prefork
http://httpd.apache.org/docs/2.4/mod/prefork.html

Additional throttles sometimes used are the rlimit directives. Typically these are hand crafted depending on hardware. If I remember correctly this was specific to Apache 2? There are other limits as well but the three most common are CPU MEM and PROC.

CPU
http://httpd.apache.org/docs/2.2/mod...html#rlimitcpu

MEM
http://httpd.apache.org/docs/2.2/mod...html#rlimitmem

PROC
http://httpd.apache.org/docs/2.2/mod...ml#rlimitnproc

This article is a bit dated but should still be useful.

Apache 2 - HowTo - Tune Apache
https://sites.google.com/site/zenars...---tune-apache
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature Request: Ignore Thread harryhaller LQ Suggestions & Feedback 2 02-19-2014 11:20 AM
The other Window Managers application request thread soppy Linux - Software 1 10-31-2010 07:17 PM
[SOLVED] How do I request a thread be moved to the proper forum? damgar LQ Suggestions & Feedback 2 11-22-2009 01:36 PM
Request to Forum Admin - Can We Please Have a Dedicated Minix Thread Delphin LQ Suggestions & Feedback 8 03-15-2009 07:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration