bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problem with large file checkout


From: Villalovos, John L
Subject: RE: Problem with large file checkout
Date: Tue, 21 Aug 2001 14:48:15 -0700

Enclosed please find a diff of how I fixed the problem.  I am not sure why
the write system call isn't writing the 85 Megabyte file at once but it
isn't on my system.  This patch fixed it so that it worked on my system.

That does bring up a more important point though.  Why are we reading the
entire file into memory before writing it to disk.

Wouldn't it be smarter to read the file across the network and write the
pieces as we get them?

It seems like for a large files it is quite a load on the VM system to have
to handle large hunks of memory when they aren't really needed.

Later,
John

John Villalovos
Intel Corporation 
15220 NW GREENBRIER PKWY - CO5-162
BEAVERTON, OR  97006-5762
(503) 677-5777   Fax: (503) 677-6670

GPG 1.+/PGP 5.+/ DSS/Diffie Helman
http://www.sodarock.com/JohnVillalovos-gpgkey.txt
1024D/1A25D86C 2F24 AD89 E5D5 C92B 7FE2  F878 7ED5 2D38 1A25 D86C


-----Original Message-----
From: Villalovos, John L [mailto:address@hidden
Sent: Monday, August 20, 2001 2:10 PM
To: address@hidden
Subject: Problem with large file checkout


Client & Server System:
        Red Hat 7.1
        cvs-1.11-3.i386.rpm (from RH 7.1)

I have a tar ball that is around 83 Megabytes in size.

When checking out locally via CVS everything works fine.

When attempting to check it out via CVS via either a pserver or ext (using
ssh) method I consistently get the following error:

# cvs co jails
cvs server: Updating jails
cvs [checkout aborted]: writing jails/rh-71.tar.gz: No such file or
directory

Left over will be a file called jails/.new.rh-71.tar.gz that is around 2MB
in size.

I also did a:

# cvs -t co jails
cvs checkout: notice: main loop with
CVSROOT=:pserver:address@hidden:/home/cvs
S-> do_module (jails, Updating, , )
 -> rename(CVS/Entries.Backup,CVS/Entries)
 -> unlink(CVS/Entries.Log)
 -> rename(CVS/Entries.Backup,CVS/Entries)
 -> unlink(CVS/Entries.Log)
? jails/.new.rh-71.tar
S-> do_module (jails, Updating, , )
S-> fopen(/home/cvs/CVSROOT/history,a)
S-> unlink(./CVS/Entries.Static)
 -> unlink(CVS/Entries.Static)
cvs server: Updating jails
S-> checkout (/home/cvs/jails/rh-71.tar.gz,v, 1.1, -kb, (function))
S-> server_register(rh-71.tar.gz, 1.1, , -kb, , , )
S-> Register(rh-71.tar.gz, 1.1, , -kb,  )
cvs [checkout aborted]: writing jails/rh-71.tar.gz: No such file or
directory


Some people are able to check out this file while other people are not able
to.

Is this a known issue?

Thanks for any info.  Also if there is a better mailing list to send this to
please let me know.

John

John Villalovos
Intel Corporation 
15220 NW GREENBRIER PKWY - CO5-162
BEAVERTON, OR  97006-5762
(503) 677-5777   Fax: (503) 677-6670

GPG 1.+/PGP 5.+/ DSS/Diffie Helman
http://www.sodarock.com/JohnVillalovos-gpgkey.txt
1024D/1A25D86C 2F24 AD89 E5D5 C92B 7FE2  F878 7ED5 2D38 1A25 D86C

_______________________________________________
Bug-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-cvs

Attachment: client.c.diff.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]