Skip to contentSkip to conversation

cifs leaks memory like crazy in 2.5.61

DISCUSSION Steven French 2 participants 2 messages Feb 20, 2003

lore
Share & tools
lore
#0 lore raw

Hadn't run into this - I had been focusing on the readahead and write page improvements (which have improved especially write performance spectacularly) and also have just fixed a problem with redundant lookups of directory inodes but had not been doing readdir (cifs Trans2FindFirst/Trans2FindNext) testing recently. I just did - and the situation looks worse than you describe and probably related to what you are running into. I found a readdir test case that hangs my post 2.5.62 system pretty fast and the last two unrelated cifs changesets don't fix it. The cifs readdir code needed some rework anyway - I will crawl through it today. Thanks for finding this.

Quoted 4 lines

kmem_cache_destroy: Can't free all objects e8eefd00 cifs_destroy_request_cache: error not all structures were freed

Is this a known problem?

Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: [email protected]

#1 lore raw
Quoted 5 lines · Steven French

Hadn't run into this - I had been focusing on the readahead and write page improvements (which have improved especially write performance spectacularly) and also have just fixed a problem with redundant lookups of directory inodes but had not been doing readdir (cifs Trans2FindFirst/Trans2FindNext) testing recently. I just did - and the

Well, here is a humble request to actually test your stuff, before adding more features!

Jeff