Gossamer Forum
Home : Products : Others : Fileman :

Remove DiskUsage Checking

Quote Reply
Remove DiskUsage Checking
Hi. I have setup my webserver and Fileman and they are running great. The only problem is that i am using Fileman to browse my entire drive, so it takes almost forever to wait for fileman to load (It DOES load correctly). I think this is because fileman is checking my diskusage. How do I turn diskusage off?
Quote Reply
Re: [ckwhy] Remove DiskUsage Checking In reply to
Unfortunately, this is a built-in process, to override it, you would have to do the following:

1) Add a variable in the .cfg file:

$check_space = 0;

2) Then find the disk space check codes in fileman.cgi and add conditional statements around it:

Quote:

if ($check_space) {
CHECK SPACE CODES
}

========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: Remove DiskUsage Checking In reply to
Ok..now it doesnt check for diskusage...but it still takes a LONG time to load large directories...(ie., my entire drive)..is there something that i can do?
Quote Reply
Re: [ckwhy] Remove DiskUsage Checking In reply to
The problem is parsing large number of folders and files...and trying to get your complete drive to parse will consume a lot of CPU...

Another suggestion is breaking up the parsing of your data into individual folders and then list those folders...click on them...then you can see sub-folders/files.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [ckwhy] Remove DiskUsage Checking In reply to
Hi,

Look for sub checkspace and comment out:

&find ( sub { $size += -s }, $directory );

Cheers,

Alex
--
Gossamer Threads Inc.