Welcome! Log In Create A New Profile

Advanced

How to count number of connections from nginx workers to php-cgi unix socket under FreeBSD

Posted by cmyker 
I need to count number of connections to php's cgi unix socket (created with spawn-fci). Number of php-cgi processes is limited and i want to be able to monitor amount of free processes. I tried all available tools (netstat, sockstat even lsof) but it seems there is no way to determine how many active connections from nginx to unix socket. Please advise.



Edited 2 time(s). Last edit at 02/07/2011 04:03PM by cmyker.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 263
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready