Imap cache issues

Discuss the Scalix web client

Moderators: ScalixSupport, admin

mmas
Posts: 58
Joined: Tue Apr 15, 2008 11:14 am
Location: Italy

...

Postby mmas » Wed Aug 06, 2008 2:46 am

in IMAP Daemon log I found about this user mailbox:

WARNING. Bad log file record found in file 1 at 0x0028dea9, skipped 343 bytes to next record.

WARNING IMAP SERVER Da(IMAP SERVER Pr) 08.06.08 ...
[OM 3433] The open container reference provided is invalid.
User Name: .......
<-cdl_SetTnefRoute
...
..
<-/build/11.4.1/src/lib/ct/ct_octner.c:74[3,3433]

I hope these can help

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Wed Aug 06, 2008 2:52 am

Thanks - I think these can indeed indicate a cache corruption. Does clearing out the cache help?

Florian.
Florian von Kurnatowski, Die Harder!

mmas
Posts: 58
Joined: Tue Apr 15, 2008 11:14 am
Location: Italy

Postby mmas » Wed Aug 06, 2008 2:54 am

ok,

using this script http://downloads.it25.de/scripts/sx_clearimap I have solved the problem.

ebhannes
Posts: 118
Joined: Fri Feb 22, 2008 9:51 am

Postby ebhannes » Sun Aug 17, 2008 1:32 pm

HI,

are there some news about tracking down the problem?
It bothers me since installation of 11.3, now going with 11.4.

is there any possibility to run that imapcachedeletescript out of sac? I don't want to open ssh to my internal server.

bye

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sun Aug 17, 2008 1:35 pm

We are currently testing a speculative fix with a couple of affected customers. If this proves successful, we will get QA signoff and publish an official version of that patch.

You can use SAC's plugin architecture to wrap any Script into SAC. That would include a cache-reset script.

Best,
Florian.
Florian von Kurnatowski, Die Harder!

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Aug 18, 2008 12:02 pm

Scalix 11.4.1 U1 has now been published. Please see viewtopic.php?p=52017#52017 on how this relates to the issue.

Florian.
Florian von Kurnatowski, Die Harder!

Donsell
Posts: 10
Joined: Wed Dec 20, 2006 11:50 am

Postby Donsell » Fri Aug 22, 2008 9:02 am

florian wrote:Scalix 11.4.1 U1 has now been published. Please see viewtopic.php?p=52017#52017 on how this relates to the issue.

Florian.


I installed this fix last night. SWA still seems slower than it has. Server is not under load. I've given Java 768M of ram.

How is 11.4.1 working for others?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Fri Aug 22, 2008 9:15 am

certainly the changes from 11.4.1 to 11.4.1 have no general performance impact in either direction. The upgrade will have reset the header cache, so first-time-logins in SWA will take longer, after that it would be the same.

Florian.
Florian von Kurnatowski, Die Harder!

Donsell
Posts: 10
Joined: Wed Dec 20, 2006 11:50 am

Postby Donsell » Fri Aug 22, 2008 10:08 am

I have a lot of impap41d processes., like 87 with only 22 users logged in. Is this normal?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Fri Aug 22, 2008 10:19 am

yes. one per connection. SWA typically uses at least 3 IMAP connections per user, but can use more depending on the number of folders you work with. Other clients can use a lot more than that, e.g. Thunderbird or Apple Mail.

Florian.
Florian von Kurnatowski, Die Harder!

Donsell
Posts: 10
Joined: Wed Dec 20, 2006 11:50 am

Postby Donsell » Fri Aug 22, 2008 10:50 am

Ok, thanks. One more question - the Item Structure Server has stopped. Is that significant and what is it's function?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Fri Aug 22, 2008 10:52 am

please don't hijack threads - other people reading this won't appreciate. :-) :-) :-)

it's disabled by default, so what you're seeing is normal. it needs to be turned on in preparation for very advanced single item backup/restore operations, so most installations can safely leave it turned off. it's one of those things that, if you don't know what they are, you can basically ignore. :-)

Florian.
Florian von Kurnatowski, Die Harder!

BigBirdy
Posts: 133
Joined: Sun Mar 13, 2005 2:10 pm
Location: Squamish, BC
Contact:

Postby BigBirdy » Mon Aug 25, 2008 9:30 am

I seem to be experiencing the same, or similar problem. Clearing the IMAP cache didnt seem to fix it. Are there any other possible solutions?

Running 11.4.1 on CentOS 5, all was fine but today, for some reason, I cant seem to read any of the email on any of the accounts? If I connect with Thunderbird the listing of mail messages will show up, even new mail, but when I click on any message I get "The current command did not succeed. The mail server responded: some of the requested messages no longer exist". I have run omscan, the script for clearing the imap cache, even re-ran the installer to re-configure all components and even rebooted, but still cant read any mail and the same error? Does anyone have any suggestions?

I seem to be able to read older mail in Windows Live Mail, but any new messages also return errors similar as to Thunderbird when I try to read them?

In the SAC, the IMAP Log shows the following:

ERROR IMAP Server Da(IMAP Server Pr) 08.25.08 06:01:54
[OM 24070] Debug message for Lab use :
mbcl_connect: Failed to connect to unix socket: /var/opt/scalix/pn/s/temp/mime_browse
User Name: Johnny Stork / penguin, johnnystork/CN=Johnny Stork

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Aug 25, 2008 10:08 am

