sxmboximp questions

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

SidebandSamurai
Posts: 236
Joined: Sun Jan 08, 2006 10:57 pm

sxmboximp questions

Postby SidebandSamurai » Sun May 22, 2011 3:52 pm

I have a couple of questions regarding sxboximp

I have a user who is having problems with outlook. Its freezing when it syncs with the server and her productivity is way down because of it. I understand there are a lot of factors that affect this. For instance. She is on a VPN. That alone could be the cause of a lot of issues. Lets pretend for a minute that she is in the office having the same issue. She is on a gigabit network. The issue could be caused by how the server is configured. but only if everyone else is having the problem. This is not the case.

I decided it would be a good idea to use sxmboxexp to export her Email and re-import it into her account. The backup takes 5 hours. I expected that. Here is the command I used:

Code: Select all

sxmboxexp -u "Laura Petrie" -a lpetrie.mbox --listlevel folder


I wanted to test to see that the backup was successful by importing it into a test email account. I created a test account called "Test Petrie" and I began the mbox import using this command.

Code: Select all

sxmboxexp -u "Laura Petrie" -a lpetrie.mbox --listlevel folder


I woke up this morning expecting the command prompt or at least being close to finishing. I saw no folders listed. This concerned me as I felt after 5 hours I should see what folders have been imported. While the import was running I decided to start SAC to see how much data was in the test mail box. I was fearing that it had not even started importing. After all her backed up mail store is 19GB. It showed at over 4.8GB had been imported into the account. I thought wow that is really slow. I also determined that this method is going to take 4 times as long as I estimated to get her Email backup and running if I follow through with this procedure.

I decided to start another terminal session and run top to see how busy the server is. It showed that the processor as essentially idle at around .5% with occasional jumps to 5 and 10%. That looked ok, but why is this taking so long? As I watched I saw several processes kicked off by the scalix server. A couple of processes called index.browse, and 10 processes called pdf2text.

I wonder why these processes are being kicked off by the server. Are these processes used by the server for indexing?
Is the Scalix server converting all this users PDF attachments to text or is this part of the indexing process and the users data is not touched?
Is there any way of speeding this up?
If this issue I am having is really only with Outlook and Smartcache, how can I prevent the smartcache from getting corrupt?

I have one other user that is experiencing the pausing while syncing issue. His problem only occurs first thing in the morning and he is fine the rest of the day. His laptop is a new laptop, with the smartcache recently rebuilt. I also am fearing that his problem will slowly degrade over time and not get better. I personally don't have the problem.

Using the webmail interface on the "Laura Petrie" account only results in the mailserver from timing out Firefox or Internet explorer reports that the script is taking to long to respond and asks me if I want to stop it. The reason I decided to try this route, is I have been running maintenance command line maintenance against the account, its a script that rebuilds the imap-cache, it will fix it for a week or two maybe go as long as a month then the problem will re-appear again. This is why I decided to try this route. Fortunately I have not deleted the users mail account yet, so I can stop this process and try something else. Again this is only a test to see if I could resolve her problem.

I know this is a lot to consider and there are a lot of factors in play here. Can anyone provide some in site as to what is happening so I can properly resolve this users issues?

Thanks for your help

Sideband Samurai

SidebandSamurai
Posts: 236
Joined: Sun Jan 08, 2006 10:57 pm

Re: sxmboximp questions

Postby SidebandSamurai » Sun May 22, 2011 4:28 pm

--update

In an effort to resolve this quickly I searched the forums and decided to give this command a try:

Code: Select all

omscan -AfvxU "Laura Petrie"

Since I have a good backup of this user and the account is locked out so that her cell phone can not log in, I should see some positive results.

I will post back any additional information.

Sideband Samurai

SidebandSamurai
Posts: 236
Joined: Sun Jan 08, 2006 10:57 pm

Re: sxmboximp questions

Postby SidebandSamurai » Sun May 22, 2011 9:41 pm

Update:

above posted omscan command completed with the following results

Code: Select all

[root@grumpy backup]# omscan -AfvxU "Laura Petrie"
omscan running on 05.22.11 at 13:22:44.
Host computer : grumpy.sbgk.com.
Fix mode requested.

Last omscan tool run on 05.22.11 at 02:15:02; duration 2 minute(s).
Previous server cycle run on 05.15.11 at 18:29:19; duration 553 minute(s).
Current server cycle not started; service reset or delayed.


