I have a server with apache server with php.S.O. Solaris 11.2Apache 2.2PHP 5.3.28RAM 20G16 coresIn apache I have configured 40 domains, with the following characteristics:<VirtualHost *:80>    ServerName domain.com    LogFormat       %{X-Forwarded-For}i %l %u %t \%r\ %>s %b \%{Referer}i\ \%{User-Agent}i\ **%T/%D** combined_t    ErrorLog        |/usr/apache2/2.2/bin/rotatelogs  /opt/avv2002_data/logs/domain_err.%Y%m%d 86400    CustomLog       |/usr/apache2/2.2/bin/rotatelogs  /opt/avv2002_data/logs/domain_log.%Y%m%d 86400 combined_t    LogLevel  info    DocumentRoot /opt/www/apache/joomla/sites/   DirectoryIndex index.htm index.html index.php    <Directory /opt/www/apache/joomla/sites/>        Options -Indexes FollowSymlinks Includes MultiViewsAllowOverride All        RewriteEngine on        RewriteCond %{REQUEST_FILENAME} -s [OR]        RewriteCond %{REQUEST_FILENAME} -l [OR]        RewriteCond %{REQUEST_FILENAME} -d        RewriteRule ^.*$ - [NC,L]        RewriteRule ^.*$ index.html [NC,L]    </Directory></VirtualHost>A few days ago development uploaded a new application in PHP and my server started with problems with ram and cpu, looking a bit I found the following:too many process, children and TIME_WAIT.example:use swap.extract swap with pmapswap: 212276 bytes pid: 23158# ps auxww | grep 23158webservd 23158  0.1  0.121227628216 ?        S 11:49:57  0:06 /usr/apache2/2.2/bin/httpd -k startsee too many TIME_WAITnetstat -aun | grep 23158serverip.80      serverip.61768   root      23158 httpd           44876      0   65160      0 TIME_WAITserverip.80      serverip.31254   root      23158 httpd            7843      0   65160      0 TIME_WAITserverip.80      serverip.55937   root      23158 httpd            7262      0   65160      0 TIME_WAITserverip.80      serverip.52572   root      23158 httpd            4845      0   65160      0 TIME_WAITserverip.80      serverip.49687   root      23158 httpd            7075      0   65160      0 TIME_WAITserverip.80      serverip.29891   root      23158 httpd           29310      0   65160      0 TIME_WAITserverip.80      serverip.57332   root      23158 httpd            9557      0   65160      0 TIME_WAITserverip.80      serverip.20296   root      23158 httpd            7262      0   65160      0 TIME_WAITserverip.80      serverip.16077   root      23158 httpd           61246      0   65160      0 TIME_WAIT.......netstat -aun | grep ipserver.80 | wc -l2077ps auxww | grep /usr/apache2/2.2/bin/httpd -k start | wc -l507my apache server status show full wwwwwwwwwwwwwapache Server Status for serveripServer Version: Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1h DAV/2 PHP/5.3.28 mod_fcgid/2.3.9Server Built: Jun 17 2014 11:19:37Current Time: Wednesday, 05-Apr-2017 13:50:10 CDTRestart Time: Wednesday, 05-Apr-2017 13:12:10 CDTParent Server Generation: 0Server uptime: 38 minutesTotal accesses: 125046 - Total Traffic: 3.6 GBCPU Usage: u404.25 s342.99 cu0 cs0 - 32.8% CPU load54.8 requests/sec - 1.6 MB/second - 30.4 kB/request29 requests currently being processed, 0 idle workersWWWWWWwWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWwWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWwWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWwWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWwWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWwWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWwWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWwWWWWWWIs there any way to see which domain is the one with a lot of traffic? In this way you could know exactly what was what the team of development modifiedI was thinking of a profiler of php, to see which domain is taking longerAny idea what else I should check?
Apache TIME_WAIT connections, W Sending Reply and php on solaris 11.2
apache httpd;solaris;php;apache virtualhost