plainblack.com
Username Password
search
Bookmark and Share

    

Too many links in cache directory

User thosemoose
Date 5/22/2007 3:27 pm
Views 1417
Rating -5    Rate [
|
]
Previous · Next
User Message
thosemoose

Perusing through the logfile, I came across this error about 300 times over the last 2 days or so: 

2007/05/21 15:15:58 - ERROR - main::[[undef]] - Couldn't create cache folder: /tmp/WebGUICache/RSS/3PvZLGzS8wzRLx9jk75GEg : mkdir /tm
p/WebGUICache/RSS/3PvZLGzS8wzRLx9jk75GEg: Too many links at /data/WebGUI/lib/WebGUI/Cache/FileCache.pm line 244

I know (or at least think) this has to do with the max number of allowable hard (or soft, can't remember) links allowed on the file system.

Is this as simple as clearing the cache, then deleting some (or all?) of the  temp directories? Any ramifications there? It does seem as if the cache is  still being populated, by a quick check in the asset manager->cache. 

Also wondering why so many folders are being created in the RSS/ sub-directory. Only asset being used with RSS functionality, is a collaboration system used for site news, but I'm pretty sure this asset is accessed the least of any feature on the site.

Thoughts? 

--Eric--

--- (Edited on 5/22/2007 3:27 pm [GMT-0500] by thosemoose) ---



Back to Top
Rate [
|
]
 
 
bartjol

Hi,

What version of WebGUI do you use? And can you provide the line 244 that gives the error?

It can be that your're file system cannot handle the amount of inodes, but it doesn't seem too likely. What kind of server do you use? Can you have the inode density and can you calculate how many inodes should be free? 

Bart 

--- (Edited on 11/5/2007 2:39 pm [GMT+0100] by bartjol) ---



Back to Top
Rate [
|
]
 
 
baylink

> I know (or at least think) this has to do with the max number of allowable hard (or soft, can't remember) links allowed on the file system.

There shouldn't be a *practical* limit on the number of hardlinks on any modern filesystem, and there shouldn't be *any* limit on the number of softlinks.

I would posit that the directory already exists for some reason, when it's expected not to, and that specific error is not caught, when it should be.  Even root can't mkdir a directory that already exists, a trick which is often used in shellscripts as a root-safe, filesystem semaphore.

Do those directories already exist?  is it the same one every time? 

--- (Edited on 11/5/2007 8:15 am [GMT-0600] by baylink) ---



Back to Top
Rate [
|
]
 
 
    



© 2010 Plain Black Corporation | All Rights Reserved