Re: One more attempt: stuck processes

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

 



--On 16. November 2007 08:00:07 -0600 Gary Mills <mills@xxxxxxxxxxxxxxx> wrote:

This timeout doesn't work in some cases.  We have lots of POP sessions
that never terminate.

That's interesting to hear! Especially since you are using Solaris.

 About 30 out of 40 are in that state now.
Here's an example:

   cyrus 13075   708  0   Oct 14 ?        0:05 pop3d -s
   cyrus 20023   708  0   Oct 29 ?        0:00 pop3d
   cyrus 24560   708  1 07:38:03 ?        0:03 pop3d
   cyrus   631   708  0   Oct 03 ?        0:10 pop3d -s
   cyrus  6786   708  0   Oct 20 ?        0:00 pop3d -s
   cyrus 29777   708  0 07:45:03 ?        0:00 pop3d
   cyrus 19175   708  0   Oct 04 ?        0:04 pop3d -s

One I just checked is stuck in a read():

  # truss -p 19175
  read(0, 0x002316F0, 5)          (sleeping...)
  ^?# pfiles 19175
  19175:  pop3d -s
    Current rlimit: 256 file descriptors
     0: S_IFSOCK mode:0666 dev:271,0 ino:25813 uid:0 gid:0 size:0
        O_RDWR
          sockname: AF_INET 130.179.16.23  port: 995
          peername: AF_INET 130.179.188.184  port: 51771

Could you get a stack trace? If you have gdb you just call it with "gdb -p 19175". Then you can do "bt" at the prompt. I forget how to do it with Sun's debugger.
--
    .:.Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18.:.
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
.:.Universität zu Köln / Cologne University - ✆ +49-221-478-5587.:.
                  .:.:.:.Skype: shagedorn.:.:.:.

Attachment: pgpcQtKpwYxww.pgp
Description: PGP signature

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux