Swap Folder Cleanup

mistwang

LiteSpeed Staff
#21
How about run the command with "-delete" from command line as nobody user? LSWS change UID to nobody or the user that lshttpd run as before execute the shell script. I wonder if it is a permission problem.
 

ffeingol

Well-Known Member
#22
The files are all owned by nobody (which is what I would expect). I'm going to leave it run tonight with the -x in place and the stdout log turned on. If it was a permissions issue I'd expect those messages to show up in the stdout log?
 

ffeingol

Well-Known Member
#23
How about run the command with "-delete" from command line as nobody user? LSWS change UID to nobody or the user that lshttpd run as before execute the shell script. I wonder if it is a permission problem.
Any suggestions on how to do this from command line?
 

ffeingol

Well-Known Member
#27
It looks like the cleancache.sh script has been totally removed from the latest builds of LSWS? We're still having issues with lots of files building up in the cache dir. This is especially a problem on VPS's where the tmp folder is pretty small (relative to a physical server).
 
Top