<font style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
It appears as if, for me, upgrading from Solaris 10u10 to Solaris 10u11 caused this problem. Incidentally, I'm on SPARC. But I know it's just about the same issue as when I did a truss, it was the same type of stuff that was going on (searches through locale and font directories). I think it took nearly a minute to generate graphs. <br></font><br> <br>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<font style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<b>From</b>: Novosielski, Ryan [mailto:novosirj@ca.rutgers.edu] <br><b>Sent</b>: Tuesday, April 29, 2014 12:59 AM<br><b>To</b>: 'everett.vernon@gmail.com' <everett.vernon@gmail.com>; 'xymon@xymon.com' <xymon@xymon.com> <br><b>Subject</b>: Re: [Xymon] High CPU Load Rendering Graphs <br></font> <br></div>
<font style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
I have this problem too with Solaris. Or I should say I went from not having this problem to having this problem when I did a Solaris upgrade (from one update to another). I rolled back the upgrade and the problem went away. But I never identified what patch (presumably a patch) caused the problem. I'd love to fix this and move forward though. <br></font><br> <br>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<font style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<b>From</b>: Vernon Everett [mailto:everett.vernon@gmail.com] <br><b>Sent</b>: Wednesday, April 23, 2014 10:17 PM<br><b>To</b>: Xymon mailinglist <xymon@xymon.com> <br><b>Subject</b>: [Xymon] High CPU Load Rendering Graphs <br></font> <br></div>
<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>