gexxxter / coinHiveMiner

Small UI for the https://coin-hive.com/ mining API
MIT License
22 stars 9 forks source link

Internal Server Error #6

Closed steffanjensen closed 7 years ago

steffanjensen commented 7 years ago

The website is getting Internal Server Error 90% of the time with getTopMiners.Php and getSitestats.php. Here is a picture image

But it can also be an error from coin-hive because of server overload.

gexxxter commented 7 years ago

The log you provided looks like the acces log but we need the error.log.

I will update the new domain when I get home

steffanjensen commented 7 years ago

[Thu Sep 28 07:55:24 2017] [error] [client 2.108.147.9] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php", referer: http://brominer.com/ [Thu Sep 28 07:55:24 2017] [error] [client 195.175.104.26] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php", referer: http://brominer.com/ [Thu Sep 28 07:55:24 2017] [error] [client 124.104.237.162] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php", referer: http://brominer.com/ [Thu Sep 28 07:55:24 2017] [error] [client 195.175.104.26] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php", referer: http://brominer.com/ [Thu Sep 28 07:55:24 2017] [error] [client 124.104.237.162] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php", referer: http://brominer.com/ [Thu Sep 28 07:55:24 2017] [error] [client 112.203.99.113] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php", referer: http://brominer.com/ [Thu Sep 28 07:55:23 2017] [error] [client 112.203.99.113] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php", referer: http://brominer.com/ [Thu Sep 28 07:55:23 2017] [error] [client 82.220.26.206] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php", referer: http://brominer.com/ [Thu Sep 28 07:55:23 2017] [error] [client 82.220.26.206] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php", referer: http://brominer.com/ [Thu Sep 28 07:55:23 2017] [error] [client 86.242.89.94] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php", referer: http://brominer.com/ [Thu Sep 28 07:55:18 2017] [error] [client 121.46.87.199] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php", referer: http://brominer.com/ [Thu Sep 28 07:55:16 2017] [error] [client 81.24.70.2] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php", referer: http://brominer.com/ [Thu Sep 28 07:55:16 2017] [error] [client 81.24.70.2] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php", referer: http://brominer.com/ [Thu Sep 28 07:55:16 2017] [error] [client 109.190.133.112] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php", referer: http://brominer.com/ [Thu Sep 28 07:55:15 2017] [error] [client 85.12.100.34] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php", referer: http://brominer.com/ [Thu Sep 28 07:55:15 2017] [error] [client 67.68.99.139] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php", referer: http://brominer.com/ [Thu Sep 28 07:55:15 2017] [error] [client 78.184.133.85] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php", referer: http://brominer.com/ [Thu Sep 28 07:55:15 2017] [error] [client 91.239.204.144] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php", referer: http://brominer.com

steffanjensen commented 7 years ago

I changed the script to getminers.php and not api/getminers.php to refresh the request it worked. But now same thing are happening to getminers.php offcourse.

steffanjensen commented 7 years ago

Now i cant handle it just pending

image

steffanjensen commented 7 years ago

