Disk warning

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
qwerty
Posts: 4
Joined: Tue Jul 26, 2016 12:05 am

Disk warning

Post by qwerty »

Hi,

I did a research but couldn't find my issue.
Zimbra is running in a container (vps).

I got a disk warning e-mail and so I added some space to this vps and restarted Zimbra.
But I still receive this messages... Just found some posts on the web, how to expand the Zimbra disk
and it was similar to mine... :-|
Maybe someone has an idea?
Kind of desperate...

Code: Select all

root@cloverfield:/opt/zimbra# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/simfs       30G  7.4G   23G  25% /
none            2.0G  4.0K  2.0G   1% /dev
none            410M   48K  410M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            2.0G     0  2.0G   0% /run/shm

Code: Select all

root@cloverfield:/opt/zimbra# df -ih
Filesystem     Inodes IUsed IFree IUse% Mounted on
/dev/simfs       5.8M   73K  5.7M    2% /
none             512K    88  512K    1% /dev
none             512K    55  512K    1% /run
none             512K     1  512K    1% /run/lock
none             512K     1  512K    1% /run/shm
User avatar
tonster
Zimbra Employee
Zimbra Employee
Posts: 313
Joined: Fri Feb 21, 2014 10:14 am
Location: Ypsilanti, MI
ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016

Re: Disk warning

Post by tonster »

qwerty wrote:Hi,

I did a research but couldn't find my issue.
Zimbra is running in a container (vps).

I got a disk warning e-mail and so I added some space to this vps and restarted Zimbra.
But I still receive this messages... Just found some posts on the web, how to expand the Zimbra disk
and it was similar to mine... :-|
Maybe someone has an idea?
Kind of desperate...

Code: Select all

root@cloverfield:/opt/zimbra# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/simfs       30G  7.4G   23G  25% /
none            2.0G  4.0K  2.0G   1% /dev
none            410M   48K  410M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            2.0G     0  2.0G   0% /run/shm

Code: Select all

root@cloverfield:/opt/zimbra# df -ih
Filesystem     Inodes IUsed IFree IUse% Mounted on
/dev/simfs       5.8M   73K  5.7M    2% /
none             512K    88  512K    1% /dev
none             512K    55  512K    1% /run
none             512K     1  512K    1% /run/lock
none             512K     1  512K    1% /run/shm
This is a known issue. The alerts will go away once the logs rotate in the nightly log rotation schedule. See Bug 98812 for details.
qwerty
Posts: 4
Joined: Tue Jul 26, 2016 12:05 am

Re: Disk warning

Post by qwerty »

Thank you, helped me a bit.
But as far as I see log rotation is working well but the issue continues.
I upgraded now to the newest Version and waited one day to complete the log rotation, still I receive the e-mails.
Some suggestion?

Code: Select all

zimbra@cloverfield:/var/log$ zmcontrol -v
Release 8.7.0.GA.1659.UBUNTU12.64 UBUNTU12_64 FOSS edition.

Code: Select all

root@cloverfield:/var/log# ll -t zimbra*  /opt/zimbra/log/  | head -n20
-rw-r--r-- 1 syslog adm    11108353 Jul 27 11:17 zimbra-stats.log
-rw-r--r-- 1 syslog adm      139762 Jul 27 11:16 zimbra.log
-rw-r--r-- 1 syslog adm       75589 Jul 27 06:24 zimbra.log.1.gz
-rw-r--r-- 1 syslog adm       48432 Jul 26 06:24 zimbra.log.2.gz
-rw-r--r-- 1 syslog adm       42922 Jul 25 06:24 zimbra.log.3.gz
-rw-r--r-- 1 syslog adm       42963 Jul 24 06:25 zimbra.log.4.gz
-rw-r--r-- 1 syslog adm           0 Dec 12  2014 zimbra-stats.log.2

/opt/zimbra/log/:
total 21864
-rw-r-----  1 zimbra zimbra  376723 Jul 27 11:16 mailbox.log
-rw-r-----  1 zimbra zimbra 7604695 Jul 27 11:16 gc.log
drwxr-xr-x  2 zimbra zimbra   12288 Jul 27 11:16 ./
-rw-r-----  1 zimbra zimbra     136 Jul 27 11:16 .zmcontrol.cache
-rw-rw----  1 zimbra zimbra   14508 Jul 27 11:15 myslow.log
-rw-r-----  1 zimbra zimbra   52055 Jul 27 11:13 access_log.2016-07-27
-rw-r-----  1 zimbra zimbra  487357 Jul 27 11:13 trace_log.2016_07_27
-rw-r-----  1 zimbra zimbra   27158 Jul 27 11:10 audit.log
-rw-rw-r--  1 zimbra zimbra       6 Jul 27 11:10 zmlogprocess.state
-rw-r-----  1 zimbra zimbra  856178 Jul 27 11:07 clamd.log
User avatar
tonster
Zimbra Employee
Zimbra Employee
Posts: 313
Joined: Fri Feb 21, 2014 10:14 am
Location: Ypsilanti, MI
ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016

Re: Disk warning

Post by tonster »

Are they the same emails, or are they new emails still alerting that diskspace is filling up? What's an example of the most recent one?
qwerty
Posts: 4
Joined: Tue Jul 26, 2016 12:05 am

Re: Disk warning

Post by qwerty »

It's a different message. according to this message the available space is even shrinking...

Code: Select all

  Return-Path: admin@xxxxxx.xxx