that means your mime browser process is not running. please check with omstat -s and omstat -a, and then restart with omon.

We have seen cases of MIME browser abort with 11.4.0, but don't think we have any reports with 11.4.1 so far.

Florian.
Florian von Kurnatowski, Die Harder!

BigBirdy
Posts: 133
Joined: Sun Mar 13, 2005 2:10 pm
Location: Squamish, BC
Contact:

Postby BigBirdy » Mon Aug 25, 2008 11:54 am

Bummer, no luck yet. Seems that "Mime Browser Controller" is not starting as can be seen with omstat -a.

When I first checked perms in /var/opt/scalix/pn/s/temp, not everything showed the correct permissions so I ran his below.

chmod -R 775 /var/opt/scalix/pn/s/temp.

and then


root@penguin:~# omstat -s
Service Router Started 08:46:49 0
Local Delivery Started 08:46:49 0
Internet Mail Gateway Started 08:46:49 0
Local Client Interface Enabled 08:46:49 0
Remote Client Interface Enabled 08:46:49 1
Test Server Started 08:46:49 0
Request Server Started 08:46:49 0
Print Server Started 08:46:49 0
Bulletin Board Server Started 08:46:49 0
Background Search Service Started 08:46:49 0
CDA Server Started 08:46:49 0
POP3 interface Started 08:46:49 0
Omscan Server Started 08:46:49 0
Proxy Folder Service Started 08:46:49 0


And then omstat -a

root@penguin:~# omstat -a
PC Monitor Started NON-STOP 0
Directory Relay Server Started 08:46:48
Notification Server Started 08:46:48 0
Shared memory daemon Started NON-STOP
Notification Monitor Started NON-STOP
Session Monitor Started NON-STOP
Indexer Started NON-STOP
Stats Daemon Started NON-STOP
Container Access Monitor Started NON-STOP
Item Structure Server Stopped 06.23.08
Database Monitor Started 08:46:48
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 08:46:48
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Started 08:46:48
SMTP Relay Started 08:46:48
Mime Browser Controller Aborted 08:46:48
Event Server Started 08:46:48



Current perms:

-rwxrwxr-x 1 scalix scalix 0 Aug 25 08:13 00dpnsn
-rw-rw---- 1 60535 scalix 16260 Aug 25 08:47 00dpo31
-rw-rw---- 1 60535 scalix 45896 Aug 25 08:47 00dpo35
-rw-rw---- 1 60535 scalix 2876 Aug 25 08:47 00dpo37
-rw-rw---- 1 60535 scalix 9568 Aug 25 08:47 00dpo38
srwxrwxrwx 1 scalix scalix 0 Aug 25 08:46 evs_socket
srwxrwxr-x 1 scalix scalix 0 Nov 26 2006 imap-admin.10154
srwxrwxr-x 1 scalix scalix 0 Sep 7 2006 imap-admin.10209
srwxrwxr-x 1 scalix scalix 0 Jan 17 2007 imap-admin.11359
srwxrwxr-x 1 scalix scalix 0 Sep 28 2006 imap-admin.11965
srwxrwxr-x 1 scalix scalix 0 Feb 24 2006 imap-admin.1354
srwxrwxr-x 1 scalix scalix 0 Oct 8 2007 imap-admin.13970
srwxrwxr-x 1 scalix scalix 0 Feb 24 2006 imap-admin.16683
srwxrwx--- 1 60535 scalix 0 Aug 25 08:47 imap-admin.20817
srwxrwxr-x 1 scalix scalix 0 Jun 1 09:11 imap-admin.21210
srwxrwxr-x 1 scalix scalix 0 Jul 4 2006 imap-admin.23538
srwxrwxr-x 1 scalix scalix 0 Oct 20 2007 imap-admin.24093
srwxrwxr-x 1 scalix scalix 0 Sep 11 2007 imap-admin.24264
srwxrwxr-x 1 scalix scalix 0 Oct 12 2007 imap-admin.2963
srwxrwxr-x 1 scalix scalix 0 Oct 11 2007 imap-admin.31010
srwxrwxr-x 1 scalix scalix 0 Nov 5 2007 imap-admin.5461
srwxrwxr-x 1 scalix scalix 0 Jul 6 2006 imap-admin.681
srwxrwxr-x 1 scalix scalix 0 May 31 2006 imap-admin.6894
srwxrwxr-x 1 scalix scalix 0 Sep 28 2007 imap-admin.7799
srwxrwxr-x 1 scalix scalix 0 Jun 28 2006 imap-admin.9700
srwxrwx--- 1 60535 scalix 0 Aug 25 08:47 imap-core.103
-rw-rw---- 1 root scalix 0 Aug 25 08:47 imap-core.103.lck
srwxrwx--- 1 scalix scalix 0 Aug 25 08:46 lic
srwxrwx--- 1 scalix scalix 0 Aug 25 08:46 licc
drwxrwxr-x 3 scalix scalix 4096 Jul 28 22:03 mbc_prep
drwxrwxr-x 2 scalix scalix 114688 Aug 25 08:47 mime_cache
drwxrwxr-x 2 scalix scalix 4096 Aug 23 04:38 rtfconv
srwxrwx--- 1 scalix scalix 0 Aug 25 08:46 sessd_socket
srwxrwxr-x 1 root scalix 0 Aug 25 08:46 smtpd_socket
srwxrwx--- 1 scalix scalix 0 Aug 25 08:46 stats


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 4 guests