Random files seem to be generated

49 views
Skip to first unread message

scott stone

unread,
Sep 9, 2013, 10:25:16 PM9/9/13
to optimus-c...@googlegroups.com
Hello, Thanks for a great piece of code.  It keeps my site lightning fast!

I am hoping that this group is still being monitored, fingers crossed.  :)

I am not sure if this is caused by OPC or not, but I am having files piling up in my root directory [root@vps ~]#  and in [root@vps admin]# home directory.

index.html?sm_command=build&sm_key=754bdb5b9a9adc9fc88ed1f76baadeb1.9 are in the admin home directory [root@vps admin]# 

index.html.1 are in the root directory [root@vps ~]#

I have the following cron set up for the "admin" user to run every 20 minutes.

/warm-pagecache/ocp/ocp -c 6 -l /var/www/vhosts/example.com/httpdocs/wp-content/cache/page_enhanced -ls _index.html /var/www/vhosts/example.com/httpdocs/sitemap.xml

Do you have any ideas on this?  This appears to be just a nuisance issue and not service affecting because I can delete them without anything being affected.

Thanks for your help in this matter

Patrick Mylund Nielsen

unread,
Sep 9, 2013, 10:36:17 PM9/9/13
to optimus-c...@googlegroups.com
Hi Scott, good to hear!

The only thing OCP does to the file system is get information about cached page files that may or may not exist, so it shouldn't be the culprit. However, it's possible that, when OCP visits the pages in the sitemap, the application powering your site creates the files.

Try making a folder "test", cd'ing into it, then running OCP. If you see the files popping up in the "test" folder, something is happening related to OCP. If not, my bet is on the caching plugin used by the site.

"strace" is a good command to use on a process, e.g. OCP, to see if it actually is creating the files. If it is, you'll see the relevant system calls in the output from "strace ocp <normal parameters>".

scott stone

unread,
Sep 9, 2013, 11:37:40 PM9/9/13
to optimus-c...@googlegroups.com

Thanks for the quick reply.

Oh wow that was such a rookie mistake!  I created a workaround for W3TC garbage collection issue a long time ago and that seem to be the issue.  

Another question...  

What would cause the following error?  I get several of these a day on random pages.  When I check them, the pages truly exist. 

2013/09/09 16:00:03 Error priming http://www.example.com/forms/registration/: Get http://www.example.com/forms/registration/: unexpected EOF
  


Patrick Mylund Nielsen

unread,
Dec 28, 2014, 8:22:01 AM12/28/14
to optimus-c...@googlegroups.com
My apologies for the late reply. Could you please check to see if it happens with the latest build, 2.7, available on https://patrickmn.com/projects/ocp/ ? There were several odd issues that seem to have been resolved by using the latest version of Go. 
Reply all
Reply to author
Forward
0 new messages