Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 11-19-2008, 12:32 PM
Special Member
 
Posts: 103
Default

also check free space. we have had problem with amavis running out of free tmp space.
Reply With Quote
  #12 (permalink)  
Old 12-06-2009, 12:04 AM
Member
 
Posts: 13
Default

Hi,

I believe I might be experiencing similar problems and though this thread has gone quiet for some time now, I thought it would be better to continue an existing thread instead of starting a new one.

Anyway, about one time per day (sometimes twice) I see a process taking up all CPU time. It seems to ba a java process related to clamscanner. The server (and Web GUI) performance suffers, but is not unacceptable. Killing the process (kill -9 PID) makes everything get back to normal. If I don't kill the process, after a while I will have two of these processes (each taking almost 50% CPU).

I would like to resolve this, but I have no idea where to start troubleshooting. Can anyone help me on this?

Some info:

Code:
top - 08:31:01 up 5 days, 21:34,  1 user,  load average: 1.79, 1.69, 1.54
Tasks: 119 total,   2 running, 116 sleeping,   0 stopped,   1 zombie
Cpu(s): 98.7%us,  1.3%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2062220k total,  1828612k used,   233608k free,   175996k buffers
Swap:   979956k total,   546508k used,   433448k free,   237008k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
26321 zimbra    20   0  504m  23m  10m S 97.3  1.2   2965:57 java               
11774 zimbra    20   0 38312 4928 1796 S  0.7  0.2   7:47.62 zmstat-allprocs    
 8687 zimbra    20   0 1283m 575m 9896 S  0.3 28.6  46:08.17 java               
11760 zimbra    20   0 35556 3740 1844 S  0.3  0.2   2:09.57 zmstat-proc        
20753 zimbra    20   0 18860 1260  932 R  0.3  0.1   0:00.02 top                
    1 root      20   0  4020  604  528 S  0.0  0.0   0:00.77 init               
    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd           
    3 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 migration/0        
    4 root      15  -5     0    0    0 S  0.0  0.0   0:03.42 ksoftirqd/0        
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.19 watchdog/0         
    6 root      15  -5     0    0    0 S  0.0  0.0   0:04.28 events/0           
    7 root      15  -5     0    0    0 S  0.0  0.0   0:00.01 khelper            
   39 root      15  -5     0    0    0 S  0.0  0.0   0:16.82 kblockd/0          
   42 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid             
   43 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpi_notify       
   96 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod            
  138 root      20   0     0    0    0 S  0.0  0.0   0:03.81 pdflush
Running "ps -ef |grep 26321" gives me the following output:

Code:
zimbra   26321 26320 91 Dec04 ?        2-01:32:46 /opt/zimbra/java/bin/java -XX:ErrorFile=/opt/zimbra/log -client -Xmx256m -Dzimbra.home=/opt/zimbra -Djava.library.path=/opt/zimbra/lib -Djava.ext.dirs=/opt/zimbra/java/jre/lib/ext:/opt/zimbra/lib/jars:/opt/zimbra/lib/ext-common:/opt/zimbra/lib/ext/clamscanner com.zimbra.cs.account.ProvUtil -l gs hostname.domainname.net
Output of "df -h":

Code:
Filesystem                              Size  Used Avail Use% Mounted on
/dev/mapper/katrien-root                5.0G  1.1G  3.7G  22% /
varrun                                 1007M   64K 1007M   1% /var/run
varlock                                1007M     0 1007M   0% /var/lock
udev                                   1007M   68K 1007M   1% /dev
devshm                                 1007M     0 1007M   0% /dev/shm
/dev/sda1                               177M   39M  129M  24% /boot
/dev/mapper/katrien-var                 1.9G  387M  1.4G  22% /var
/dev/mapper/zimbra-opt--zimbra           10G  2.7G  6.8G  29% /opt/zimbra
/dev/mapper/zimbra-opt--zimbra--store    10G  3.2G  6.3G  34% /opt/zimbra/store
Host Specs:
- 1x AMD Phenom X4 2,4GHz
- 4x 2GB DDR2 RAM
- 5x 2TB SATA Disk, in Linux Software RAID5
- Ubuntu Server 9.10 AMD64

VM (KVM/QEMU) Specs:
- 1 Virtual Processor
- 2GB RAM
- 5GB Virtual disk for OS (RAW, Pre-allocated)
- 10GB Virtual disk for Zimbra software and logs (RAW, Pre-allocated)
- 10GB Virtual disk for Zimbra store (RAW, Pre-allocated)
- Ubuntu Server 8.04AMD64

The Zimbra environment:
- Running on a single server
- 5 users
- approx. 3GB of total mail

Output of "zmcontrol status":

Code:
Host hostname.domainname.net
	antispam                Running
	antivirus               Running
	imapproxy               Running
	ldap                    Running
	logger                  Running
	mailbox                 Running
	memcached               Running
	mta                     Running
	spell                   Running
	stats                   Running
Reply With Quote
  #13 (permalink)  
Old 12-07-2009, 10:42 AM
Moderator
 
Posts: 1,147
Default

That appears to just be a script running `zmprov -l gs hostname.domainname.net`
What happens if you run this manually?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.