Moderators: ScalixSupport, admin
tsanchez88 wrote:I don't believe the number of messages or Server load is an issue.
It does seem to occur when accessing a folder for the first time, so once its cached the problem may disappear. As for server load I realized the problem right after upgrading our servers and it was off hours with no users known to be logged in. Finally with the size, I've experienced this on a folder with 152 messages all listed at 16k in size. I had to click the the "OK" option to retry about 10 times before the folder finally loaded and then I was able to open/browse all messages in the folder just fine.
I don't see anything in the logs, I've tried watching "scalix-swa.log" but see zero activity while using the webmail. Does anyone know where else I should be checking.
Code: Select all
#!/bin/bash
if [ "$1" = "" ]
then
echo "usage: $0 username"
exit 1
fi
REALPATH=`/opt/scalix/bin/omrealpath "~/"`
OMSHOWU=`/opt/scalix/bin/omshowu -n "$1" -f 2>/dev/null| grep "User Folder"`
if [ $? -eq 0 ]
then
FOLDER=`echo $OMSHOWU | awk -F/ '{print $2 "/" $3 }' `
ID=`/opt/scalix/bin/omshowu -n "$1" | grep "System Login :" | awk -F: '{print $2}' `
echo -n "Do you really want to remove the imap-cache for $1 (y/N)"
read DOIT
if [ "$DOIT" = "y" ]
then
echo "locking mail-account ..."
/opt/scalix/bin/ommodu -o "$1" -K
echo "killing IMAP-processes for user $1 (uid $ID) ..."
pkill -u $ID in.imap41d
echo "removing $REALPATH$FOLDER/imap-cache ..."
rm -rf $REALPATH$FOLDER/imap-cache
echo -n "do you want to recreate the mailboxcache for $1 which can take a while (y/N)"
read DOIT2
if [ "$DOIT2" = "y" ]
then
echo "killing UAL-remote processes for user $1 (uid $ID) ..."
pkill -u $ID ual.remote
echo "removing $REALPATH$FOLDER/00000v8.ofs ..."
rm -rf $REALPATH$FOLDER/00000v8.ofs
echo "recreating mailboxcache for $1...."
/opt/scalix/bin/sxmbcprep -B -u "$1"
fi
omtidyu -B -M -u ' $1/sbgk'
echo "unlocking mail-account ..."
/opt/scalix/bin/ommodu -o "$1" -k
echo "done!"
fi
else
echo "Can not find $1"
fi
Code: Select all
./imap-cache.sh "Cookie Monster" <- include the quotes they are important
Code: Select all
Do you really want to remove the imap-cache for Cookie Monster (y/N)
Code: Select all
Do you really want to remove the imap-cache for Cookie Monster (y/N)y
locking mail-account ...
ommodu: The user was modified successfully
killing IMAP-processes for user Cookie Monster (uid 60538) ...
removing /var/opt/scalix/gy/s/user/g00003a/imap-cache ...
do you want to recreate the mailboxcache for Cookie Monster which can take a while (y/N)y
Code: Select all
killing UAL-remote processes for user Cookie Monster (uid 60538) ...
removing /var/opt/scalix/gy/s/user/g00003a/00000v8.ofs ...
recreating mailboxcache for Cookie Monster....
Building mailbox cache for: Cookie Monster /sbgk,us/CN=Cookie Monster
Mailbox cache directory: /var/opt/scalix/gy/s/temp/mbc_prep/106
Inbox 5069 msgs (190799Kb)
Sent Calendar Entries 909 msgs (107808Kb)
Outbox 18 msgs (17Kb)
CM-ECF 282 msgs (1021Kb)
MyFax Inbox 140 msgs (14643Kb)
Mailbox cache built for: Cookie Monster /sbgk,us/CN=Cookie Monster
Mailbox cache directory: /var/opt/scalix/gy/s/temp/mbc_prep/106
Total cache data size: 3Gb
omtidyu : [OM 8013] The name/mailnode contains invalid characters
unlocking mail-account ...
ommodu: The user was modified successfully
done!
Users browsing this forum: No registered users and 2 guests