chartnet
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Error “No valid sitemap parsed for crawler.”Hi @litetim,
Done some research. The issue layed indeed within another plugin called “Facebook pixel”.
The issue is now solved.Thanks for the help!
Forum: Plugins
In reply to: [LiteSpeed Cache] Error “No valid sitemap parsed for crawler.”Steps i did:
- Disable cache rest API
- Clear blocklist
- Refresh crawler sitemap
- Run Crawler
Result is the same. Same issue. All is again added to the blocklist: https://prnt.sc/VC-V3N0uSTaV
Forum: Plugins
In reply to: [LiteSpeed Cache] Error “No valid sitemap parsed for crawler.”Any updates @litetim ?
Forum: Plugins
In reply to: [LiteSpeed Cache] Multiple errors@litetim, without doing anything it seems to have fixed itself.. weird
Forum: Plugins
In reply to: [WooCommerce] Fatal error BlockPatterns.php:251Same here. Even downgrading doesn’t work…
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed generates a lot of disk spaceAwesome, cron seems to be the best way. My “wp-cron.php” is allready replaced by a real cronjob.
You have documentation on how to setup cronjob for the crawler? O do you mean setup the interval within the settings?
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed generates a lot of disk spaceRight. That would be a manual job wont it?
In the meantime i read about the interval (https://docs.litespeedtech.com/lscache/lscwp/crawler/#crawl-interval)
How often do you want to re-initiate the crawling process? This depends on how long it takes to crawl your site. The best way to figure this out is to run the crawler a couple of times and keep track of the elapsed time. Once you’ve got that amount, set Crawl Interval to slightly more than that. For example, if your crawler routinely takes 4 hours to complete a run, you could set the interval to 5 hours (or
18000seconds).Is it really recommend to keep the crawler running constantly? I can image this could be very stressful for a webshop?
Reason im mentioning it, is because it would fix the issue ofcourse since it would run constantly theres almost no moment without cache, maybe 3 hours weekly based..
Let me know whats your opinion on this.
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed generates a lot of disk space@qtwrk its a little late for that..
Could better try to clear 2880 first i think to see what the results where and keep narrowing it down. 720 clears it to 18M so that means within 12 hours theres not that much. I assume there wouldn’t be within 24 hours then and a week will last.
What i need to know is what is the effect of clearing the lscache folder. Is it really clearing cache and pages will be slower again? If so, does it mean when clearing i need to do a re-run with the crawlers to make sure everything is cached?
I want this to be as stable as possible for customers till i figured out the user-agents, etc.
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed generates a lot of disk space@qtwrk i still have the following question….
What should 720 actually be? Because 720 almost deleted everything in the folder.
I do not want people to see non-cached pages. So if i delete it every 7 days, shouldn’t the crawler run then every 7 days?
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed generates a lot of disk space@qtwrk terminals / SSH are not really my thing.. but here i am gratefull for ChatGPT.
Okay, so what happened. I logged in through SSH via the end-user. And actually got write access to the lscache folder.
I ran command:
[**************@s4 ~]$ echo "🧹 Deleting files older than 720 minutes in /lscache/"
find /home/**************/lscache/ -type f -mmin +720 -exec rm -f {} \;
echo "✅ Done cleaning"At first it was meantioned in “mtime” which is actually 720 days… i changed it to -mmin because you mentioned 720 minuts…
After running for a while io got it to 18M
Great!! But now… how do i get the cronjob running? This needs to be a weekly thing till i figured out what user-agents and query strings are causing this.
Any advice / help?
By the way. Great feedback to you. You are really quick in response all the time.
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed generates a lot of disk spaceDouble post
- This reply was modified 1 year, 1 month ago by chartnet.
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed generates a lot of disk space@qtwrk to be honest im not root. Im on a shared hosting… What now?
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed generates a lot of disk spaceI just added a cronjob:
LARGE_LSDIR="$(du --threshold=10G -sh /home/{username}/lscache/ | cut -f2-)"; for ls_path in $LARGE_LSDIR; do echo "Clean up $ls_path"; find $ls_path -type f -mtime +720 -exec rm -f {} \;; doneUsername is where i added the user. This is how it is set-up: https://prnt.sc/Qb_MR505V-9X
The cron has run as i get notified by email: https://prnt.sc/nD2Ff20gCL7ZThe file size is still way to big. See: https://prnt.sc/HF3vvwa_qlv8
Any other advice?
Forum: Plugins
In reply to: [LiteSpeed Cache] LiteSpeed generates a lot of disk space@qtwrk yea i had something like 10 GB in mind. What im not sure aboout is the amount of minutes, don’t know what to fill in because im not sure what the effect is. Is less more stressful? Like i dont know.
The server size is 20 because its a small shop. It can be increased of needed but i the site itself is less then 5 gb…
So i assume 10 GB is enough. Do you have proposal for time?
Forum: Plugins
In reply to: [LiteSpeed Cache] Error “No valid sitemap parsed for crawler.”No, you mentioned “Debug log” tab, not Crawler tab. I thought it was weird too, but i am just following orders lol.
So here again, but these logs are from “LiteSpeed > Toolbox > Log view > Crawler log”
Check: https://pastebin.ubuntu.com/p/Wmv7xVBmHk/