View previous topic :: View next topic |
Author |
Message |
Fleshdoom n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 May 2013 Posts: 3
|
Posted: Tue May 14, 2013 9:49 am Post subject: PHP-FPM software Architecture |
|
|
Hello all, does anybody have a documentation which describes PHP-FPM software architecture?
I have some doubts concerning pools and master process interactions...
In particular, I noticed that all process of certain pool write at their FD 3 when a request for that pool comes. ltrace clearly shows that only one process writes an HTML page, but strace instead shows a really confused output. I have also noticed that also PHP-FPM master process listens to the same port of the pool, I think it does this, on order to know when spawn dynamic process.
What I have found about PHP-FPM process interaction on the web, presents a too high-level description, mostly oriented to web developers. FPM official page describes only module directives. I would like instead to know how things are really working.
Regards. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ant P. Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Tue May 14, 2013 5:45 pm Post subject: |
|
|
It's multiple FastCGI worker processes listening on a single unix or TCP socket using accept(2), like every other web app. There's nothing complicated or magic going on. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|