LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > [solved] apc.mmap_file_mask path

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2012, 08:40 AM
semprot semprot is offline
Member
 
Join Date: Apr 2012
Posts: 41
Question [solved] apc.mmap_file_mask path

My apc.mmap_file_mask path is set to /tmp/apc.XXXXXX
But on my hosting, my /tmp/ is very small, only about 2gb.
My APC works very hard and those 2gb will be filled on about 1-2 days, until i restarted my HTTPD

On the other side my /home/ is very big and very vacant, my usage there is only 2%

My hosting said both of my /home/ and /tmp/ are on same disk, so they say there is no difference about speed.

Instead of resizing disk partition (/tmp/), i was thinking about moving apc.mmap_file_mask to /home/.

Can i move my apc.mmap_file_mask from /tmp/apc.XXXXXX to /home/ such as /home/apc/apc.XXXXXX/ ?

Thanks.
__________________
I use litespeed

Last edited by NiteWave; 12-14-2012 at 03:55 AM..
Reply With Quote
  #2  
Old 12-13-2012, 04:49 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
Quote:
Originally Posted by semprot View Post
...
Can i move my apc.mmap_file_mask from /tmp/apc.XXXXXX to /home/ such as /home/apc/apc.XXXXXX/ ?

Thanks.
You can set something like apc.mmap_file_mask=/home/apc/apc.XXXXXX and make sure file permission to /home/apc is set correctly.
Reply With Quote
  #3  
Old 12-13-2012, 07:36 PM
semprot semprot is offline
Member
 
Join Date: Apr 2012
Posts: 41
Quote:
Originally Posted by webizen View Post
You can set something like apc.mmap_file_mask=/home/apc/apc.XXXXXX and make sure file permission to /home/apc is set correctly.
thanks it works
__________________
I use litespeed
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:30 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.