Re: 100% cpu with double slash in beginning of URI (Linux64)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This means that your httpd process is stuck waiting for file descriptor number 7.

You should now look at what this file descriptor is. "lsof" command is useful here: "lsof -p PID" where PID is the PID number of the stuck process. In the fourth column look for number 7 followed by either r, w or u (or maybe some other character). This is the file descriptor that is blocking your process.

b.




On 24 October 2011 22:44, Svenne Krap <svenne.lists@xxxxxxx> wrote:
When I attach to the process with strace all i get is :

read(7,

And it blocks (for several minutes at least) while the cpu is 100%.

Svenne

On 24-10-2011 20:58, Ben Timby wrote:
> Svenne,
>
> When troubleshooting issues like this, I often use strace to attach to
> the pid of the program in questions. A lot of times seeing what the
> process is doing when pegged at 100% CPU will lead you to the
> solution.
>
> The nice thing about strace is you can attach to the already running
> process and then detach without affecting it negatively.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux