<div dir="ltr"><div>Hi all<br><br></div>My Xymon server 4.3.10 is burning the CPU cycles when we view multiple graphs, like the trends page, and takes about 5 seconds to render a single graph in a single-graph page view.<br>
<br clear="all"><div><div>It's a Sun Fire X4150 with 4Gb of RAM, running Solaris 10 update 5..<br><span style="font-family:courier new,monospace"><br>Version                          Location Tag<br>-------------------------------- --------------------------<br>
Intel(R) Xeon(R) CPU           X5460  @ 3.16GHz CPU 1<br></span><br></div><div>Not a very powerful box, and a bit dated, but I have seen significantly better performance on far lesser systems.<br></div><div>So I am not really thinking the issue is with the hardware.<br>
</div><div>It's been slow since it was installed. <br>If I view the trends column, I can see the CPU load jump from below 1 to over 10 at times.<br></div><div>Running prstat or top in another window while viewing the trends column, the process ranking by CPU gets dominated by showgraph.cgi, owned by the web server user. <br>
</div><div>Top under normal conditions.<br></div><div><font size="1"><span style="font-family:courier new,monospace">CPU states: 99.9% idle,  0.0% user,  0.1% kernel,  0.0% iowait,  0.0% swap</span></font><br>Top rendering the trends column.<br>
<font size="1"><span style="font-family:courier new,monospace">CPU states:  0.0% idle, 93.8% user,  6.2% kernel,  0.0% iowait,  0.0% swap</span></font><br><br></div><div>Also getting this error<br><span style="font-family:courier new,monospace">(128)Network is unreachable: connect to listener on [::]:443</span><br>
</div><div>in my Apache error.log file, repeated every second while rendering the graphs.<br></div><div>And from time to time, I get this one. <br><span style="font-family:courier new,monospace">File does not exist: /opt/csw/apache2/share/htdocs/server-status</span><br>
</div><div><br></div><div>Anybody seen anything like this?<br></div><div>Perhaps know of somewhere I can look for more info?<br><br></div><div>I have looked at this <a href="http://lists.xymon.com/archive/2014-January/038780.html">http://lists.xymon.com/archive/2014-January/038780.html</a><br>
</div><div>But it doesn't seem relevant. Only 2 errant files, and deleting them made absolutely no difference.<br></div><div><br></div><div>Other info that may be important....<br><span style="font-family:courier new,monospace">bash-3.00# ./httpd -v<br>
Server version: Apache/2.2.22 (Unix)<br>Server built:   Jun  1 2012 05:09:20<br>bash-3.00# ./httpd -V<br>Server version: Apache/2.2.22 (Unix)<br>Server built:   Jun  1 2012 05:09:20<br>Server's Module Magic Number: 20051115:30<br>
Server loaded:  APR 1.4.5, APR-Util 1.3.12<br>Compiled using: APR 1.4.6, APR-Util 1.3.12<br>Architecture:   32-bit<br>Server MPM:     Prefork<br>  threaded:     no<br>    forked:     yes (variable process count)<br>Server compiled with....<br>
 -D APACHE_MPM_DIR="server/mpm/prefork"<br> -D APR_HAS_SENDFILE<br> -D APR_HAS_MMAP<br> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)<br> -D APR_USE_FCNTL_SERIALIZE<br> -D APR_USE_PTHREAD_SERIALIZE<br> -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT<br>
 -D APR_HAS_OTHER_CHILD<br> -D AP_HAVE_RELIABLE_PIPED_LOGS<br> -D DYNAMIC_MODULE_LIMIT=128<br> -D HTTPD_ROOT="/opt/csw/apache2"<br> -D SUEXEC_BIN="/opt/csw/apache2/sbin/suexec"<br> -D DEFAULT_PIDLOG="/var/run/httpd.pid"<br>
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"<br> -D DEFAULT_LOCKFILE="/var/run/accept.lock"<br> -D DEFAULT_ERRORLOG="logs/error_log"<br> -D AP_TYPES_CONFIG_FILE="etc/mime.types"<br>
 -D SERVER_CONFIG_FILE="etc/httpd.conf"</span><br><br></div><div>Thanks<br></div><div>Vernon<br></div><div><br><br>-- <br><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div>
<span>- General George Patton</span></div>
</div></div></div>