RE: [PHP] stripping white space?
| From: | Chadwick, Russell | Date: | Tue, 10 Jul 2001 20:32:54 +0000 |
| Subject: | RE: [PHP] stripping white space? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-57237@lists.php.net to get a copy of this message | ||
there is a limit of # of root entries. But the number of files per directory
is much higher. Running RH6.2 I tried this test: I have an SGI xfs
partition that does billion of entries per directory, like reiser, but for
an ext2 partition this perl script is for testing
for ($index = 1; $index <= 2097153; $index++) {
open (OUT, "> file_$index.txt");
print OUT "Test\n";
close (OUT);
}
after letting it run 4 hours :) it seems to stop at 811626 where I run out
of disk space :)
oh well
-----Original Message-----
From: Christian Reiniger [mailto:creinig@mayn.de]
Sent: Tuesday, July 10, 2001 9:52 AM
To: Maxim Maletsky; 'Bart Veldhuizen'; php-general@lists.php.net
Subject: Re: [PHP] stripping white space?
On Tuesday 10 July 2001 11:26, Maxim Maletsky wrote:
> But you're right, on UNIX systems, if I am not wrong, you cannot hold
> more then 1024 (?) files in a single directory.
AFAIK there's no limit (and certainly not 1024 files), but with most
filesystems accesses on large directories are painfully slow. FSs such as
ReiserFS however don't slow down noticeably on large directories...
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
I sat laughing snidely into my notebook until they showed me a PC running
Linux. And oh! It was as though the heavens opened and God handed down a
client-side OS so beautiful, so graceful, and so elegant that a million
Microsoft developers couldn't have invented it even if they had a hundred
years and a thousand crates of Jolt cola.
- LAN Times
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net