Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Shouldn't the /usr/local/kerio/mailserver/tmp folder clear itself out? (There are many old items in this 'temp' folder)
  •  
firehaus

Messages: 7
Karma: 0
Send a private message to this user
We are having trouble with Kerio Connect performance and amongst many things we are fixing we stumbled onto the /usr/local/kerio/mailserver/tmp folder which may or may not be related to our trouble but...

We have ruled out hardware issues and are left with software issues. We noticed that our /usr/local/kerio/mailserver/tmp folder has about 25K files in it but many are months old. This does look like a 'temp' folder so shouldn't it clear items out from time to time or at least when the server is restarted? Is this something that the contents could be deleted out of while Kerio Connect is stopped?

System:

Mac Pro, 3.5Ghz 6-core Intel Xeon ES, 32 GB RAM, 256 GB SSD (Kerio Connect is installed here)
Kerio data store is on a Promise Vtrak E-class, performance tests good, RAID 5
OS X 10.9.5
Kerio connect 9.0.4 patch 1
  •  
Pavel Dobry (Kerio)

Messages: 5144
Karma: 241
Send a private message to this user
RAID 5 and HFS+ filesystem are not a good choice for a server working with thousands of small files. Frankly, Mac is not the best platform for high performance servers.
Top and iostat should give you better understanding whether the performance problems are related to disk or not.

[Updated on: Mon, 11 July 2016 22:36]


Knowledge Base: http://kb.kerio.com/.
Technical support: http://www.kerio.com/support
------------------
Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
  •  
firehaus

Messages: 7
Karma: 0
Send a private message to this user
Thanks for the info but we've already opened a related ticket with Kerio and have tested everything and determined that things are working hardware/performance-wise. Mac OS X complaints aside--I don't disagree--but my question was about the /usr/local/kerio/mailserver/tmp folder...
  •  
Pavel Dobry (Kerio)

Messages: 5144
Karma: 241
Send a private message to this user
firehaus wrote on Mon, 11 July 2016 23:59
Thanks for the info but we've already opened a related ticket with Kerio and have tested everything and determined that things are working hardware/performance-wise. Mac OS X complaints aside--I don't disagree--but my question was about the /usr/local/kerio/mailserver/tmp folder...


Tmp folder should not contain any "orphan" files unless something unexpected happened to Kerio Connect process. With Kerio Connect 9.1.0 this folder will be automatically emptied upon server start.

Knowledge Base: http://kb.kerio.com/.
Technical support: http://www.kerio.com/support
------------------
Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
  •  
firehaus

Messages: 7
Karma: 0
Send a private message to this user
Thanks for the feedback. We actually went ahead and deleted everything in that folder except the couple of default items.

Here's the steps we took in case someone else has this problem:

  1. Stopped Kerio connect
  2. Made a complete copy of the 'tmp' folder
  3. Deleted everything inside the 'tmp' folder except the default folders (download, upload)
  4. Restarted Kerio connect

Our server has been working much better today since this was done. We are now investigating what might have caused this but initial review of logs does show that Kerio Connect was having severe issues on the same day files stopped getting purged from the 'tmp' folder.
Previous Topic: KmsReceover compleet domain
Next Topic: Stop client access but allow forwarding?
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sun Dec 11 14:43:16 CET 2016

Total time taken to generate the page: 0.00687 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.