logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored by anyone.

Your donations will help to keep this site alive and well, and continuing the building of the binaries.



Unknown reason for 100% cpu usage

 
Post new topic   Reply to topic    Apache Forum Index -> Other Software



View previous topic :: View next topic  
Author Message
phil7269



Joined: 18 Jul 2015
Posts: 7
Location: USA

PostPosted: Fri 08 Jul '16 1:38    Post subject: Unknown reason for 100% cpu usage Reply with quote

I have an website running on Apache 2.2.22 and ubuntu 12.04. php version is 5.3.10

Up until July 3rd at 8am, CPU utilization would average between 10-20%. Very rarely would it go higher, as this server host a web application for internal use only. Today, July 7th, I was informed the application is performing extremely slow. using htop I see that Apache is using all the available CPU, and has been since July 3rd. When I run a netstat I see over 4000 connections which are as follows (each connection to a different port):

tcp 0 0 app.somedomain.com:http app.somedomain.com:55815 TIME_WAIT

How do I go about finding what is causing this issue? TIA for your assistance.

Below are some settings from the apache2.conf file:

MaxKeepAliveRequests 100
KeepAliveTimeout 5

<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>

<IfModule mpm_worker_module>
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxClients 150
MaxRequestsPerChild 0
</IfModule>

<IfModule mpm_event_module>
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
Back to top
phil7269



Joined: 18 Jul 2015
Posts: 7
Location: USA

PostPosted: Fri 08 Jul '16 20:17    Post subject: resolved Reply with quote

Figured out the issue. mount point needed to be disconnected and reconnected.
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Other Software
Page 1 of 1