User Tools

Site Tools


php-fpm_centos6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
php-fpm_centos6 [2015/10/20 11:13] luke7858php-fpm_centos6 [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 5: Line 5:
 \\ \\
 This means that php-fpm will be using files (sockets) to run which could be considered slower because of potential slow HDDs however the files are mostly stored in RAM so it makes accessing them significantly quicker. This means that php-fpm will be using files (sockets) to run which could be considered slower because of potential slow HDDs however the files are mostly stored in RAM so it makes accessing them significantly quicker.
 +\\
 +\\
 CentOS 6 uses FHS 2.3, this means that it uses /dev/shm for accessing RAM CentOS 6 uses FHS 2.3, this means that it uses /dev/shm for accessing RAM
 ^ Sockets ^  fastcgi_pass unix:/dev/shm/php-fpm-example.com.sock ^ ^ Sockets ^  fastcgi_pass unix:/dev/shm/php-fpm-example.com.sock ^
 ^ Ports    fastcgi_pass 127.0.0.1:9000; ^ ^ Ports    fastcgi_pass 127.0.0.1:9000; ^
 +\\ 
 +You can see from the output below the tmpfs (temporary file system) is mounted to /dev/shm: 
 +<sxh bash> 
 +# df -h 
 +Filesystem      Size  Used Avail Use% Mounted on 
 +/dev/sda2       1.8T  194G  1.6T  12% / 
 +tmpfs           1.9G  4.0K  1.9G   1% /dev/shm 
 +/dev/sda1       190M   88M   93M  49% /boot 
 +</sxh>
 \\ \\
 \\ \\
php-fpm_centos6.1445339632.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki