creating RAMDISK kills site

Moderator: crythias

Locked
hellbound41
Znuny newbie
Posts: 7
Joined: 23 Jul 2015, 06:24
Znuny Version: 4.0.3

creating RAMDISK kills site

Post by hellbound41 »

I have a fresh ubuntu/mysql/otrs 4.0.5 setup. I'm trying to mount the cache onto ramdisk using the instructions here: http://otrs.github.io/doc/manual/admin/ ... uning.html

When i perform these steps, the entire site becomes unavailable (apache internal errors). I check opt/otrs/var/tmp, and you can no longer browse to that directory... i believe thats causing the issue. Are the instructions incorrect?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: creating RAMDISK kills site

Post by crythias »

hellbound41 wrote:opt/otrs/var/tmp, and you can no longer browse to that directory... i believe thats causing the issue

Code: Select all

sudo mount -o size=16G -t tmpfs none /opt/otrs/var/tmp
Yes, it is exactly the issue.

If the tmp folder cannot be seen because it's not mounted well or properly, you should indeed have this issue.

If you feel the docs are invalid, perhaps the results of a web search might help.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
hellbound41
Znuny newbie
Posts: 7
Joined: 23 Jul 2015, 06:24
Znuny Version: 4.0.3

Re: creating RAMDISK kills site

Post by hellbound41 »

My mistake... looks like it was a permissions issue. I was running the mount as root, which changed the owner permissions on the folder. Once I made otrs and www-data owners, everything works fine. One minor change. the command to mount is actually:

mount -t tmpfs -o size=16G tmpfs /opt/otrs/var/tmp
Locked