Assistance in troubleshooting slow loading web sites?

5 posts / 0 new
Last post
#1 Thu, 06/09/2016 - 05:12
h4ns3n

Assistance in troubleshooting slow loading web sites?

I have a VPS which hosts two wordpress sites. The sites are just plain wordpress with a Divi theme . I guess images could be optimized for a quicker load time. Since applying the latest updates on webmin / virtualmin, the page load times have gone through the roof.

The funny thing is that virtualmin loads normally and is fast as ever.

I think there is something wrong on apache or php.

When I looked at the logs I saw

[Tue Jun 07 12:19:45.483353 2016] [fcgid:warn] [pid 10639] (104)Connection reset by peer: [client 180.76.15.162:26522] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Tue Jun 07 20:20:27.844797 2016] [fcgid:warn] [pid 19459] (104)Connection reset by peer: [client 180.76.15.34:45688] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Tue Jun 07 20:21:01.604036 2016] [fcgid:warn] [pid 18958] (104)Connection reset by peer: [client 180.76.15.154:13842] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Tue Jun 07 22:26:56.987951 2016] [fcgid:warn] [pid 24345] (104)Connection reset by peer: [client 180.76.15.12:26713] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Tue Jun 07 22:27:44.549667 2016] [fcgid:warn] [pid 24406] (104)Connection reset by peer: [client 180.76.15.18:52857] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Wed Jun 08 03:25:31.736363 2016] [fcgid:warn] [pid 15872] (104)Connection reset by peer: [client 180.76.15.31:33407] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Wed Jun 08 03:50:52.202826 2016] [fcgid:warn] [pid 16750] (32)Broken pipe: [client 216.81.71.84:48765] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Wed Jun 08 08:17:15.513913 2016] [fcgid:warn] [pid 20797] (104)Connection reset by peer: [client 197.89.104.134:52615] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://www.bing.com/
[Wed Jun 08 08:30:29.363169 2016] [fcgid:warn] [pid 20707] (32)Broken pipe: [client 108.59.8.70:47796] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Wed Jun 08 14:30:40.716191 2016] [fcgid:warn] [pid 20709] [client 2a02:c200:0:10:2:5:5590:1:48237] mod_fcgid: read data timeout in 31 seconds
[Wed Jun 08 14:30:40.717673 2016] [core:error] [pid 20709] [client 2a02:c200:0:10:2:5:5590:1:48237] End of script output before headers: wp-cron.php
[Wed Jun 08 17:44:04.323254 2016] [fcgid:warn] [pid 21476] (104)Connection reset by peer: [client 206.253.224.14:51079] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Wed Jun 08 22:27:56.921228 2016] [fcgid:warn] [pid 2008] (104)Connection reset by peer: [client 180.76.15.13:11906] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Wed Jun 08 22:28:33.337576 2016] [fcgid:warn] [pid 1945] (104)Connection reset by peer: [client 180.76.15.154:30628] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Thu Jun 09 00:47:24.971969 2016] [fcgid:warn] [pid 20703] [client 66.249.69.217:46519] mod_fcgid: read data timeout in 31 seconds
[Thu Jun 09 00:47:24.972029 2016] [core:error] [pid 20703] [client 66.249.69.217:46519] End of script output before headers: index.php
[Thu Jun 09 01:23:29.917529 2016] [fcgid:warn] [pid 18338] (104)Connection reset by peer: [client 204.197.242.110:38571] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Thu Jun 09 01:23:30.067303 2016] [fcgid:warn] [pid 18339] (32)Broken pipe: [client 204.197.242.110:38572] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Thu Jun 09 01:27:26.212627 2016] [fcgid:warn] [pid 18674] (32)Broken pipe: [client 204.197.242.110:43202] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Thu Jun 09 01:27:26.994430 2016] [fcgid:warn] [pid 20042] (104)Connection reset by peer: [client 204.197.242.110:43203] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

None of the IP addresses mentioned above are my server, and i'm seeing abnormal amounts of traffic. 1.12 GB in a month. This is a paintball website - it does not get much traffic: http://paintballpark.co.za

Any help massively appreciated. About to lose my only two clients .

Thu, 06/09/2016 - 08:17
andreychek

Howdy,

Hmm, what is the output of these two commands:

uptime
ps auxwf

That will show is your server is experiencing a high load, and if so, the second command will show what processes are running and the various stats about those processes.

-Eric

Thu, 06/09/2016 - 13:46
h4ns3n

Response from uptime command: 20:19:53 up 19:29,  1 user,  load average: 1.23, 1.00, 1.13

response from ps auxwf: there is about 50-100 of these entries

www-data  6870  0.0  0.2 392272 14768 ?        S    06:25   0:08  \_ /usr/sbin/apache2 -k start
www-data  6872  0.0  0.2 392156 14640 ?        S    06:25   0:08  \_ /usr/sbin/apache2 -k start

and about 20-30 of these

aftp      4605  0.6  0.8 357392 49208 ?        S    16:19   1:36  |   \_ /usr/bin/php5-cgi

Signature: Implement powerful CRM solutions using: Agile CRM: Advanced Marketing Automation (Note: This is an affiliate link)

Thu, 06/09/2016 - 13:49
h4ns3n

Something was not right with a virtual server with user aftp. I disabled the virtual server and now its working perfectly

Signature: Implement powerful CRM solutions using: Agile CRM: Advanced Marketing Automation (Note: This is an affiliate link)

Thu, 06/09/2016 - 19:16
andreychek

I'm glad to hear that's working better now!

It's possible there was a malfunctioning PHP script being run... or something bots can hit certain websites particularly hard, that could be the issue too. The logs in $HOME/logs/ might show some additional clues as to what's going on.

-Eric

Topic locked