Extra check option requested.
Active scan option requested.

Scanning file/dir links .... done.

CAUTION: Scanning of message store has started.
         Mounted file/dir links must be maintained during the scan.
         VxFS file system must not be reorganized - see omscan(1M).

Checking/Scanning user trays ....Laura J. Petrie / sbgk, us/CN=Laura Petrie
Check Size : Should be 92599 instead of 92627 for item ~/data/000007b/0008va0:1.
Check Size : Should be 1088842 instead of 1088641 for item ~/data/000007f/00707l                g:1.
Check Size : Should be 18146474 instead of 18147652 for item ~/user/g00003g/0000004:1.
 done.

Disk usage ....

DESCRIPTION                     INBOX OUTBOX   SENT OTHERS  TRASH  TOTAL  RCVRY (KB)

Laura J. Petrie /sbgk,us/CN=La 2500780      2 2343057 18053847  92627 22990313 1088641
[root@grumpy backup]#


Does this look normal? should I use a -a along with the -A I saw this in other posts and wondered if that would help clean this account up or not.

I have started the imap-cache.sh script that rebuilds the imap cache information.

any input would be greatly appreciated.

Sideband Samurai

SidebandSamurai
Posts: 236
Joined: Sun Jan 08, 2006 10:57 pm

Re: sxmboximp questions

Postby SidebandSamurai » Mon May 23, 2011 11:14 am

Ok,

The Imap-Cache script completed. Here are the results:

Code: Select all

[root@grumpy ~]# ./imap-cache.sh "Laura Petrie"
Do you really want to remove the imap-cache for Laura Petrie (y/N)y
locking mail-account ...
ommodu: The user was modified successfully
killing IMAP-processes for user Laura Petrie (uid  60544) ...
removing /var/opt/scalix/gy/s/user/g00003g/imap-cache ...
do you want to recreate the mailboxcache for Laura Petrie which can take a while (y/N)y
killing UAL-remote processes for user Laura Petrie (uid  60544) ...
removing /var/opt/scalix/gy/s/user/g00003g/00000v8.ofs ...
recreating mailboxcache for Laura Petrie....
Building mailbox cache for: Laura J. Petrie /sbgk,us/CN=Laura Petrie
Mailbox cache directory:    /var/opt/scalix/gy/s/temp/mbc_prep/112

Inbox                           11426 msgs (826262Kb)
Outbox                              1 msgs      (5Kb)
Sent Items                       9667 msgs (575946Kb)
  Deleted Items                    13 msgs    (198Kb)
    2005                         2345 msgs  (28725Kb)
  Search Area                       1 msgs      (1Kb)
    Search Folder                   1 msgs      (1Kb)
  Calendar                       2539 msgs  (45984Kb)
  Contacts                        774 msgs    (268Kb)
  Drafts                           55 msgs   (4218Kb)
  Notes                             1 msgs      (2Kb)
  Sent                           1110 msgs  (32565Kb)
  Templates                         1 msgs      (9Kb)
    MAPI Common Views              21 msgs     (12Kb)
    Message Manager                13 msgs     (13Kb)
    MAPI Views                      9 msgs     (16Kb)
    Freebusy Data                   2 msgs      (3Kb)
  Trash                         41147 msgs (230835Kb)
  2008                          15648 msgs (904458Kb)
  2009                          21678 msgs(2163035Kb)
  2010                           6560 msgs (515940Kb)
  Junk E-Mail                       1 msgs     (18Kb)
  2006                           2965 msgs  (71997Kb)
    Old Emails                    347 msgs  (11498Kb)

Mailbox cache built for: Laura J. Petrie /sbgk,us/CN=Laura Petrie
Mailbox cache directory: /var/opt/scalix/gy/s/temp/mbc_prep/112
Total cache data size:   5Gb

omtidyu : [OM 8013] The name/mailnode contains invalid characters

unlocking mail-account ...
ommodu: The user was modified successfully
done!
[root@grumpy ~]#


omtidyu reports the following warning:

Code: Select all

omtidyu : [OM 8013] The name/mailnode contains invalid characters


Is this something I need to worry about?

Thanks for the help.

Sideband Samurai

SidebandSamurai
Posts: 236
Joined: Sun Jan 08, 2006 10:57 pm

Re: sxmboximp questions

Postby SidebandSamurai » Fri May 27, 2011 4:41 am

** bump


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests