APACHE REQUESTS data show in TinyCP Dasboard

Reported by: k
Created: 1 month 3 days ago
Last reply: 1 month 2 days ago
Views: 14394

I'm using TinyCP with own domain via proxy settings and Ubuntu 18.04 LTS seems to work fine this way for me:

Are you using default port 8000 with your systems hostname?

The strange behaviour started after successful setup in Ubuntu 16, it did work from the start, so I guess i need to change the host name port from the beginning. 

By any chance could you show me how? 

Thank you for the attention. 

Wojtek

[19-Nov-2018 09:14:00 Europe/Warsaw] PHP Notice:  Undefined offset: 13 in /opt/tinycp/www/mods/web/apache/inc/Apache.class.php on line 761
[19-Nov-2018 09:14:00 Europe/Warsaw] PHP Notice:  Undefined offset: 13 in /opt/tinycp/www/mods/web/apache/inc/Apache.class.php on line 761
[19-Nov-2018 09:14:00 Europe/Warsaw] PHP Notice:  Undefined offset: 13 in /opt/tinycp/www/mods/web/apache/inc/Apache.class.php on line 761
[19-Nov-2018 09:14:00 Europe/Warsaw] PHP Notice:  Undefined offset: 13 in /opt/tinycp/www/mods/web/apache/inc/Apache.class.php on line 761
[19-Nov-2018 09:14:00 Europe/Warsaw] PHP Notice:  Undefined offset: 13 in /opt/tinycp/www/mods/web/apache/inc/Apache.class.php on line 761
[19-Nov-2018 09:14:00 Europe/Warsaw] PHP Notice:  Undefined offset: 13 in /opt/tinycp/www/mods/web/apache/inc/Apache.class.php on line 761
[19-Nov-2018 09:14:00 Europe/Warsaw] PHP Notice:  Undefined offset: 13 in /opt/tinycp/www/mods/web/apache/inc/Apache.class.php on line 761
[19-Nov-2018 09:14:00 Europe/Warsaw] PHP Notice:  Undefined offset: 13 in /opt/tinycp/www/mods/web/apache/inc/Apache.class.php on line 761
[19-Nov-2018 09:14:00 Europe/Warsaw] PHP Notice:  Undefined offset: 13 in /opt/tinycp/www/mods/web/apache/inc/Apache.class.php on line 761
[19-Nov-2018 09:14:00 Europe/Warsaw] PHP Notice:  Undefined offset: 13 in /opt/tinycp/www/mods/web/apache/inc/Apache.class.php on line 761
[19-Nov-2018 09:14:00 Europe/Warsaw] PHP Notice:  Undefined offset: 13 in /opt/tinycp/www/mods/web/apache/inc/Apache.class.php on line 761

I hope this will help. Thank you for your attention. 

I have to check what is output on this command on Ubuntu 16.
If someone has Ubuntu 16 installed I would be glad to see the result.
I think the Apache returns different table columns.

wget -qO- http://localhost/tinycp-status-entry 

Anyway I made a fix v436.
Thank You for bug submission.

thank you for your attention. I confirm this is working now, however, if you click on show monitoring via Dashboard, I am getting this window below:

 

Wojtek

root@panel:~# wget -qO- http://localhost/tinycp-status-entry | grep th

<tr><th>PID</th><th>Connections</th>

<th>Threads</th><th>Async connections</th></tr>

<tr><th>total</th><th>accepting</th><th>busy</th><th>idle</th><th>writing</th><t >keep-alive</th><th>closing</th></tr>

"<b><code>.</code></b>" Open slot with no current process<br />

<table><tr><th>Srv</th><th>PID</th><th>Acc</th><th>M</th><th>CPU

</th><th>SS</th><th>Req</th><th>Conn</th><th>Child</th><th>Slot</th><th>Client</th><th>VHost</th><th>Request</th></tr>

 <tr><th>Srv</th><td>Child Server number - generation</td></tr>

 <tr><th>PID</th><td>OS process ID</td></tr>

 <tr><th>Acc</th><td>Number of accesses this connection / this child / this slot</td></tr>

 <tr><th>M</th><td>Mode of operation</td></tr>

<tr><th>CPU</th><td>CPU usage, number of seconds</td></tr>

<tr><th>SS</th><td>Seconds since beginning of most recent request</td></tr>

 <tr><th>Req</th><td>Milliseconds required to process most recent request</td></tr>

 <tr><th>Conn</th><td>Kilobytes transferred this connection</td></tr>

 <tr><th>Child</th><td>Megabytes transferred this child</td></tr>

 <tr><th>Slot</th><td>Total megabytes transferred this slot</td></tr>

cache type: <b>SHMCB</b>, shared memory: <b>512000</b> bytes, current entries: <b>0</b><br>subcaches: <b>32</b>, indexes per subcache: <b>88</b><br>index usage: <b>0%</b>, cache usage: <b>0%</b><br>total entries stored since starting: <b>6</b><br>total entries replaced since starting: <b>0</b><br>total entries expired since starting: <b>6</b><br>total (pre-expiry) entries scrolled out of the cache: <b>0</b><br>total retrieves since starting: <b>0</b> hit, <b>7</b> miss<br>total removes since starting: <b>0</b> hit, <b>0</b> miss<br></td></tr>


I hope this will help.
Join our Discord server
Write a reply Edit a reply