[nSLUG] nSLUG Digest, Vol 587, Issue 1

chris thompson ct8ball at gmail.com
Fri Jul 3 14:57:32 ADT 2015


I do believe any of the information should be available through sar. for
specific app monitoring I think that should already be installed there. How
many of these gettimeofday requests are you talking about? have you parsed
the info to figure that out? ie. 200 / second would be a lot, but 10,000
would be A LOT!.

I wouldn't mind having a poke at it as I'm interested :p

is it deb or redhat? did you attempt to lower the threads? is it on a 64
bit machine? where was the package from? did you compile it yourself or was
it from a repo? I'm certainly curious if you couldn't tell.

I'm on skype: ct8ball



On Mon, Jun 29, 2015 at 11:56 AM <nslug-request at nslug.ns.ca> wrote:

> Send nSLUG mailing list submissions to
>         nslug at nslug.ns.ca
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://nslug.ns.ca/mailman/listinfo/nslug
> or, via email, send a message with subject or body 'help' to
>         nslug-request at nslug.ns.ca
>
> You can reach the person managing the list at
>         nslug-owner at nslug.ns.ca
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of nSLUG digest..."
>
>
> Today's Topics:
>
>    1. Re:  httpd busy on idle machine? (D G Teed)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 28 Jun 2015 16:36:44 -0300
> From: D G Teed <donald.teed at gmail.com>
> To: Nova Scotia Linux User Group <nslug at nslug.ns.ca>
> Subject: Re: [nSLUG] httpd busy on idle machine?
> Message-ID:
>         <
> CAMNR8_N6YrFBFW5i22WB96MbNPFmcZTfkrcPc7GjLM8ZPYar6Q at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Thu, Jun 25, 2015 at 9:15 AM, Hatem Nassrat <hnassrat at gmail.com> wrote:
> >
> >> On Jun 25, 2015 3:49 AM, "Mike Spencer" <mspencer at tallships.ca> wrote:
> >> >
> >> > root shows a steady stream of this:
> >> >
> >> >    select(0, NULL, NULL, NULL, {1, 0})    = 0 (Timeout)
> >> >    waitpid(-1, 0xfbb9934, WNOHANG|WSTOPPED) = 0
> >> >
> >> > about 1 per second.
> >> >
> >> > Trace of some instances that belong to apache seem to be doing nothing
> >> > but some are furiously busy:
> >> >
> >> >     gettimeofday({1435211835, 144305}, NULL) = 0
> >> >     gettimeofday({1435211835, nnnnnn}, NULL) = 0
> >> >     gettimeofday({1435211835, nnnnnn}, NULL) = 0
> >> >     epoll_wait(7, {}, 25, 100)
> >> >
> >> > repeated very rapidly; where nnnnnn is a 6 digit number, different in
> >> > each line.  (htop seems to disable the X copy/paste function in an
> >> > xterm so I have to type data from htop.)
> >>
> >> I believe these two entries are your answer.
> >>
> >> The first seems to indicate a busy wait on a socket with a 1 sec
> timeout.
> >>
> >> The second indicates that apache is asking for the time of day perhaps
> for
> >> use in a log file would be my guess?
> >>
> >> I might have missed it, but did you check the apache error log files as
> >> well as syslog to see if there is any activity there? Perhaps even the
> >> access log files but my guess is you prob wont see anything there.
>
> I have not tried it yet, but at the end of the work day I was looking at
> an article about using sysdig.
>
> http://www.sysdig.org/
>
> It looks very good, just a lot of verbose syntax, which seems to be the
> way things are going with systemd, ldap, ipv6, etc.
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/mailman/listinfo/nslug
>
>
> ------------------------------
>
> End of nSLUG Digest, Vol 587, Issue 1
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/pipermail/nslug/attachments/20150703/50ffe414/attachment.html>


More information about the nSLUG mailing list