Webmail problem

Discuss the Scalix web client

Moderators: ScalixSupport, admin

kilrathi
Posts: 14
Joined: Mon Sep 18, 2006 11:05 am

Webmail problem

Postby kilrathi » Tue Aug 28, 2007 2:42 pm

Some of my users are getting the following error when they login to the webmail portion of the mail server
Java Heap Space

which is followed up by the following error message
An error occurrred while fetching the messages from your calendar folder(s)

We are running Scalix v11 on RHEL4.
Java Version jre1.5.0_06

I'm not exactly sure where i can find error logs on this particular problem. Any help is much appreciated.

jaime.pinto
Scalix Star
Scalix Star
Posts: 709
Joined: Fri Feb 23, 2007 6:50 pm
Location: Toronto - Canada

Postby jaime.pinto » Tue Aug 28, 2007 9:09 pm

Can you post some info on the client? For example, have you tried firefox instead of IE or vice-versa? Have you tried to access webmail from a linux client or a different Windows client? Do you have some special plugins or extensions on the browsers?
Image Jaime
||||||||||||||||||||||||||||||||||||||||

kilrathi
Posts: 14
Joined: Mon Sep 18, 2006 11:05 am

Postby kilrathi » Tue Aug 28, 2007 9:18 pm

I've tested this on several different machines now. I've tried Firefox 2, IE6, IE7 all on Windows XP machines. I've even tried Firefox & IE7 on a Windows Vista machine. Some of them gave me the two errors mentioned above. Another error i just started seeing today is this
The Server failed to send back a valid XML response.


If i reboot the mail server it will work fine for a bit, but eventually it will go back to the java heap error. I've tried Firefox will all the extension disabled, and no added toolbars with IE. Same results.

kilrathi
Posts: 14
Joined: Mon Sep 18, 2006 11:05 am

Postby kilrathi » Thu Aug 30, 2007 10:26 am

Still having trouble with this java heap space error. Surprisingly i can't find much information on these boards about this specific error. Any help would be much appreciated.

pcrock
Posts: 51
Joined: Wed Mar 07, 2007 7:24 am

Postby pcrock » Wed Oct 10, 2007 3:19 am

kilrathi,

did you get anywhere with this? I've got exactly the same issue.

Phill

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Wed Oct 10, 2007 8:02 pm

You may have some imap cache problems.

Try this for one user who is having the problems and see if it improves for them...

Logout of all sessions for that user.
Find out there user folder, i.e.

# omshowu -f -n "<Common Name>"

User Folder : ~/user/g00003d/00000v8:1

then go to /var/opt/scalix/xx/s/user/g00003d

and remove the imap-cache directory. Of course replace g00003d with your folder name.

When you log back in the imap-cache will be re-created.

If that doesn't help log files for tomcat/java live here....

/var/opt/scalix/xx/tomcat/logs/

where xx is your instance folder name.

hope that helps.
Regards,

Les Stott

pcrock
Posts: 51
Joined: Wed Mar 07, 2007 7:24 am

Postby pcrock » Fri Oct 12, 2007 3:58 am

Thanks for that, it seems to have improved things, but not totally. I'm still getting the out of memory errors and java heap space. It doesn't seem to bring the whole webmail/sac down with it this time.

Phill

ukcjmad

Postby ukcjmad » Tue Feb 12, 2008 6:54 pm

I also had this problem. I suspect that the Java is very slowly running out of memory, i.e. a memory leak. For me its stareted happening after I rolled out the webmail system to about 10 users, although I had used it OK for 2 months myself before the rollout. After rollout it survived about 2 or 3 weeks but then everyone was affected (because it is a server-side fault). First we got problems reported with invalid XML, then Java heap.

You can use a cron job to regularly run:
/etc/rc.d/init.d/scalix-tomcaty restart
For me that fixed the problem.

My scalix tomcat log (/var/opt/scalix/o1/tomcat/logs - "o1" is my server-id) showed a number of broken pipes and associated socket errors in Java. (Full java exception log available on request if anyone at Scalix wants to investigate further) My Scalix versions are:
Commuinity Edition Scalix
Scalix Web Access Version 11.1.0.51
Platform Version 11.1.0.50
Server Version 11.1.0.10849

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Feb 13, 2008 4:10 am

Several of these issues have been fixed since. I have about 15 users using SWA exclusively, and after the upgrade to 11.2 and 11.3 they mostly stopped complaining about issues like these, with 11.1 they bugged me a lot. Also in the swa.properties disable the platform (swa.platform.enable?) and see if this makes your life easier.


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 2 guests

cron