Received: from zimbra.xxxxxx.xxx (LHLO zimbra.xxxxxx.xxx) (10.0.0.153) by
 zimbra.xxxxxx.xxx with LMTP; Tue, 26 Jul 2016 03:40:20 +0200 (CEST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by zimbra.xxxxxx.xxx (Postfix) with ESMTP id C533C423609F
	for <admin@xxxxxx.xxx>; Tue, 26 Jul 2016 03:40:20 +0200 (CEST)
X-Virus-Scanned: amavisd-new at xxxxxx.xxx
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-10 required=6.6
	tests=[BAYES_00=-1.9, NO_RELAYS=-0.001]
	autolearn=ham autolearn_force=no
Received: from zimbra.xxxxxx.xxx ([127.0.0.1])
	by localhost (zimbra.xxxxxx.xxx [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id hnSBh65Iu-FB for <admin@xxxxxx.xxx>;
	Tue, 26 Jul 2016 03:40:20 +0200 (CEST)
Received: by zimbra.xxxxxx.xxx (Postfix, from userid 999)
	id A67DF42360A2; Tue, 26 Jul 2016 03:40:20 +0200 (CEST)
To: admin@xxxxxx.xxx
From: admin@xxxxxx.xxx
Subject: Disk / at 94% on zimbra.xxxxxx.xxx:
Message-Id: <20160726014020.A67DF42360A2@zimbra.xxxxxx.xxx>
Date: Tue, 26 Jul 2016 03:40:20 +0200 (CEST)

Jul 26 03:40:20 zimbra zimbramon[2764]: 2764:err: Disk warning: zimbra.xxxxxx.xxx: / on device /dev/simfs at 94%

Code: Select all

Return-Path: admin@xxxxxx.xxx
Received: from zimbra.xxxxxx.xxx (LHLO zimbra.xxxxxx.xxx) (10.0.0.153) by
 zimbra.xxxxxx.xxx with LMTP; Wed, 27 Jul 2016 16:20:21 +0200 (CEST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by zimbra.xxxxxx.xxx (Postfix) with ESMTP id D3C2F423609F
	for <admin@xxxxxx.xxx>; Wed, 27 Jul 2016 16:20:21 +0200 (CEST)
X-Virus-Scanned: amavisd-new at xxxxxx.xxx
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-10 required=6.6
	tests=[BAYES_00=-1.9, NO_RELAYS=-0.001]
	autolearn=ham autolearn_force=no
Received: from zimbra.xxxxxx.xxx ([127.0.0.1])
	by localhost (zimbra.xxxxxx.xxx [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id eRK8vS-LN6xK for <admin@xxxxxx.xxx>;
	Wed, 27 Jul 2016 16:20:21 +0200 (CEST)
Received: by zimbra.xxxxxx.xxx (Postfix, from userid 999)
	id B266542360A2; Wed, 27 Jul 2016 16:20:21 +0200 (CEST)
To: admin@xxxxxx.xxx
From: admin@xxxxxx.xxx
Subject: Disk / at 95% on zimbra.xxxxxx.xxx:
Message-Id: <20160727142021.B266542360A2@zimbra.xxxxxx.xxx>
Date: Wed, 27 Jul 2016 16:20:21 +0200 (CEST)

Jul 27 16:20:21 zimbra zimbramon[2764]: 2764:crit: Disk warning: zimbra.xxxxxx.xxx: / on device /dev/simfs at 95%
qwerty
Posts: 4
Joined: Tue Jul 26, 2016 12:05 am

Re: Disk warning

Post by qwerty »

I was hoping maybe it will grow up to 101% and still working but now the server is down. :(

Website just shows:

Code: Select all

HTTP ERROR 502

Problem accessing ZCS upstream server. Cannot connect to the ZCS upstream server. Connection is refused.
Possible reasons:

upstream server is unreachable
upstream server is currently being upgraded
upstream server is down
Please contact your ZCS administrator to fix the problem.

Powered by Nginx-Zimbra://
any suggestions?
I even don't know what takes that much space. I'm using this server just for myself and so there are just two accounts, mine and the admin.
The mailbox of mine is about 12MB and the admin is about 6MB. :-|
User avatar
tonster
Zimbra Employee
Zimbra Employee
Posts: 313
Joined: Fri Feb 21, 2014 10:14 am
Location: Ypsilanti, MI
ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016

Re: Disk warning

Post by tonster »

qwerty wrote:I was hoping maybe it will grow up to 101% and still working but now the server is down. :(

Website just shows:

Code: Select all

HTTP ERROR 502

Problem accessing ZCS upstream server. Cannot connect to the ZCS upstream server. Connection is refused.
Possible reasons:

upstream server is unreachable
upstream server is currently being upgraded
upstream server is down
Please contact your ZCS administrator to fix the problem.

Powered by Nginx-Zimbra://
any suggestions?
I even don't know what takes that much space. I'm using this server just for myself and so there are just two accounts, mine and the admin.
The mailbox of mine is about 12MB and the admin is about 6MB. :-|
Sounds to me like there really are diskspace issues to address. Where is all the space being taken up?
hisfran
Posts: 31
Joined: Tue Apr 29, 2014 2:10 pm

Re: Disk warning

Post by hisfran »

Have you ever solved this issue?
If you do remember how let me know: I'm experiencing a similar problem these days.
mailbox.log is not retated and is filling up my disk space.

/Fran
Post Reply