now the website is down :(

steffanjensen commented 7 years ago

image

Looks like memory

steffanjensen commented 7 years ago

My server image

steffanjensen commented 7 years ago

We have temporarily disabled /home4/w5u1p0n2/public_html/brominer.com because it was causing performance issues on the server. Generally, we attempt to resolve these issues without disabling sites; however, this site began to affect the performance for all users on the system. In this case, we acted to preserve the overall server stability. The report at the end of this ticket provides additional information about the site activity during this period.

Running Processes: =============== Pass 1 =============== w5u1p0n2 510393 0.0 0.0 148948 1732 ? S 08:29 0:00 pure-ftpd (IDLE) w5u1p0n2 516767 0.0 0.0 148948 1736 ? S 08:36 0:00 pure-ftpd (IDLE) w5u1p0n2 517522 27.5 0.1 205204 17604 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php w5u1p0n2 517525 17.0 0.1 205204 17616 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517526 12.5 0.1 205204 17612 ? RN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517527 11.5 0.1 205204 17612 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517528 10.0 0.1 205204 17608 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php w5u1p0n2 517529 9.0 0.1 205204 17608 ? RN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php w5u1p0n2 517530 10.0 0.1 205204 17608 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517531 9.0 0.1 205204 17612 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php w5u1p0n2 517532 10.0 0.1 205204 17616 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517533 9.0 0.1 205204 17612 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php w5u1p0n2 517534 14.5 0.1 205204 17604 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php w5u1p0n2 517535 10.0 0.1 205204 17348 ? RN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517536 8.5 0.1 205204 17608 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php w5u1p0n2 517537 11.0 0.1 205204 17348 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517538 12.0 0.1 205204 17348 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517539 23.0 0.1 205204 17344 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517540 12.0 0.0 197216 14528 ? RN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517541 11.0 0.0 189760 14084 ? RN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php w5u1p0n2 517544 10.0 0.0 171180 4572 ? RN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php =============== Pass 2 =============== w5u1p0n2 510393 0.0 0.0 148948 1732 ? S 08:29 0:00 pure-ftpd (IDLE) w5u1p0n2 516767 0.0 0.0 148948 1736 ? S 08:36 0:00 pure-ftpd (IDLE) w5u1p0n2 517552 10.5 0.0 0 0 ? ZN 08:37 0:00 [php-cgi] w5u1p0n2 517553 18.0 0.1 205204 17344 ? RN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517555 13.0 0.0 197216 14524 ? RN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517557 6.0 0.0 189760 14084 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517558 5.0 0.0 189760 14076 ? RN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php =============== Pass 3 =============== w5u1p0n2 510393 0.0 0.0 148948 1732 ? S 08:29 0:00 pure-ftpd (IDLE) w5u1p0n2 516767 0.0 0.0 148948 1736 ? S 08:36 0:00 pure-ftpd (IDLE) w5u1p0n2 517563 16.0 0.1 205204 17604 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getSiteStats.php w5u1p0n2 517564 15.5 0.1 205204 17608 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php w5u1p0n2 517567 13.0 0.1 205204 17612 ? SN 08:37 0:00 /opt/php71/bin/php-cgi /home4/w5u1p0n2/public_html/brominer.com/getTopMiners.php

gexxxter commented 7 years ago

My and other servers are running fine. Did you change anything about the php files? Could be an serverside configuration issue. Maybe the amount of users is too much for the server. Is there anything else running on the server?

steffanjensen commented 7 years ago

@gexxxter my server runs over 2000/hs and more than 100 users i dont think other users have that amount of users right now to do a real stress test like my server did.

gexxxter commented 7 years ago

Maybe your server is just a bit to small on the performance side. I tested it on one of my dedicated server with over 1000 simultaneous connections.

steffanjensen commented 7 years ago

How many cores does that dedicated server has?

gexxxter commented 7 years ago

It´s a 16 Core CPU, but it should run on your system just fine. Besides the api scripts are not really cpu heavy

steffanjensen commented 7 years ago

@gexxxter I'm running on a cloud share so maybe that is to much? any good place you recommend to buy a dedicated ?

steffanjensen commented 7 years ago

should a 4 core dedicated server could run with 10000 simultaneous connections?

gexxxter commented 7 years ago

There shouldn't have been any problems with your cloud server either.

As far as I know hostgator offers dedicated hosting too.

steffanjensen commented 7 years ago

Now i got the same problem again. I have set my stats only to update once every 3 hours. My website goes down with only 15 simulation connections.

gexxxter commented 7 years ago

There should be an error message in your apache logs. 15 simultaneous connections shouldn´t be an issue. My guess is that there´s something misconfigured that causes the problem.

Take a look at your apache Logs

steffanjensen commented 7 years ago

sure

[Fri Oct 06 06:22:37 2017] [error] [client 83.84.50.213] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 35.192.14.245] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 31.151.188.11] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 112.206.77.237] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 195.6.78.190] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 91.103.43.10] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 81.164.84.124] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 92.184.96.6] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 112.206.77.237] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 91.103.43.10] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 195.6.78.190] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 203.87.144.96] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 81.164.84.124] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 90.45.211.100] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 90.45.211.100] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 81.24.74.3] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://www.brominer.com/ [Fri Oct 06 06:22:36 2017] [error] [client 203.87.144.96] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:35 2017] [error] [client 92.184.96.6] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:35 2017] [error] [client 203.116.130.199] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:35 2017] [error] [client 112.206.77.237] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:35 2017] [error] [client 203.116.130.199] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:35 2017] [error] [client 96.23.163.156] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:35 2017] [error] [client 112.206.77.237] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:35 2017] [error] [client 78.165.148.232] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 96.23.163.156] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 78.165.148.232] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 203.45.108.24] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 203.45.108.24] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 85.102.189.236] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 150.70.188.170] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php" [Fri Oct 06 06:22:34 2017] [error] [client 103.83.235.168] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 39.36.1.90] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 103.83.235.168] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 130.115.159.96] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 130.115.159.96] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 81.24.70.2] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://www.brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 39.36.1.90] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 82.220.26.206] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:34 2017] [error] [client 81.24.70.2] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://www.brominer.com/ [Fri Oct 06 06:22:33 2017] [error] [client 82.220.26.206] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:33 2017] [error] [client 110.54.223.235] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:33 2017] [error] [client 110.54.223.235] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:33 2017] [error] [client 85.102.189.236] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 165.225.96.89] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 165.225.96.89] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 43.255.217.62] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 85.130.85.132] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 85.130.85.132] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 43.255.217.62] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 94.254.37.32] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://www.brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 39.57.41.248] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 81.24.70.2] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://www.brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 82.245.21.87] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 82.245.21.87] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 94.254.37.32] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://www.brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 81.24.70.2] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://www.brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 110.37.227.74] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 193.50.162.131] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 193.50.162.131] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 103.20.188.140] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:32 2017] [error] [client 103.20.188.140] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:31 2017] [error] [client 88.209.87.54] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:29 2017] [error] [client 78.236.190.13] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:29 2017] [error] [client 88.157.167.158] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://www.brominer.com/ [Fri Oct 06 06:22:29 2017] [error] [client 78.236.190.13] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:29 2017] [error] [client 88.157.167.158] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://www.brominer.com/ [Fri Oct 06 06:22:29 2017] [error] [client 88.247.83.133] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:29 2017] [error] [client 112.200.30.4] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:29 2017] [error] [client 88.247.83.133] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:25 2017] [error] [client 165.225.86.81] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:25 2017] [error] [client 24.43.195.202] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 121.96.38.42] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 78.165.148.232] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 176.232.42.135] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 176.232.42.135] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 112.206.77.237] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 49.148.192.97] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 78.165.148.232] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 165.225.86.81] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 24.43.195.202] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 176.37.65.91] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 176.37.65.91] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 112.206.77.237] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 203.161.79.9] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 49.148.192.97] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:24 2017] [error] [client 212.112.152.53] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:23 2017] [error] [client 114.125.196.159] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:23 2017] [error] [client 145.5.118.249] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:23 2017] [error] [client 212.112.152.53] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:23 2017] [error] [client 114.125.196.159] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:23 2017] [error] [client 203.161.79.9] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:23 2017] [error] [client 85.102.189.236] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:23 2017] [error] [client 31.132.87.45] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:23 2017] [error] [client 85.102.189.236] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:21 2017] [error] [client 69.144.203.218] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:21 2017] [error] [client 182.232.138.3] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://www.brominer.com/ [Fri Oct 06 06:22:21 2017] [error] [client 104.153.125.238] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:21 2017] [error] [client 59.127.206.103] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:21 2017] [error] [client 59.127.206.103] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getSiteStats.php", referer: http://brominer.com/ [Fri Oct 06 06:22:21 2017] [error] [client 193.248.48.136] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:21 2017] [error] [client 103.20.188.140] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:21 2017] [error] [client 172.90.217.24] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:20 2017] [error] [client 119.93.253.106] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:20 2017] [error] [client 81.24.70.2] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://www.brominer.com/ [Fri Oct 06 06:22:20 2017] [error] [client 78.236.190.13] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/ [Fri Oct 06 06:22:20 2017] [error] [client 158.85.178.196] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://www.brominer.com/ [Fri Oct 06 06:22:20 2017] [error] [client 69.144.203.218] SoftException in Application.cpp:641: Could not execute script "/home4/w5u1p0n2/brominer2.com/getTopMiners.php", referer: http://brominer.com/

