# Nginx debian 6 64bits

**URL:** <https://www.ruby-forum.com/t/nginx-debian-6-64bits/245771>\
**Category:** NGINX\
**Created:** [July 11, 2013, 9:02pm UTC](https://www.ruby-forum.com/t/nginx-debian-6-64bits/245771 "2013-07-11T21:02:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [July 11, 2013, 9:02pm UTC](https://www.ruby-forum.com/t/nginx-debian-6-64bits/245771/1 "2013-07-11T21:02:43Z")

</div>

default.conf

server {

```
  if ($host !~* ^www\.) {
        rewrite ^(.*)$ http://www.$host$1 permanent;
    }

```

listen 80;  
server\_name [exemple.org](http://exemple.org);  
index index.html index.htm index.php;  
root /home/home;

```
location / {
    root /home/malucos;
    index index.html index.htm index.php;

}
location /status {
  stub_status on;
  access_log off;
}

```

location /home/min {  
rewrite ^/(.\*.(css|js))$ /home/min/index.php?f=$1&debug=0 break;  
}

client\_max\_body\_size 120M;  
error\_page 404 /404.html;

#location /doc/ {  
#alias /usr/share/doc/;  
#autoindex on;  
#allow 127.0.0.1;  
#allow ::1;  
#deny all;  
#}  
location /phpmyadmin {  
root /usr/share/;  
index index.php index.html index.htm;  
location ~ ^/phpmyadmin/(.+.php)$ {  
try\_files $uri =404;  
root /usr/share/;  
fastcgi\_pass 127.0.0.1:9999;  
fastcgi\_index index.php;  
fastcgi\_param SCRIPT\_FILENAME  
$document\_root$fastcgi\_script\_name;  
include /etc/nginx/fastcgi\_params;

```
           }

           location ~*

```

^/phpmyadmin/(.+.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {  
root /usr/share/;  
}

```
    }

    location /phpMyAdmin {
           rewrite ^/* /phpmyadmin last;
    }
# redirect server error pages to the static page /50x.html
#
#error_page 500 502 503 504 /50x.html;
location = /404.html {
    root /home/malucos;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
 # proxy_pass http://www.malucos-share.org;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#

```

location ~ .php$ {

```
fastcgi_pass 127.0.0.1:9999;

fastcgi_index index.php;
  include /etc/nginx/fastcgi_params;

      fastcgi_param SCRIPT_FILENAME 

```

/home/malucos$fastcgi\_script\_name;

```
      fastcgi_param SERVER_NAME $http_host;

}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}

```

}

erro  
502 bad gateway

Posted at Nginx Forum:

> **[nginx debian 6 64bits](https://forum.nginx.org/read.php?2,240765,240765#msg-240765)**
>
> default.conf server { if ($host !~\* ^www\\.) { rewrite ^(.\*)$ http://www.$host$1 permanent; } listen 80; server\_name exemple.org; index index.html index.htm index.php; root

---

<div class="post-metadata">

**Author:** ![dumorim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dumorim](https://www.ruby-forum.com/u/dumorim)\
**Post date:** [July 12, 2013, 11:50am UTC](https://www.ruby-forum.com/t/nginx-debian-6-64bits/245771/2 "2013-07-12T11:50:37Z")

</div>

Hello!

On Thu, Jul 11, 2013 at 03:02:20PM -0400, dumorim wrote:

[…]

> erro  
> 502 bad gateway

I guess the question is “Why the error is returned?”. Answers to  
such questions usually can be found in the error log, try looking  
into it.

–  
Maxim D.

> **[nginx: donation](http://nginx.org/en/donation.html)**

---

<div class="post-metadata">

**Author:** ![dumorim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dumorim](https://www.ruby-forum.com/u/dumorim)\
**Post date:** [July 12, 2013, 6:45pm UTC](https://www.ruby-forum.com/t/nginx-debian-6-64bits/245771/3 "2013-07-12T18:45:59Z")

</div>

Check your php-fpm  
It doesn’t seem to be responsible

============================================

---

<div class="post-metadata">

**Author:** ![dumorim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dumorim](https://www.ruby-forum.com/u/dumorim)\
**Post date:** [July 12, 2013, 6:44pm UTC](https://www.ruby-forum.com/t/nginx-debian-6-64bits/245771/4 "2013-07-12T18:44:14Z")

</div>

2013/07/12 18:34:55 [error] 26317#0: \*1457 connect() failed (110:  
Connection  
timed out) while connecting to upstream, client: 258.32.219.11, server:  
[exemple.com](http://exemple.com), request: “GET  
/announce.php?passkey=03583fb17481254a98419d4c34&info\_hash=%E9%8A%17%27%19R%26%BD6%9C%1D%BF%E7%F8%2F%FF%DB%BC%BB%60&peer\_id=-lt0D30-%3E%5E%0F%9D%5E%BE%9A%27%3C%A7%C8%99&key=129f5eb3&compact=1&port=51103&uploaded=26128285017&downloaded=0&left=0  
HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “[www.exemple.com](http://www.exemple.com)”  
2013/07/12 18:34:55 [error] 26317#0: \*1462 connect() failed (110:  
Connection  
timed out) while connecting to upstream, client: 963.153.242.79, server:  
[exemple.com](http://exemple.com), request: “GET  
/announce.php?passkey=2e627b05425adb01eb89c3e&info\_hash=%22%f19%2c%f4%0e%3dz%40%b7%af%7f%f1%f2%c3%c8Cz%d4%d6&peer\_id=-UT2010-0KiTt%d8%b4%d8%b0%9c%dc%e5&port=35258&uploaded=1163264&downloaded=0&left=0&corrupt=0&key=2D6E3C01&event=stopped&numwant=0&compact=1&no\_peer\_id=1  
HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “[www.exemple.com](http://www.exemple.com)”  
2013/07/12 18:34:55 [error] 26317#0: \*1464 connect() failed (110:  
Connection  
timed out) while connecting to upstream, client: 279.125.186.26, server:  
[exemple.com](http://exemple.com), request: “GET  
/announce.php?passkey=2e627b05425adb01eb89c3ea619&info\_hash=%c8%b0q%5c%7f%f5%3b%b7%3e-%06%16YpC%99%c6%87%9f%eb&peer\_id=-UT3300-%b9s%17%87%96%d1%7c%925%04%8a%86&port=58704&uploaded=0&downloaded=0&left=0&corrupt=0&key=F5DAD5E3&event=started&numwant=200&compact=1&no\_peer\_id=1  
HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “[www.exemple.com](http://www.exemple.com)”  
2013/07/12 18:34:55 [error] 26317#0: \*1466 connect() failed (110:  
Connection  
timed out) while connecting to upstream, client: 300.148.26.229, server:  
[exemple.com](http://exemple.com), request: “GET  
/announce.php?passkey=77113b79abf29bd67f7a4e340079&info\_hash=C%f2%9d%e3%014%13Q%97%a0%be%9e%db%b6%edm%ce%7bc%e2&peer\_id=-UT3300-%b9s%27%d1%a0%b2%08%05%af%abF%9b&port=29435&uploaded=0&downloaded=0&left=0&corrupt=0&key=C1C9C49D&event=started&numwant=200&compact=1&no\_peer\_id=1  
HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “[www.exemple.com](http://www.exemple.com)”  
2013/07/12 18:34:55 [error] 26317#0: \*1468 connect() failed (110:  
Connection  
timed out) while connecting to upstream, client: 401.37.166.153, server:  
[exemple.com](http://exemple.com), request: “GET  
/announce.php?passkey=ff44e26525040d1b555363d2202&info\_hash=0%8f%19i%25%03%ac%e51%5c%7c%06%24X%9ac%3f%03x%bb&peer\_id=M7-8-0–%ecs%01y%bc%3b%98Ho%ba%3d%ee&port=32572&uploaded=409600&downloaded=0&left=0&corrupt=0&key=3931458D&event=stopped&numwant=0&compact=1&no\_peer\_id=1  
HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “[www.exemple.com](http://www.exemple.com)”

2013/07/12 18:35:09 [error] 27250#0: _588 FastCGI sent in stderr:  
“Primary  
script unknown” while reading response header from upstream, client:  
201.34.216.131, server: [exemple.com](http://exemple.com), request: "GET  
/scrape.php?passkey=7cc1b125f8b4a560b679dd3d7ea18e50&info\_hash=%CBxB%B7%E8%3C%FE%0D%EEk%ACD%AF%BC%97%28%23_%5E%21  
HTTP/1.1", upstream: “fastcgi://127.0.0.1:9000”, host: “[www.exemple.com](http://www.exemple.com)”  
2013/07/12 18:35:12 [error] 27251#0: \*693 FastCGI sent in stderr:  
“Primary  
script unknown” while reading response header from upstream, client:  
201.42.123.157, server: [exemple.com](http://exemple.com), request: “GET  
/scrape.php?passkey=ff44e26525040d1b555363d2202b577b&info\_hash=%ec%f0h%05%d0K%dd%fb%98%5c%13%17%bf%ac%88%e6%89%bd%f79  
HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “[www.exemple.com](http://www.exemple.com)”  
2013/07/12 18:35:16 [error] 27246#0: \*790 FastCGI sent in stderr:  
“Primary  
script unknown” while reading response header from upstream, client:  
189.26.104.209, server: [exemple.com](http://exemple.com), request: “GET  
/scrape.php?passkey=65fd2f3c8b70b7d38a0fb7e53ca5539a&info\_hash=e%93%0A%FA%C6%87D%94%40%F4%1C%B8%97%AA%B2%BDf%D4%D8%E2  
HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “[www.exemple.com](http://www.exemple.com)”

Posted at Nginx Forum:

> **[Re: nginx debian 6 64bits](https://forum.nginx.org/read.php?2,240765,240788#msg-240788)**
>
> default.conf server { if ($host !~\* ^www\\.) { rewrite ^(.\*)$ http://www.$host$1 permanent; } listen 80; server\_name exemple.org; index index.html index.htm index.php; root

---

<div class="post-metadata">

**Author:** ![dumorim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dumorim](https://www.ruby-forum.com/u/dumorim)\
**Post date:** [July 12, 2013, 6:53pm UTC](https://www.ruby-forum.com/t/nginx-debian-6-64bits/245771/5 "2013-07-12T18:53:00Z")

</div>

execute bellow commands to check that it is runnung properly or not:

ps axu | grep php  
or  
netstat -napt | grep LIST | grep :9000

============================================

---

<div class="post-metadata">

**Author:** ![dumorim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dumorim](https://www.ruby-forum.com/u/dumorim)\
**Post date:** [July 12, 2013, 6:51pm UTC](https://www.ruby-forum.com/t/nginx-debian-6-64bits/245771/6 "2013-07-12T18:51:50Z")

</div>

/etc/php5/fpm/pool.d www.conf

; Start a new pool named ‘www’.  
; the variable $pool can we used in any directive and will be replaced  
by  
the  
; pool name (‘www’ here)  
[www]

; Per pool prefix  
; It only applies on the following directives:  
; - ‘slowlog’  
; - ‘listen’ (unixsocket)  
; - ‘chroot’  
; - ‘chdir’  
; - ‘php\_values’  
; - ‘php\_admin\_values’  
; When not set, the global prefix (or /usr) applies instead.  
; Note: This directive can also be relative to the global prefix.  
; Default Value: none  
;prefix = /path/to/pools/$pool

; Unix user/group of processes  
; Note: The user is mandatory. If the group is not set, the default  
user’s  
group  
; will be used.  
user = www-data  
group = www-data

; The address on which to accept FastCGI requests.  
; Valid syntaxes are:  
; ‘ip.add.re.ss:port’ - to listen on a TCP socket to a specific  
address  
on  
; a specific port;  
; ‘port’ - to listen on a TCP socket to all addresses  
on  
a  
; specific port;  
; ‘/path/to/unix/socket’ - to listen on a unix socket.  
; Note: This value is mandatory.  
listen = localhost:9000

; Set listen(2) backlog.  
; Default Value: 128 (-1 on FreeBSD and OpenBSD)  
;listen.backlog = 128

; Set permissions for unix socket, if one is used. In Linux, read/write  
; permissions must be set in order to allow connections from a web  
server.  
Many  
; BSD-derived systems allow connections regardless of permissions.  
; Default Values: user and group are set as the running user  
; mode is set to 0666  
;listen.owner = www-data  
;listen.group = www-data  
;listen.mode = 0666

; List of ipv4 addresses of FastCGI clients which are allowed to  
connect.  
; Equivalent to the FCGI\_WEB\_SERVER\_ADDRS environment variable in the  
original  
; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each  
address  
; must be separated by a comma. If this value is left blank, connections  
will be  
; accepted from any ip address.  
; Default Value: any  
;listen.allowed\_clients = 127.0.0.1

; Choose how the process manager will control the number of child  
processes.  
; Possible Values:  
; static - a fixed number (pm.max\_children) of child processes;  
; dynamic - the number of child processes are set dynamically based on  
the  
; following directives. With this process management, there  
will  
be  
; always at least 1 children.  
; pm.max\_children - the maximum number of children that  
can  
; be alive at the same time.  
; pm.start\_servers - the number of children created on  
startup.  
; pm.min\_spare\_servers - the minimum number of children in  
‘idle’  
; state (waiting to process). If the  
number  
; of ‘idle’ processes is less than  
this  
; number then some children will be  
created.  
; pm.max\_spare\_servers - the maximum number of children in  
‘idle’  
; state (waiting to process). If the  
number  
; of ‘idle’ processes is greater than  
this  
; number then some children will be  
killed.  
; ondemand - no children are created at startup. Children will be  
forked  
when  
; new requests will connect. The following parameter are  
used:  
; pm.max\_children - the maximum number of children  
that  
; can be alive at the same time.  
; pm.process\_idle\_timeout - The number of seconds after  
which  
; an idle process will be  
killed.  
; Note: This value is mandatory.  
pm = dynamic

; The number of child processes to be created when pm is set to ‘static’  
and  
the  
; maximum number of child processes when pm is set to ‘dynamic’ or  
‘ondemand’.  
; This value sets the limit on the number of simultaneous requests that  
will  
be  
; served. Equivalent to the ApacheMaxClients directive with mpm\_prefork.  
; Equivalent to the PHP\_FCGI\_CHILDREN environment variable in the  
original  
PHP  
; CGI. The below defaults are based on a server without much resources.  
Don’t  
; forget to tweak pm.\* to fit your needs.  
; Note: Used when pm is set to ‘static’, ‘dynamic’ or ‘ondemand’  
; Note: This value is mandatory.  
pm.max\_children = 900

; The number of child processes created on startup.  
; Note: Used only when pm is set to ‘dynamic’  
; Default Value: min\_spare\_servers + (max\_spare\_servers -  
min\_spare\_servers)  
/ 2  
pm.start\_servers = 70

; The desired minimum number of idle server processes.  
; Note: Used only when pm is set to ‘dynamic’  
; Note: Mandatory when pm is set to ‘dynamic’  
pm.min\_spare\_servers = 40

; The desired maximum number of idle server processes.  
; Note: Used only when pm is set to ‘dynamic’  
; Note: Mandatory when pm is set to ‘dynamic’  
pm.max\_spare\_servers = 80

; The number of seconds after which an idle process will be killed.  
; Note: Used only when pm is set to ‘ondemand’  
; Default Value: 10s  
;pm.process\_idle\_timeout = 10s;

; The number of requests each child process should execute before  
respawning.  
; This can be useful to work around memory leaks in 3rd party libraries.  
For  
; endless request processing specify ‘0’. Equivalent to  
PHP\_FCGI\_MAX\_REQUESTS.  
; Default Value: 0  
pm.max\_requests = 10000

; The URI to view the FPM status page. If this value is not set, no URI  
will  
be  
; recognized as a status page. It shows the following informations:  
; pool - the name of the pool;  
; process manager - static, dynamic or ondemand;  
; start time - the date and time FPM has started;  
; start since - number of seconds since FPM has started;  
; accepted conn - the number of request accepted by the pool;  
; listen queue - the number of request in the queue of pending  
; connections (see backlog in listen(2));  
; max listen queue - the maximum number of requests in the queue  
; of pending connections since FPM has started;  
; listen queue len - the size of the socket queue of pending  
connections;  
; idle processes - the number of idle processes;  
; active processes - the number of active processes;  
; total processes - the number of idle + active processes;  
; max active processes - the maximum number of active processes since  
FPM  
; has started;  
; max children reached - number of times, the process limit has been  
reached,  
; when pm tries to start more children (works  
only  
for  
; pm ‘dynamic’ and ‘ondemand’);  
; Value are updated in real time.  
; Example output:  
; pool: www  
; process manager: static  
; start time: 01/Jul/2011:17:53:49 +0200  
; start since: 62636  
; accepted conn: 190460  
; listen queue: 0  
; max listen queue: 1  
; listen queue len: 42  
; idle processes: 4  
; active processes: 11  
; total processes: 15  
; max active processes: 12  
; max children reached: 0  
;  
; By default the status page output is formatted as text/plain. Passing  
either  
; ‘html’, ‘xml’ or ‘json’ in the query string will return the  
corresponding  
; output syntax. Example:  
; [http://www.foo.bar/status](http://www.foo.bar/status)  
; [http://www.foo.bar/status?json](http://www.foo.bar/status?json)  
; [http://www.foo.bar/status?html](http://www.foo.bar/status?html)  
; [http://www.foo.bar/status?xml](http://www.foo.bar/status?xml)  
;  
; By default the status page only outputs short status. Passing ‘full’  
in  
the  
; query string will also return status for each pool process.  
; Example:  
; [http://www.foo.bar/status?full](http://www.foo.bar/status?full)  
; [http://www.foo.bar/status?json&full](http://www.foo.bar/status?json&full)  
; [http://www.foo.bar/status?html&full](http://www.foo.bar/status?html&full)  
; [http://www.foo.bar/status?xml&full](http://www.foo.bar/status?xml&full)  
; The Full status returns for each process:  
; pid - the PID of the process;  
; state - the state of the process (Idle, Running,  
…);  
; start time - the date and time the process has started;  
; start since - the number of seconds since the process has  
started;  
; requests - the number of requests the process has  
served;  
; request duration - the duration in Âµs of the requests;  
; request method - the request method (GET, POST, …);  
; request URI - the request URI with the query string;  
; content length - the content length of the request (only with  
POST);  
; user - the user (PHP\_AUTH\_USER) (or ‘-’ if not set);  
; script - the main script called (or ‘-’ if not set);  
; last request cpu - the %cpu the last request consumed  
; it’s always 0 if the process is not in Idle  
state  
; because CPU calculation is done when the  
request  
; processing has terminated;  
; last request memory - the max amount of memory the last request  
consumed  
; it’s always 0 if the process is not in Idle  
state  
; because memory calculation is done when the  
request  
; processing has terminated;  
; If the process is in Idle state, then informations are related to the  
; last request the process has served. Otherwise informations are  
related  
to  
; the current request being served.  
; Example output:  
; \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
; pid: 31330  
; state: Running  
; start time: 01/Jul/2011:17:53:49 +0200  
; start since: 63087  
; requests: 12808  
; request duration: 1250261  
; request method: GET  
; request URI: /test\_mem.php?N=10000  
; content length: 0  
; user: -  
; script: /home/fat/web/docs/php/test\_mem.php  
; last request cpu: 0.00  
; last request memory: 0  
;  
; Note: There is a real-time FPM status monitoring sample web page  
available  
; It’s available in: ${prefix}/share/fpm/status.html  
;  
; Note: The value must start with a leading slash (/). The value can be  
; anything, but it may not be a good idea to use the .php  
extension or  
it  
; may conflict with a real PHP file.  
; Default Value: not set  
;pm.status\_path = /status

; The ping URI to call the monitoring page of FPM. If this value is not  
set,  
no  
; URI will be recognized as a ping page. This could be used to test from  
outside  
; that FPM is alive and responding, or to  
; - create a graph of FPM availability (rrd or such);  
; - remove a server from a group if it is not responding (load  
balancing);  
; - trigger alerts for the operating team (24/7).  
; Note: The value must start with a leading slash (/). The value can be  
; anything, but it may not be a good idea to use the .php  
extension or  
it  
; may conflict with a real PHP file.  
; Default Value: not set  
;ping.path = /ping

; This directive may be used to customize the response of a ping  
request.  
The  
; response is formatted as text/plain with a 200 response code.  
; Default Value: pong  
;ping.response = pong

; The access log file  
; Default: not set  
;access.log = log/$pool.access.log

; The access log format.  
; The following syntax is allowed  
; %%: the ‘%’ character  
; %C: %CPU used by the request  
; it can accept the following format:  
; - %{user}C for user CPU only  
; - %{system}C for system CPU only  
; - %{total}C for user + system CPU (default)  
; %d: time taken to serve the request  
; it can accept the following format:  
; - %{seconds}d (default)  
; - %{miliseconds}d  
; - %{mili}d  
; - %{microseconds}d  
; - %{micro}d  
; %e: an environment variable (same as $\_ENV or $\_SERVER)  
; it must be associated with embraces to specify the name of the  
env  
; variable. Some exemples:  
; - server specifics like: %{REQUEST\_METHOD}e or  
%{SERVER\_PROTOCOL}e  
; - HTTP headers like: %{HTTP\_HOST}e or %{HTTP\_USER\_AGENT}e  
; %f: script filename  
; %l: content-length of the request (for POST request only)  
; %m: request method  
; %M: peak of memory allocated by PHP  
; it can accept the following format:  
; - %{bytes}M (default)  
; - %{kilobytes}M  
; - %{kilo}M  
; - %{megabytes}M  
; - %{mega}M  
; %n: pool name  
; %o: ouput header  
; it must be associated with embraces to specify the name of the  
header:  
; - %{Content-Type}o  
; - %{X-Powered-By}o  
; - %{Transfert-Encoding}o  
; - …  
; %p: PID of the child that serviced the request  
; %P: PID of the parent of the child that serviced the request  
; %q: the query string  
; %Q: the ‘?’ character if query string exists  
; %r: the request URI (without the query string, see %q and %Q)  
; %R: remote IP address  
; %s: status (response code)  
; %t: server time the request was received  
; it can accept a strftime(3) format:  
; %d/%b/%Y:%H:%M:%S %z (default)  
; %T: time the log has been written (the request has finished)  
; it can accept a strftime(3) format:  
; %d/%b/%Y:%H:%M:%S %z (default)  
; %u: remote user  
;  
; Default: “%R - %u %t "%m %r" %s”  
;access.format = “%R - %u %t "%m %r%Q%q" %s %f %{mili}d %{kilo}M %C%%”

; The log file for slow requests  
; Default Value: not set  
; Note: slowlog is mandatory if request\_slowlog\_timeout is set  
;slowlog = log/$pool.log.slow

; The timeout for serving a single request after which a PHP backtrace  
will  
be  
; dumped to the ‘slowlog’ file. A value of ‘0s’ means ‘off’.  
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)  
; Default Value: 0  
;request\_slowlog\_timeout = 0

; The timeout for serving a single request after which the worker  
process  
will  
; be killed. This option should be used when the ‘max\_execution\_time’  
ini  
option  
; does not stop script execution for some reason. A value of ‘0’ means  
‘off’.  
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)  
; Default Value: 0  
;request\_terminate\_timeout = 0

; Set open file descriptor rlimit.  
; Default Value: system defined value  
;rlimit\_files = 1024

; Set max core size rlimit.  
; Possible Values: ‘unlimited’ or an integer greater or equal to 0  
; Default Value: system defined value  
;rlimit\_core = 0

; Chroot to this directory at the start. This value must be defined as  
an  
; absolute path. When this value is not set, chroot is not used.  
; Note: you can prefix with ‘$prefix’ to chroot to the pool prefix or  
one  
; of its subdirectories. If the pool prefix is not set, the global  
prefix  
; will be used instead.  
; Note: chrooting is a great security feature and should be used  
whenever  
; possible. However, all PHP paths will be relative to the chroot  
; (error\_log, sessions.save\_path, …).  
; Default Value: not set  
;chroot =

; Chdir to this directory at the start.  
; Note: relative path can be used.  
; Default Value: current directory or / when chroot  
chdir = /

; Redirect worker stdout and stderr into main error log. If not set,  
stdout  
and  
; stderr will be redirected to /dev/null according to FastCGI specs.  
; Note: on highloaded environement, this can cause some delay in the  
page  
; process time (several ms).  
; Default Value: no  
;catch\_workers\_output = yes

; Limits the extensions of the main script FPM will allow to parse. This  
can  
; prevent configuration mistakes on the web server side. You should only  
limit  
; FPM to .php extensions to prevent malicious users to use other  
extensions  
to  
; exectute php code.  
; Note: set an empty value to allow all extensions.  
; Default Value: .php  
;security.limit\_extensions = .php .php3 .php4 .php5

; Pass environment variables like LD\_LIBRARY\_PATH. All $VARIABLEs are  
taken  
from  
; the current environment.  
; Default Value: clean env  
;env[HOSTNAME] = $HOSTNAME  
;env[PATH] = /usr/local/bin:/usr/bin:/bin  
;env[TMP] = /tmp  
;env[TMPDIR] = /tmp  
;env[TEMP] = /tmp

; Additional php.ini defines, specific to this pool of workers. These  
settings  
; overwrite the values previously defined in the php.ini. The directives  
are  
the  
; same as the PHP SAPI:  
; php\_value/php\_flag - you can set classic ini defines  
which  
can  
; be overwritten from PHP call  
‘ini\_set’.

; php\_admin\_value/php\_admin\_flag - these directives won’t be  
overwritten  
by  
; PHP call ‘ini\_set’  
; For php\_\*flag, valid values are on, off, 1, 0, true, false, yes or no.

; Defining ‘extension’ will load the corresponding shared extension from  
; extension\_dir. Defining ‘disable\_functions’ or ‘disable\_classes’ will  
not  
; overwrite previously defined php.ini values, but will append the new  
value  
; instead.

; Note: path INI options can be relative and will be expanded with the  
prefix  
; (pool, global or /usr)

; Default Value: nothing is defined by default except the values in  
php.ini  
and  
; specified at startup with the -d argument  
;php\_admin\_value[sendmail\_path] = /usr/sbin/sendmail -t -i -f  
removed\_email\_address@domain.invalid  
;php\_flag[display\_errors] = off  
;php\_admin\_value[error\_log] = /var/log/fpm-php.www.log  
;php\_admin\_flag[log\_errors] = on  
;php\_admin\_value[memory\_limit] = 32M

Posted at Nginx Forum:

> **[Re: nginx debian 6 64bits](https://forum.nginx.org/read.php?2,240765,240790#msg-240790)**
>
> default.conf server { if ($host !~\* ^www\\.) { rewrite ^(.\*)$ http://www.$host$1 permanent; } listen 80; server\_name exemple.org; index index.html index.htm index.php; root

---

<div class="post-metadata">

**Author:** ![dumorim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dumorim](https://www.ruby-forum.com/u/dumorim)\
**Post date:** [July 12, 2013, 7:09pm UTC](https://www.ruby-forum.com/t/nginx-debian-6-64bits/245771/7 "2013-07-12T19:09:22Z")

</div>

netstat -napt

6915/nginx: worker  
tcp 0 0 109.236.87.68:80 201.90.8.68:41544  
ESTABLISHED  
6911/nginx: worker  
tcp 0 0 109.236.87.68:80 189.4.107.246:2048  
ESTABLISHED  
6910/nginx: worker  
tcp 239 0 109.236.87.68:80 189.24.118.25:2356  
ESTABLISHED  
-  
tcp 0 0 109.236.87.68:80 187.53.134.152:57211  
ESTABLISHED  
6910/nginx: worker  
tcp 0 0 109.236.87.68:80 189.103.65.154:49826  
ESTABLISHED  
6914/nginx: worker  
tcp 435 0 109.236.87.68:80 189.58.115.30:60761  
ESTABLISHED  
-  
tcp 0 0 109.236.87.68:80 177.130.18.85:58372  
ESTABLISHED  
6915/nginx: worker  
tcp 400 0 109.236.87.68:80 202.188.79.209:59398  
ESTABLISHED  
-  
tcp 204 0 109.236.87.68:80 189.24.118.25:2369  
ESTABLISHED  
-  
tcp 0 0 109.236.87.68:80 177.132.91.147:63143  
ESTABLISHED  
6916/nginx: worker  
tcp 1 0 109.236.87.68:80 177.177.43.143:61641  
CLOSE\_WAIT  
6914/nginx: worker  
tcp 0 0 127.0.0.1:43246 127.0.0.1:9000  
ESTABLISHED  
6915/nginx: worker  
tcp 0 0 127.0.0.1:43221 127.0.0.1:9000  
ESTABLISHED  
6912/nginx: worker  
tcp 0 0 127.0.0.1:9000 127.0.0.1:43195  
TIME\_WAIT  
-  
tcp 402 0 109.236.87.68:80 177.81.144.122:56741  
ESTABLISHED  
-  
tcp 0 0 127.0.0.1:9000 127.0.0.1:43189  
TIME\_WAIT  
-  
tcp 0 0 109.236.87.68:80 177.106.194.157:62449  
TIME\_WAIT  
-  
tcp 254 0 109.236.87.68:80 201.37.189.181:58179  
CLOSE\_WAIT  
6917/nginx: worker  
tcp 0 0 109.236.87.68:80 187.87.102.123:35576  
ESTABLISHED  
6910/nginx: worker  
tcp 413 0 109.236.87.68:80 187.59.43.60:58013  
ESTABLISHED  
-  
tcp 8 0 127.0.0.1:9000 127.0.0.1:43251  
ESTABLISHED  
7562/php-fpm: pool  
tcp 0 0 109.236.87.68:80 189.102.215.123:62319  
ESTABLISHED  
6916/nginx: worker  
tcp 8 0 127.0.0.1:9000 127.0.0.1:43252  
ESTABLISHED  
8739/php-fpm: pool  
tcp 1 0 109.236.87.68:80 179.214.156.43:44270  
CLOSE\_WAIT  
6918/nginx: worker  
tcp 427 0 109.236.87.68:80 187.121.113.6:1722  
ESTABLISHED  
-  
tcp 0 0 127.0.0.1:43251 127.0.0.1:9000  
ESTABLISHED  
6915/nginx: worker  
tcp 0 0 109.236.87.68:80 177.158.208.195:39317  
ESTABLISHED  
6910/nginx: worker  
tcp 0 0 127.0.0.1:9000 127.0.0.1:43200  
TIME\_WAIT  
-  
tcp 386 0 109.236.87.68:80 189.107.79.135:39418  
ESTABLISHED  
-  
tcp 0 0 127.0.0.1:43232 127.0.0.1:9000  
ESTABLISHED  
6910/nginx: worker  
tcp 0 0 109.236.87.68:80 187.74.31.46:21609  
TIME\_WAIT  
-  
tcp 0 0 127.0.0.1:43252 127.0.0.1:9000  
ESTABLISHED  
6915/nginx: worker  
tcp 478 0 109.236.87.68:80 187.61.209.90:49385  
ESTABLISHED  
6916/nginx: worker  
tcp 387 0 109.236.87.68:80 177.182.185.53:50529  
ESTABLISHED  
-  
tcp 519 0 109.236.87.68:80 177.18.218.173:56157  
ESTABLISHED  
6915/nginx: worker  
tcp 318 0 109.236.87.68:80 189.6.233.162:56531  
ESTABLISHED  
-  
tcp 1 0 127.0.0.1:43228 127.0.0.1:9000  
CLOSE\_WAIT  
6911/nginx: worker  
tcp 0 0 109.236.87.68:80 177.23.185.253:12140  
ESTABLISHED  
6916/nginx: worker  
tcp 380 0 109.236.87.68:80 200.153.242.79:51682  
CLOSE\_WAIT  
-  
tcp 0 0 109.236.87.68:80 177.34.113.41:55728  
TIME\_WAIT  
-  
tcp 0 0 127.0.0.1:9000 127.0.0.1:43217  
FIN\_WAIT2  
8885/php-fpm: pool  
tcp 0 0 127.0.0.1:43227 127.0.0.1:9000  
ESTABLISHED  
6911/nginx: worker  
tcp 1 0 109.236.87.68:80 187.17.181.143:18560  
CLOSE\_WAIT  
6916/nginx: worker  
tcp 415 0 109.236.87.68:80 187.39.134.210:50340  
ESTABLISHED  
-  
tcp 0 0 109.236.87.68:80 85.245.72.240:61665  
ESTABLISHED  
6911/nginx: worker  
tcp 0 0 127.0.0.1:43247 127.0.0.1:9000  
ESTABLISHED  
6915/nginx: worker  
tcp 1 0 109.236.87.68:80 187.7.114.240:19713  
CLOSE\_WAIT  
6916/nginx: worker  
tcp 0 0 109.236.87.68:80 186.227.58.106:55657  
ESTABLISHED  
6916/nginx: worker  
tcp 402 0 109.236.87.68:80 177.8.7.33:63105  
ESTABLISHED  
-  
tcp 0 0 109.236.87.68:80 201.90.8.68:41629  
ESTABLISHED  
6911/nginx: worker  
tcp 395 0 109.236.87.68:80 177.42.75.77:55690  
ESTABLISHED  
-  
tcp 1 0 109.236.87.68:80 177.177.43.143:59719  
CLOSE\_WAIT  
6914/nginx: worker  
tcp 0 0 109.236.87.68:80 187.61.209.90:49389  
ESTABLISHED  
6911/nginx: worker  
tcp 0 0 109.236.87.68:80 177.3.241.225:59685  
ESTABLISHED  
6916/nginx: worker  
tcp 8 0 127.0.0.1:9000 127.0.0.1:43229  
ESTABLISHED  
8253/php-fpm: pool  
tcp 8 0 127.0.0.1:9000 127.0.0.1:43224  
ESTABLISHED  
7843/php-fpm: pool  
tcp 8 0 127.0.0.1:9000 127.0.0.1:43230  
ESTABLISHED  
8981/php-fpm: pool  
tcp 424 0 109.236.87.68:80 187.114.31.253:52008  
ESTABLISHED  
-  
tcp 0 0 127.0.0.1:9000 127.0.0.1:43196  
TIME\_WAIT  
-  
tcp 0 0 109.236.87.68:80 177.201.100.148:64246  
ESTABLISHED  
6910/nginx: worker  
tcp 0 0 109.236.87.68:80 201.89.72.18:32611  
ESTABLISHED  
6911/nginx: worker  
tcp 0 0 109.236.87.68:80 177.206.179.12:64630  
TIME\_WAIT  
-  
tcp 420 0 109.236.87.68:80 189.24.118.25:2348  
ESTABLISHED  
-  
tcp 394 0 109.236.87.68:80 177.221.10.167:54259  
ESTABLISHED  
-  
tcp 0 0 127.0.0.1:9000 127.0.0.1:43215  
FIN\_WAIT2  
8676/php-fpm: pool  
tcp 0 0 127.0.0.1:43237 127.0.0.1:9000  
ESTABLISHED  
6910/nginx: worker  
tcp 0 0 109.236.87.68:80 177.101.240.10:22559  
TIME\_WAIT  
-  
tcp 0 0 109.236.87.68:47571 177.98.31.107:32796  
TIME\_WAIT  
-  
tcp 0 0 109.236.87.68:80 177.81.144.122:56657  
ESTABLISHED  
6910/nginx: worker  
tcp 0 0 109.236.87.68:80 201.29.129.188:55533  
ESTABLISHED  
6915/nginx: worker  
tcp 453 0 109.236.87.68:80 177.38.63.85:50103  
ESTABLISHED  
6911/nginx: worker  
tcp 0 0 127.0.0.1:9000 127.0.0.1:43187  
TIME\_WAIT  
-  
tcp 1 0 109.236.87.68:80 126.29.105.192:64907  
CLOSE\_WAIT  
6914/nginx: worker  
tcp 625 0 127.0.0.1:43217 127.0.0.1:9000  
CLOSE\_WAIT  
6916/nginx: worker  
tcp 0 0 127.0.0.1:9000 127.0.0.1:43213  
TIME\_WAIT  
-  
tcp 0 0 109.236.87.68:80 177.134.219.207:60546  
TIME\_WAIT  
-  
tcp 0 0 109.236.87.68:80 189.59.161.139:54528  
TIME\_WAIT  
-  
tcp 384 0 109.236.87.68:80 201.91.219.251:59375  
CLOSE\_WAIT  
6912/nginx: worker  
tcp 498 0 109.236.87.68:80 200.140.18.250:59907  
ESTABLISHED  
6914/nginx: worker  
tcp 0 0 109.236.87.68:80 177.41.171.7:53231  
ESTABLISHED  
6910/nginx: worker  
tcp 0 0 109.236.87.68:80 177.19.46.249:60652  
TIME\_WAIT  
-  
tcp 1 0 109.236.87.68:80 187.59.11.132:2144  
CLOSE\_WAIT  
6915/nginx: worker  
tcp 0 0 127.0.0.1:43240 127.0.0.1:9000  
ESTABLISHED  
6910/nginx: worker  
tcp 0 0 109.236.87.68:80 177.103.237.208:54757  
ESTABLISHED  
6915/nginx: worker  
tcp 0 0 109.236.87.68:80 150.70.97.121:49325  
ESTABLISHED  
6918/nginx: worker  
tcp 398 0 109.236.87.68:80 189.27.219.116:53589  
ESTABLISHED  
-  
tcp 0 0 109.236.87.68:80 201.8.196.20:12291  
ESTABLISHED  
6911/nginx: worker  
tcp 0 0 109.236.87.68:80 177.205.145.111:54923  
ESTABLISHED  
6910/nginx: worker  
tcp 0 0 127.0.0.1:43224 127.0.0.1:9000  
ESTABLISHED  
6911/nginx: worker  
tcp 392 0 109.236.87.68:80 188.251.53.207:58948  
ESTABLISHED  
-  
tcp 0 0 109.236.87.68:80 187.61.209.90:49390  
ESTABLISHED  
6916/nginx: worker  
tcp 1 0 109.236.87.68:80 177.177.43.143:61683  
CLOSE\_WAIT  
6914/nginx: worker  
tcp 0 0 109.236.87.68:80 187.52.226.163:49535  
TIME\_WAIT  
-  
tcp 8 0 127.0.0.1:9000 127.0.0.1:43221  
ESTABLISHED  
8112/php-fpm: pool  
tcp 0 0 127.0.0.1:43249 127.0.0.1:9000  
ESTABLISHED  
6915/nginx: worker  
tcp 401 0 109.236.87.68:80 189.54.26.209:32325  
ESTABLISHED  
-  
tcp 217 0 127.0.0.1:43219 127.0.0.1:9000  
CLOSE\_WAIT  
6916/nginx: worker  
tcp 417 0 109.236.87.68:80 2.80.187.137:26628  
ESTABLISHED  
-  
tcp 0 0 109.236.87.68:80 187.56.247.147:45508  
ESTABLISHED  
6918/nginx: worker  
tcp 0 0 127.0.0.1:9000 127.0.0.1:43181  
TIME\_WAIT  
-  
tcp 1 0 109.236.87.68:80 177.177.43.143:64379  
CLOSE\_WAIT  
6914/nginx: worker  
tcp 442 0 109.236.87.68:80 187.102.249.119:61105  
ESTABLISHED  
-  
tcp 499 0 109.236.87.68:80 200.140.18.250:59908  
CLOSE\_WAIT  
6911/nginx: worker  
tcp 396 0 109.236.87.68:80 186.214.192.191:54323  
ESTABLISHED  
-  
tcp 707 0 109.236.87.68:80 187.56.247.147:45528  
ESTABLISHED  
-  
tcp 0 0 109.236.87.68:80 177.133.121.2:60460  
ESTABLISHED  
6915/nginx: worker  
tcp 453 0 109.236.87.68:80 177.159.91.128:49209  
ESTABLISHED  
-

tcp6 0 0 :::21 :::\*  
LISTEN

```
                                       3538/proftpd: (acce

```

tcp6 0 0 :::22 :::\*  
LISTEN

```
                                       2873/sshd

```

tcp6 0 0 ::1:25 :::\*  
LISTEN

Posted at Nginx Forum:

> **[Re: nginx debian 6 64bits](https://forum.nginx.org/read.php?2,240765,240792#msg-240792)**
>
> default.conf server { if ($host !~\* ^www\\.) { rewrite ^(.\*)$ http://www.$host$1 permanent; } listen 80; server\_name exemple.org; index index.html index.htm index.php; root

---

<div class="post-metadata">

**Author:** ![dumorim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dumorim](https://www.ruby-forum.com/u/dumorim)\
**Post date:** [July 12, 2013, 7:22pm UTC](https://www.ruby-forum.com/t/nginx-debian-6-64bits/245771/8 "2013-07-12T19:22:48Z")

</div>

ps axu

www-data 14168 0.0 0.0 232088 10192 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14169 0.0 0.0 234432 10748 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14171 0.0 0.0 231552 7856 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14172 0.0 0.0 231528 7704 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14173 0.0 0.0 231512 7792 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14174 0.0 0.0 232344 9688 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14175 0.0 0.0 232092 9736 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14177 0.0 0.0 231512 7656 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14178 0.0 0.0 231512 7756 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14179 0.0 0.0 233616 8912 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14181 0.0 0.0 231544 7752 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14220 0.0 0.0 233632 8916 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14221 0.0 0.0 233616 8852 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14222 0.0 0.0 231512 7688 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14223 0.0 0.0 232088 9708 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14224 0.0 0.0 231576 7856 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14225 0.0 0.0 232340 10304 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14226 0.0 0.0 231528 7680 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14227 0.0 0.0 231528 7648 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14228 0.0 0.0 231560 7716 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14229 0.0 0.0 231624 7872 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14230 0.0 0.0 232336 9508 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14231 0.0 0.0 231528 7668 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14232 0.0 0.0 232088 9968 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14233 0.0 0.0 231576 7744 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14234 0.0 0.0 233328 8596 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14235 0.0 0.0 231560 7708 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14236 0.0 0.0 232088 9820 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14237 0.0 0.0 232088 9948 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14238 0.0 0.0 231528 7812 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14239 0.0 0.0 233420 12120 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14240 0.0 0.0 231512 7748 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14241 0.0 0.0 232684 10240 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14242 0.0 0.0 231624 7880 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14243 0.0 0.0 232344 9636 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14244 0.0 0.0 231528 7672 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14245 0.0 0.0 231528 7684 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14246 0.0 0.0 232340 10260 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14248 0.0 0.0 231528 7800 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14249 0.0 0.0 231528 7716 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14250 0.0 0.0 232684 10304 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14251 0.0 0.0 231576 7848 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14252 0.0 0.0 234172 10760 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14338 0.0 0.0 233968 11968 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14339 0.0 0.0 232344 9592 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14340 0.0 0.0 231560 7824 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14341 0.0 0.0 231528 7700 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14342 0.0 0.0 232088 10112 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14343 0.0 0.0 231576 9556 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14345 0.0 0.0 232092 9652 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14346 0.0 0.0 232780 11184 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14347 0.0 0.0 231528 7756 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14348 0.0 0.0 231528 7780 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14351 0.0 0.0 231528 7824 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14353 0.0 0.0 232684 10340 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14354 0.0 0.0 233376 11368 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14355 0.0 0.0 232088 10800 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14357 0.0 0.0 231576 7856 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14358 0.0 0.0 232692 11156 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14360 0.0 0.0 232684 10348 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14361 0.0 0.0 231512 7708 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14362 0.0 0.0 231528 7772 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14364 0.0 0.0 231576 7856 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14365 0.0 0.0 232344 10172 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14366 0.0 0.0 232684 10308 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14368 0.0 0.0 231528 7660 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14369 0.0 0.0 231528 7652 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14371 0.0 0.0 232092 9652 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14372 0.0 0.0 232684 10356 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14374 0.0 0.0 232744 10632 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14375 0.0 0.0 232684 10956 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14376 0.0 0.0 231592 7756 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14377 0.0 0.0 231512 7756 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14380 0.0 0.0 231576 7752 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14381 0.0 0.0 231544 7768 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14434 0.0 0.0 232340 10256 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14435 0.0 0.0 231528 7688 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14436 0.0 0.0 232084 9692 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14437 0.0 0.0 231576 7856 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14438 0.0 0.0 231512 7760 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14439 0.0 0.0 231536 7688 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14440 0.0 0.0 233672 8884 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14442 0.0 0.0 232328 9776 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14444 0.0 0.0 232684 10248 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14446 0.0 0.0 231528 7668 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14448 0.0 0.0 232088 9768 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14449 0.0 0.0 231576 7856 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14450 0.0 0.0 231592 7872 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14451 0.0 0.0 234432 11532 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14452 0.0 0.0 232084 10576 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14453 0.0 0.0 231528 7652 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14454 0.0 0.0 232328 9800 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14455 0.0 0.0 233632 8788 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14458 0.0 0.0 231552 7700 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14460 0.0 0.0 235008 13040 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14461 0.0 0.0 231656 9524 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14462 0.0 0.0 232344 9968 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14464 0.0 0.0 233760 10332 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14465 0.0 0.0 231512 7772 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14466 0.0 0.0 231528 7736 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14467 0.0 0.0 232328 9676 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14469 0.0 0.0 231528 7676 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14470 0.0 0.0 234444 11312 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14473 0.0 0.0 233632 8872 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14475 0.0 0.0 231576 7828 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14476 0.0 0.0 232824 11472 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14477 0.0 0.0 232684 10536 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14530 0.0 0.0 231544 7756 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14531 0.0 0.0 231512 7896 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14532 0.0 0.0 235912 14596 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14533 0.0 0.0 231552 7828 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14534 0.0 0.0 231544 7692 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14535 0.0 0.0 231540 9100 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14536 0.0 0.0 232308 9812 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14538 0.0 0.0 232340 9704 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14540 0.0 0.0 231512 7752 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14543 0.0 0.0 231528 7836 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14544 0.0 0.0 234772 11320 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14545 0.0 0.0 231512 7748 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14546 0.0 0.0 231544 7716 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14547 0.0 0.0 231688 10368 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14549 0.0 0.0 231320 10320 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14550 0.0 0.0 232340 10756 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14551 0.0 0.0 231528 7720 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14552 0.0 0.0 231528 7708 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14553 0.0 0.0 232092 10320 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14555 0.0 0.0 232684 10308 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14558 0.0 0.0 231592 9424 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14559 0.0 0.0 231528 7680 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14560 0.0 0.0 231552 7784 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14561 0.0 0.0 231512 7732 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14563 0.0 0.0 232308 10392 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14564 0.0 0.0 231528 7756 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14565 0.0 0.0 232336 9708 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14566 0.0 0.0 231512 7748 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14567 0.0 0.0 232748 10688 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14570 0.0 0.0 233632 8808 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14571 0.0 0.0 232084 9692 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14572 0.0 0.0 231656 9428 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14586 0.0 0.0 233616 8864 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14587 0.0 0.0 231584 9512 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14588 0.0 0.0 232340 10320 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14589 0.0 0.0 231512 7736 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14590 0.0 0.0 231512 7744 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14591 0.0 0.0 231568 9256 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14592 0.0 0.0 234992 11152 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14593 0.0 0.0 232684 10256 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14594 0.0 0.0 233668 10164 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14595 0.0 0.0 232072 10384 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14596 0.0 0.0 232340 10268 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14597 0.0 0.0 232688 11184 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14598 0.0 0.0 231556 9328 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14599 0.0 0.0 231512 7708 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14600 0.0 0.0 231512 7800 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14601 0.0 0.0 231528 7784 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14602 0.0 0.0 231572 8940 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14603 0.0 0.0 231528 7704 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14604 0.0 0.0 231512 7916 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14605 0.0 0.0 232328 9940 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14612 0.0 0.0 234048 12496 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14613 0.0 0.0 232768 10468 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14614 0.0 0.0 231528 7672 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14623 0.0 0.0 231576 9476 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14624 0.0 0.0 232084 9876 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14625 0.0 0.0 233272 12344 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14626 0.0 0.0 232344 10364 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14627 0.0 0.0 232684 10628 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14628 0.0 0.0 231576 9560 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14641 0.0 0.0 232940 10492 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14642 0.0 0.0 231544 7688 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14643 0.0 0.0 234176 11180 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14644 0.0 0.0 234444 11268 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14657 0.0 0.0 231544 7692 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14658 0.0 0.0 233632 8840 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14659 0.0 0.0 232336 9676 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14660 0.0 0.0 232328 9680 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14661 0.0 0.0 231560 7768 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14662 0.0 0.0 231552 7700 ? S 19:16 0:00  
php-fpm:  
pool w  
www-data 14675 0.0 0.0 231552 7804 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14676 0.0 0.0 231528 7752 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14677 0.0 0.0 231544 7796 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14678 0.0 0.0 231528 7768 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14679 0.0 0.0 232684 10316 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14680 0.0 0.0 231576 8948 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14702 0.0 0.0 232088 9696 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14703 0.0 0.0 234444 10760 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14704 0.0 0.0 231512 7800 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14705 0.0 0.0 231528 7676 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14706 0.0 0.0 231596 9088 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14707 0.0 0.0 232348 9752 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14708 0.0 0.0 231528 7792 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14709 0.0 0.0 232084 9752 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14710 0.0 0.0 232900 10676 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14723 0.0 0.0 231536 7688 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14724 0.0 0.0 232684 10280 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14725 0.0 0.0 231528 7752 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14726 0.0 0.0 231528 7744 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14727 0.0 0.0 232340 10336 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14728 0.0 0.0 232304 9840 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14741 0.0 0.0 231528 7652 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14742 0.0 0.0 232684 10260 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14743 0.0 0.0 231512 7716 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14744 0.0 0.0 231496 7436 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14745 0.0 0.0 231544 9072 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14746 0.0 0.0 232304 9764 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14751 0.0 0.0 233616 8868 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14752 0.0 0.0 231544 7788 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14761 0.0 0.0 231512 7800 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14762 0.0 0.0 232092 9656 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14763 0.0 0.0 231528 7728 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14764 0.0 0.0 234180 10652 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14785 0.0 0.0 234436 10788 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14786 0.0 0.0 231544 7792 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14787 0.0 0.0 231512 7752 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14788 0.0 0.0 234216 12168 ? S 19:17 0:00  
php-fpm:  
pool w  
www-data 14789 0.0 0.0 231528 7760 ? S 19:17 0:00  
php-fpm:  
pool w  
root 16427 0.0 0.0 8768 888 pts/0 T 19:22 0:00 grep  
php  
root 16681 0.0 0.0 15472 1208 pts/0 R+ 19:23 0:00 ps axu  
root 24548 0.0 0.0 209564 13956 ? Ss 04:52 0:01  
/usr/sbin/apach  
root 26218 0.0 0.0 70820 3484 ? Ss 18:33 0:00 sshd:  
root@nott  
root 26256 0.0 0.0 12628 1004 ? Ss 18:34 0:00  
/usr/lib/openss  
root 29152 0.0 0.0 71024 3712 ? Ss 18:36 0:00 sshd:  
root@nott  
root 29154 0.0 0.0 12716 1100 ? Ss 18:36 0:00  
/usr/lib/openss

Posted at Nginx Forum:

> **[Re: nginx debian 6 64bits](https://forum.nginx.org/read.php?2,240765,240793#msg-240793)**
>
> default.conf server { if ($host !~\* ^www\\.) { rewrite ^(.\*)$ http://www.$host$1 permanent; } listen 80; server\_name exemple.org; index index.html index.htm index.php; root

---

<div class="post-metadata">

**Author:** ![dumorim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dumorim](https://www.ruby-forum.com/u/dumorim)\
**Post date:** [July 12, 2013, 9:15pm UTC](https://www.ruby-forum.com/t/nginx-debian-6-64bits/245771/9 "2013-07-12T21:15:34Z")

</div>

tcp 0 0 127.0.0.1:9000 0.0.0.0:\*  
LISTEN  
2250/php-fpm.conf)

excuse this post so it does not have editing

Posted at Nginx Forum:

> **[Re: nginx debian 6 64bits](https://forum.nginx.org/read.php?2,240765,240796#msg-240796)**
>
> default.conf server { if ($host !~\* ^www\\.) { rewrite ^(.\*)$ http://www.$host$1 permanent; } listen 80; server\_name exemple.org; index index.html index.htm index.php; root

---

<div class="post-metadata">

**Author:** ![dumorim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@dumorim](https://www.ruby-forum.com/u/dumorim)\
**Post date:** [July 12, 2013, 9:10pm UTC](https://www.ruby-forum.com/t/nginx-debian-6-64bits/245771/10 "2013-07-12T21:10:53Z")

</div>

TCP localhost:9000 (LISTEN)  
php5-fpm 7820 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7821 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7822 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7823 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7824 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7825 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7826 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7849 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7850 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7851 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7852 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7853 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7854 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7855 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7856 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7857 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7858 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7859 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7860 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7867 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7868 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7869 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7890 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7891 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7892 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7893 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7894 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7895 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7896 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7897 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7898 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7899 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7914 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7915 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7916 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7917 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7918 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7919 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7920 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7939 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7940 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7941 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7942 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7943 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7944 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7945 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7946 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7971 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7972 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7973 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7974 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7975 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7976 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7977 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7978 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7979 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7980 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7981 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7982 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7993 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7994 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7995 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7996 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 7997 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8026 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8027 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8028 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8029 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8030 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8031 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8032 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8033 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8034 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8035 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8036 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8037 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8038 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8039 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8058 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8059 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8060 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8061 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8062 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8063 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8064 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8065 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8066 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8081 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8082 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8083 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8084 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8085 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8086 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8087 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8102 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8103 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8104 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8105 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8106 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8107 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8108 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8123 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8124 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8125 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8126 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8127 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8129 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8130 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8150 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8151 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

php5-fpm 8152 www-data 0u IPv4 6600 0t0

```
                                       TCP localhost:9000 (LISTEN)

```

Posted at Nginx Forum:

> **[Re: nginx debian 6 64bits](https://forum.nginx.org/read.php?2,240765,240795#msg-240795)**
>
> default.conf server { if ($host !~\* ^www\\.) { rewrite ^(.\*)$ http://www.$host$1 permanent; } listen 80; server\_name exemple.org; index index.html index.htm index.php; root
