Когда oops зависнет, найдите идентификатор процесса с помощью команды
ps ajxw | grep oops
и выполните команду gdb oops PID
Затем в приглашении gdb вы можете использовать команду bt для получения
стека вызовов.
----- Original Message -----
From: "Konstantin N. Bezruchenko" <[EMAIL PROTECTED]>
To: "Oops! List" <[EMAIL PROTECTED]>
Sent: Monday, December 10, 2001 3:15 PM
Subject: [OOPS] CPU Usage. Дубль 3
> Добрый день уважаемые!
>
> Вообщем проблемы с cpu usage имеют место быть.
> После обновления oops из cvs ничего (касательно subj) не изменилось.
> Плюс ко всему могу сказать что этот процесс, пожирающий процессорное
время,
> работает не в idle, а приоритетно захватил процессор.
>
> Этот тред, судя по всему выполняет какие-то внутренние задачи oops, и не
> занимается обслуживанием клиентов, потому как если его по -9 прибить за
ним
> падает все, что не наблюдается при прибивании треда, который занимается
> обслуживанием какого-то запроса.
>
> $ ./oopsctl stat
> ## -- General info --
> Version : 1.5.21-08122001
> Uptime : 178311sec, (2day(s), 1hour(s), 31min(s))
> Last update : Mon Dec 10 14:12:25 2001
> [skip]
> ## -- CPU --
> Total usage : 172660ms
> Delta usage : 0ms
> Delta time : 60000ms
> Curr. CPU : 0,00 % (0,00s+0,00u)
> Aver. CPU : 0,10 % (0,00s+0,09u)
>
> [storages skip]
>
> ## -- modules --
> accel WWW-accelerator (URL redirector)
> berkeley_db BerkeleyDB 2.7.7 API (DB Interface)
> CustomLog Customized access log. (Log recording)
> err Error reporting module (Error reporting)
> fastredir Fast Substring URL Redirector (URL redirector)
> lang National languages handling module (Output handling)
> DummyLog Dummy logging module (Log recording)
> oopsctl Oops controlling module (Independent port listener)
> redir Regex URL Redirector (URL redirector)
> vary Processing 'Vary:' header (Document headers check)
> ## -- end of modules --
>
> --------------oops.cfg-----------------
>
> [ненужное поскипано]
>
> mem_max 20m
> lo_mark 150k
>
> default-expire-value 30
> ftp-expire-value 30
> max-expire-value 40
>
> last-modified-factor 5
>
> default-expire-interval 6
> icp_timeout 2000
>
> disk-low-free 1
> disk-ok-free 3
>
> force_http11
>
> force_completion 85
>
> maxresident 1m
>
> insert_x_forwarded_for yes
> insert_via yes
>
> ----------end oops.cfg------------
>
> linux-2.4, glibc-2.2, SMP
>
>
> --
> Konstantin N. Bezruchenko
> BK5536-RIPE
> =====================================================================
> If you would like to unsubscribe from this list send message to
> [EMAIL PROTECTED] with "unsubscribe oops" in message body.
> Archive is accessible on http://lists.paco.net/oops-rus/
=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://lists.paco.net/oops-rus/