It's the same error as always too many calls to api, first the api takes less than 1 seconds to call then over time it end up taking 2 seconds then 3 and so on.

steffanjensen commented 7 years ago

Now i'm guessing but i think it's traffic props (see red lines) like this the build it up

image

Because the "request" takes to long so it's just "build" up for all users on servers. But now im totally quessting

steffanjensen commented 7 years ago

Shared and Reseller

Shared and Reseller plans are limited to 25 simultaneous processes per cPanel. Most sites will work perfectly with a 25 concurrent processes limit. Processes open and close so quickly that they hardly ever overlap.

If a user has between 15-19 IMAP processes running, our system automatically kills any process running over 5 minutes. If there are more than 20 IMAP processes running, our system will automatically kill any process running for longer than 2 minutes.

image

SSH access is limited to two simultaneous connections on Shared and Reseller plans.

steffanjensen commented 7 years ago

image

steffanjensen commented 7 years ago

image

Maybe if it could fetch the first line in getsitestats api instead of the whole thing everytime for every user.

steffanjensen commented 7 years ago

image

They dont close probably

steffanjensen commented 7 years ago

I think maybe I figured it out. While I was changing the "time" option in the JS script. People where still connected to the old js script, which did all the requests,so I deleted the gettopminers and getstats path and changed it for resetting all users. My server runs better now but the concerns about too long request are still building up

image

steffanjensen commented 7 years ago

Did not work GetSitestats2 and GetTopMiners are still the issue image

steffanjensen commented 7 years ago

image

steffanjensen commented 7 years ago

it goes back and forth from this image to the image above image

Like every 10-30 seconds from 25% back to 0%

steffanjensen commented 7 years ago

Just redownloaded miner.js looks better. Do not waste your time to answer. It will take a few hours to know this works for certain.

image

steffanjensen commented 7 years ago

Still the same issue :/

steffanjensen commented 7 years ago

If there was something like "If request getSiteStats and GetTopMiners longer than 2 seconds, stop request" then i think it would work not "build up" the problem is with lot of request, the call to the request takes longer. So if it takes 20 seconds to call, right after it it just call another which also takes 20 seconds. So because there is no wait time, it just ends up the requests are getting longer and longer until it crashes.

gexxxter commented 7 years ago

I will add a connection timeout as soon as I am home, with this connections that take too long are aborted.

steffanjensen commented 7 years ago

Just changed server to google got the same problem there

image

steffanjensen commented 7 years ago

image image image

steffanjensen commented 7 years ago

It was an SSL error this time. Works fine on google servers for now. With setInterval(updateStats, 10000); :D

steffanjensen commented 7 years ago

it is back image

steffanjensen commented 7 years ago

image

Cpu looks fine 10%

steffanjensen commented 7 years ago

here is the new error image

image

I have tried changing server, upgraded to 4 CPU. It helped but only from 12 sec to 6 sec.

steffanjensen commented 7 years ago

image

steffanjensen commented 7 years ago

I have now deleted all js and still getting the error image

Im using google cloud do you know what the issue can be ?

gexxxter commented 7 years ago

Loading static resources like jpg´s takes ages on your server. This could be a signal that the bandwidth of your server is not enough to handle the amount of request. But maybe it´s just a bad connection from your home to the server. Anyways I will add a connection timeout to the API calls, so that if they take too long they are aborted.