[jadmin] Re: jabberd2 session manager

Christopher Zorn christopher.zorn at gmail.com
Fri Jun 1 15:40:07 CDT 2007


On 6/1/07, Christof Meerwald <cmeerw at cmeerw.org> wrote:
> On Fri, 1 Jun 2007 10:04:25 -0400, Christopher Zorn wrote:
> > I am running jabberd2.1.6 and every now and then sm pegs the CPU at
> > 100%. It causes all kinds of problems, for example slow iq queries.
>
> Have you tried looking at the system call trace of the sm process?

I have used strace and everything seems ok to me, lots of epoll and
send and recvs.
I do get a lot of the following when it starts to bog down :

brk(0x144be000)                         = 0x144be000
brk(0x144df000)                         = 0x144df000
brk(0x14500000)                         = 0x14500000
brk(0x14521000)                         = 0x14521000
brk(0x14542000)                         = 0x14542000

That does not mean much to me. If it would be helpful to post the strace I can.

>
> If you are on Linux, try "strace -p pid" (where pid is the pid of the sm
> process) - maybe that will give a clue of what's wrong.
>
> Of course, you could also try building a debug version and attaching gdb to
> debug the process...
>

I am setting up a server that does have debug mode enabled and gonna
try and replicate this on a test server.

>
> Christof
>
> --
>
> http://cmeerw.org                              sip:cmeerw at cmeerw.org
> mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org
> _______________________________________________
> JAdmin mailing list
> JAdmin at jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________
>


More information about the JAdmin mailing list