PDA

View Full Version : Discrepancy among servers


extras
7-16-05, 01:07 PM
I noticed strange discrepancy among servers within the same cluster.

When I updated a few files in my /etc directory,
I noticed the size (and sometime timestamp) of the files are shown differently
on certain servers.

As we can see in the example below, thse files were modified more than ten minutes ago.
But depending on the server, it shows different size (the size before modification).

Sat Jul 16 08:59:51 PDT 2005
clust03-www01.powweb.com
55538183 -rwx------ 1 zzzzz customer 366 Jul 16 08:45 five.sh
5484577 -rwx------ 1 zzzzz customer 376 Jul 16 08:28 five.sh1

Sat Jul 16 09:00:01 PDT 2005
clust03-www05.powweb.com
55538183 -rwx------ 1 zzzzz customer 339 Jul 16 08:45 five.sh
5484577 -rwx------ 1 zzzzz customer 573 Jul 16 08:28 five.sh1

Sat Jul 16 09:00:29 PDT 2005
clust03-www04.powweb.com
55538183 -rwx------ 1 zzzzz customer 376 Jul 16 08:45 five.sh
5484577 -rwx------ 1 zzzzz customer 376 Jul 16 08:28 five.sh1


Thinking that it's a problem of only certain node, I copied the file and then modified again,
with the same result.
So far, it seems to happen only in /etc, but I haven't done lots of tests in other directory.

Anyone noticed similar problem?

EDIT:

It happens in other directory, too. (Maybe less often)
I wanted to know if it's just a problem of stat cache, but I don't know yet.

extras
7-16-05, 01:41 PM
Now, the problem seems to be gone. :)

extras
7-16-05, 02:02 PM
Oh, it's still there .....

Sat Jul 16 09:59:36 PDT 2005
clust03-www01.powweb.com
55538183 -rwx------ 1 zzzz customer 330 Jul 16 09:50 five.sh

Sat Jul 16 09:59:31 PDT 2005
clust03-www02.powweb.com
55538183 -rwx------ 1 zzzz customer 330 Jul 16 09:50 five.sh

Sat Jul 16 09:59:36 PDT 2005
clust03-www03.powweb.com
55538183 -rwx------ 1 zzzz customer 330 Jul 16 09:50 five.sh

Sat Jul 16 09:59:31 PDT 2005
clust03-www04.powweb.com
55538183 -rwx------ 1 zzzz customer 330 Jul 16 09:50 five.sh

Sat Jul 16 09:59:36 PDT 2005
clust03-www05.powweb.com
55538183 -rwx------ 1 zzzz customer 352 Jul 16 09:50 five.sh

extras
7-16-05, 02:20 PM
Well, I saw your post about .htaccess, and confirmed that there was a delay.

But this is something different.
As you can see, the time laps is far greater than simple propagation delay.
Actually, I don't think it's a delay, but some sort of cache error.

Also, I don't know yet if different version of files are served.
Possibly, just wrong size and time are reported because of nfs related stat cache error.