Hello. I am having trouble with our Courier imap server dropping the
imap connections for some of our users. This is on Solaris 8, with courier
imap 4.0.4 and Courier authlibs 0.57.

   The error message comes up when the server is doing a SELECT INBOX on
an account. I tried running "truss" on imapd, and here are the last lines
of output from truss before courier hangs up:

---------------------SNIP--------------------------


stat("./tmp/1138200893.M538028P21001_imapuid_0.solarcell", 0xFFBEA448) = 0
stat("./tmp/1138201011.M722565P21027_imapuid_0.solarcell", 0xFFBEA448) = 0
stat("./tmp/1138201017.M661485P21029_imapuid_0.solarcell", 0xFFBEA448) = 0
getdents64(5, 0x000702E8, 1048)                 = 0
close(5)                                        = 0
getpid()                                        = 22998 [19022]
stat("./tmp/1138220285.M848123P22998_imapuid_0.solarcell", 0xFFBEA1C8)
Err#2 ENOENT
open("./tmp/1138220285.M848123P22998_imapuid_0.solarcell",
O_RDWR|O_NONBLOCK|O_CREAT|O_TRUNC, 0644) = 5
fstat64(5, 0xFFBE9F68)                          = 0
fcntl(5, F_SETFL, 0x00000000)                   = 0
fstat(5, 0xFFBEA1C8)                            = 0
lstat("./tmp/1138220285.M848123P22998_imapuid_0.solarcell", 0xFFBEA0D0) =
0
close(5)                                        = 0
open("./courierimapuiddb", O_RDONLY)            = 5
fstat64(5, 0xFFBEA3F0)                          = 0
brk(0x00071E30)                                 = 0
brk(0x00073E30)                                 = 0
ioctl(5, TCGETA, 0xFFBEA37C)                    Err#25 ENOTTY
read(5, " 1   1 1 3 7 4 4 8 7 5 2".., 8192)     = 1064
read(5, 0x000702DC, 8192)                       = 0
llseek(5, 0, SEEK_CUR)                          = 1064
close(5)                                        = 0
open("./tmp/1138220285.M848123P22998_imapuid_0.solarcell",
O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
    Incurred fault #6, FLTBOUNDS  %pc = 0x0001EA00
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000004
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000004
        *** process killed ***



---------------/SNIP------------------------



    Here are the permissions on Maildir/tmp for the user:

drwx------   2 root     other       2048 Jan 25 14:25 ./
drwx------   9 root     other        512 Jan 25 15:05 ../
-rw-r--r--   1 root     other          0 Jan 24 08:04 
1138111463.M755323P15120_imapuid_0.solarcell
-rw-r--r--   1 root     other          0 Jan 24 08:04 
1138111469.M580594P15122_imapuid_0.solarcell



    The strange thing is, this is only occuring with random
accounts...most of the accounts are working. And, if we delete the users
account and re-create it, it will work fine for a while, but sometimes
will "break" again in the same way.



    Can anyone offer any suggestions as to where I might go from here?



      Thanks,

   - Jamie






The Moon is Waning Crescent (19% of Full)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to