WebGUI
      Click here to register.
      
YAPC North America 2008


     Report a Bug > WebGUI Bug Tracker

Too many directories in RSS cache

User misja
Date 1/10/2007 4:54 am
Severity Minor (annoying, but not harmful)
Version WebGUI 7.2.3
Views 646
Rating -1    Rate [
|
]
Karma Rank 0.000000
Previous · Next
User Message
misja

RSS caching generates too many directories and doesn't remove them properly when they are no longer needed.

Every few months WebGUI adds over 32000 directories in /tmp/WebGUICache/RSS/ and will generate the following error (and this might slow down the server too):

Caught exception executing workflow activity pbwfactivity0000000012 for instance f6D8uYR
2VByfl1vfgYeO5g which reported mkdir /tmp/WebGUICache/RSS/JD6qYqAaXfZvmYE0X3+TPw: Too many links at /data/WebGUI/lib/WebGUI/Cache/FileCache.pm line 244

This happens on all our WG7 servers.

 



Back to Top
Rate [
|
]
 
 
JT
How many syndicated content assets do you have on your site? And how many URLs in each?


Back to Top
Rate [
|
]
 
 
misja

We have about 20 sites with all 1 syndicated content item (which is the default plainblack feed)

If it's not a real bug maybe you can point us to the file that is suppose to clean up the data in the /tmp/WebGUICache/RSS directory (WebGUI::Workflow::Activity::CleanFileCache only cleans the cache directory from the current website or not?)



Back to Top
Rate [
|
]
 
 
crythias
I think it would be a good idea to use a cron job to empty the RSS folder periodically.


--
Maintainer of an unofficial WebGUI FAQ Please contribute questions or answers!
When asking questions on this forum, please indicate (at least) which version of WebGUI you are using. Optional, but sometimes helpful, are your Operating System name and version, PERL version, and Apache version. The little icons next to my picture indicate my IM status. Yes, you are welcome to IM me. I am not an employee of Plain Black. My offers of assistance are subject to the general disclaimer of this discussion board that my answer may be completely wrong. Have a great day!

www.gwy.org Crythias' Skype status U2U crythias on #webgui on irc.freenode.net



Back to Top
Rate [
|
]
 
 
martink
On this one


Back to Top
Rate [
|
]
 
 
martink
Fixed in 7.3.16. The cleanup is now in the WebGUI::Workflow::Activity::CleanFileCache workflow activity.


Back to Top
Rate [
|
]