strace log on the imaplogin process, performing "a SELECT INBOX" via telnet as before.

root 28778 0.3 0.0 2892 480 ? S 00:00 0:00 /usr/lib/courier/courier/imaplogin /usr/lib/courier/authlib/authdaemon /usr/bin/imapd Maildir
www:/etc/init.d# strace -F -f -p 28778 -e open
Process 28778 attached - interrupt to quit
open("/dev/null", O_RDWR)               = 3
Process 28782 attached (waiting for parent)
Process 28782 resumed (parent 28778 ready)
[pid 28782] --- SIGSTOP (Stopped (signal)) @ 0 (0) ---
Process 28782 detached
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
open("/lib/libcrypt.so.1", O_RDONLY)    = 4
open("/lib/libc.so.6", O_RDONLY)        = 4
open("/etc/nsswitch.conf", O_RDONLY)    = 3
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libnss_compat.so.2", O_RDONLY) = 3
open("/lib/libnsl.so.1", O_RDONLY)      = 3
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libnss_nis.so.2", O_RDONLY)  = 3
open("/lib/libnss_files.so.2", O_RDONLY) = 3
open("/etc/passwd", O_RDONLY)           = 3
open("/etc/group", O_RDONLY)            = 3
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
open("/usr/lib/libfam.so.0", O_RDONLY)  = 3
open("/usr/lib/libgdbm.so.3", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY)        = 3
open("/usr/lib/libstdc++.so.5", O_RDONLY) = 3
open("/lib/libm.so.6", O_RDONLY)        = 3
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open(".Trash/new", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open(".Trash/cur", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("././courierimapacl", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/nsswitch.conf", O_RDONLY)    = 3
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libnss_files.so.2", O_RDONLY) = 3
open("/etc/rpc", O_RDONLY)              = 3


After 2-3 minutes telnet session gets..
* FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited
* 2 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1114196077] Ok
* OK [MYRIGHTS "acdilrsw"] ACL
a OK [READ-WRITE] Ok

and strace log at the same time...
open("./tmp/1119395032.M2320P28778_courierlock.www", O_RDWR|O_NONBLOCK|O_CREAT|O_TRUNC, 0644) = 3 open("./tmp/1119395032.M2320P28778_courierlock.www", O_RDWR|O_CREAT, 0644) = 3
open("./tmp", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("./tmp/1119395032.M8191P28778_imapuid_0.www", O_RDWR|O_NONBLOCK|O_CREAT|O_TRUNC, 0644) = 3
open("./courierimapuiddb", O_RDONLY)    = 3
open("./tmp/1119395032.M8191P28778_imapuid_0.www", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
open("./cur", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
open("./new", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
open("./courierimapkeywords/:list", O_RDONLY) = -1 ENOENT (No such file or directory)


Hope this helps narrow down the problem.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to