LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   PHP (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=19)
-   -   [solved] apc.mmap_file_mask path (http://www.litespeedtech.com/support/forum/showthread.php?t=6456)

semprot 12-13-2012 08:40 AM

[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/ ? :confused:

Thanks.

webizen 12-13-2012 04:49 PM

Quote:

Originally Posted by semprot (Post 39075)
...
Can i move my apc.mmap_file_mask from /tmp/apc.XXXXXX to /home/ such as /home/apc/apc.XXXXXX/ ? :confused:

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.

semprot 12-13-2012 07:36 PM

Quote:

Originally Posted by webizen (Post 39135)
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 :)


All times are GMT -7. The time now is 11:13 PM.