wp-admin becomes unresponsive after like 10 hours of not being logged in. In order to get it working i need to restart php5-fpm.
I'm using NGINX with PHP5-FPM and Varnish.
This is my settings:
php5-fpm.conf
pid = /run/php5-fpm.pid error_log = /var/log/php5-fpm.log log_level = debug events.mechanism = epoll include=/etc/php5/fpm/pool.d/*.conf pool.d/www.conf
[www] user = www-data group = www-data listen = /var/run/php5-fpm.sock1 listen.owner = www-data listen.group = www-data pm = dynamic pm.max_children = 20 pm.start_servers = 2 pm.min_spare_servers = 1 pm.max_spare_servers = 3 pm.max_requests = 1000 chdir = / NGINX
user www-data; worker_processes 4; error_log /var/log/nginx/error.log warn; worker_rlimit_nofile 40960; events { worker_connections 1024; use epoll; multi_accept on; } http { include mime.types; upstream php { server unix:/var/run/php5-fpm.sock1; } server { add_header Access-Control-Allow-Origin *; server_name www.example.com; root /var/www/html; index index.php; listen 8080; location = /favicon.ico { log_not_found off; access_log off; } location = /robots.txt { allow all; log_not_found off; access_log off; } location / { try_files $uri $uri/ /index.php?$args; } location ~ \.php$ { include fastcgi.conf; fastcgi_intercept_errors on; fastcgi_pass php; } location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { expires max; log_not_found off; } }