View Single Post
  #10  
Old 04-28-2012, 06:54 AM
semprot semprot is offline
Member
 
Join Date: Apr 2012
Posts: 41
Quote:
Originally Posted by eva2000 View Post
why set ttl = 0 your memory usage will keep increasing, usually for APC i have something like

Code:
apc.ttl=7200
apc.user_ttl=3600
apc.gc_ttl = 600
never had any problems with Litespeed and LSPHP + APC

Of course make sure you aren't using LSPHP with phpSuExec for opcode cache use. I have a mysqlmymonlite.sh script to check for that http://mysqlmymon.com/#litespeedstats

Code:
phpSuExec = 0
Code:
------------------------------------------------
Litespeed Server & LSAPI PHP Info:
------------------------------------------------
Litespeed web server version: 4.1.12
WHM / Cpanel version: 11.32.2.25

LSPHP phpSuExec status: 
  < phpSuExec >0
  < phpSuExecMaxConn >20

WHM's PHP Handler config:
/usr/local/cpanel/bin/rebuild_phpconf --current

Available handlers: dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: dso
SUEXEC: enabled
RUID2: not installed

PHP 5.3.10 (litespeed) (built: Feb  7 2012 03:02:29)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
Actually before i set ttl to 0, my fragmentation is very very high. And i read solution to set ttl to 0. And it is fine.
However after everything is fine, i rebuild the php & litespeed for some reason.
Now everything is screwed, apc wont work properly.

I asked on stackoverflow but still no solution.

http://stackoverflow.com/questions/1...etimes-success
__________________
I use litespeed
Reply With Quote