* [Comm] M2.4 & cvs
@ 2005-03-14 13:38 Slava Garelin
2005-03-14 15:10 ` Dmitry V. Levin
0 siblings, 1 reply; 3+ messages in thread
From: Slava Garelin @ 2005-03-14 13:38 UTC (permalink / raw)
To: AltCommunity
Добрый день, коллеги.
У меня легкая проблема с использованием cvs - клиента.
При попытке извлечения или обновления определенного бинарника, валимся
по отсутствию памяти.
=======
cvs -t -d :pserver:cvs@localhost/var/cvs/cvsroot co
test/utils/expimp/nulldb/irrep.eximp -> main loop with
CVSROOT=:pserver:cvs@localhost/var/cvs/cvsroot -> safe_location(
where=(null) ) -> Connecting to localhost(127.0.0.1):2401
S-> my_module (test/utils/expimp/nulldb/irrep.eximp, Updating, , )
S-> my_module (test/utils/expimp/nulldb/irrep.eximp, Updating, , )
-> unlink_file(CVS/Tag)
S-> safe_location( where=(null) )
S-> Create_Admin (., test, /var/cvs/cvsroot/test, , , 0, 1, 1)
S-> unlink_file(./CVS/Tag)
S-> Parse_Info (/var/cvs/cvsroot/CVSROOT/rcsinfo, test, ALL)
S<- Create_Admin
S-> Create_Admin (., test/utils, /var/cvs/cvsroot/test/utils, , , 0,
1, 1) S-> unlink_file(./CVS/Tag)
-> unlink_file(CVS/Tag)
S-> Parse_Info (/var/cvs/cvsroot/CVSROOT/rcsinfo, test/utils, ALL)
S<- Create_Admin
S-> Create_Admin (., test/utils/expimp,
/var/cvs/cvsroot/test/utils/expimp, ,
, 0, 1, 1) S-> unlink_file(./CVS/Tag)
-> unlink_file(CVS/Tag)
S-> Parse_Info (/var/cvs/cvsroot/CVSROOT/rcsinfo, test/utils/expimp,
ALL) S<- Create_Admin
S-> Create_Admin (., test/utils/expimp/nulldb,
/var/cvs/cvsroot/test/utils/expimp/nulldb, , , 0, 0, 1) S->
unlink_file(./CVS/Tag) -> unlink_file(CVS/Tag)
S-> Parse_Info (/var/cvs/cvsroot/CVSROOT/rcsinfo,
test/utils/expimp/nulldb, ALL )
S<- Create_Admin S-> server_register(irrep.eximp, 1.1.1.1, Initial
irrep.eximp, -kb, , , ) S-> Register(irrep.eximp, 1.1.1.1, Initial
irrep.eximp, -kb, ) S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
S-> fopen(/var/cvs/cvsroot/CVSROOT/history,a)
S-> Reader_Lock(/var/cvs/cvsroot/test/utils/expimp/nulldb)
S-> RCS_checkout
(/var/cvs/cvsroot/test/utils/expimp/nulldb/irrep.eximp,v, 1.1.
1.1, , -kb, (function)) cvs [checkout
aborted]: cannot allocate 5802586 bytes: out of memory S->
Lock_Cleanup() -> Lock_Cleanup()
============
ls -l irrep.eximp,v
-r--r--r-- 1 cvs cvs 5804076 Mar 14 10:12 irrep.eximp,v
wc irrep.eximp,v
18146 103557 5804076 irrep.eximp,v
file irrep.eximp,v
irrep.eximp,v: data
Что любопытно, local или ssh-ный ext типы доступа к репозитарию
подобными эксцессами не обременены...
Не подскажете-ли, в какую сорону копать?
(если тянуть с Альтового pserver-а wincvs-ом, валится с отсутствием
виртуальной памяти сам pserver-ный врап).
--
Slava Garelin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] M2.4 & cvs
2005-03-14 13:38 [Comm] M2.4 & cvs Slava Garelin
@ 2005-03-14 15:10 ` Dmitry V. Levin
2005-03-15 9:18 ` Slava Garelin
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2005-03-14 15:10 UTC (permalink / raw)
To: ALT Linux general discussion list
[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]
Hi,
On Mon, Mar 14, 2005 at 03:38:40PM +0200, Slava Garelin wrote:
> У меня легкая проблема с использованием cvs - клиента.
> При попытке извлечения или обновления определенного бинарника, валимся
> по отсутствию памяти.
>[...]
> cvs -t -d :pserver:cvs@localhost/var/cvs/cvsroot co
> test/utils/expimp/nulldb/irrep.eximp -> main loop with
> CVSROOT=:pserver:cvs@localhost/var/cvs/cvsroot -> safe_location(
> where=(null) ) -> Connecting to localhost(127.0.0.1):2401
>[...]
> S-> RCS_checkout
> (/var/cvs/cvsroot/test/utils/expimp/nulldb/irrep.eximp,v, 1.1.
> 1.1, , -kb, (function)) cvs [checkout
> aborted]: cannot allocate 5802586 bytes: out of memory S->
> Lock_Cleanup() -> Lock_Cleanup()
>
> ============
>
> ls -l irrep.eximp,v
> -r--r--r-- 1 cvs cvs 5804076 Mar 14 10:12 irrep.eximp,v
>
> wc irrep.eximp,v
> 18146 103557 5804076 irrep.eximp,v
>
> file irrep.eximp,v
> irrep.eximp,v: data
>
> Что любопытно, local или ssh-ный ext типы доступа к репозитарию
> подобными эксцессами не обременены...
>
> Не подскажете-ли, в какую сорону копать?
В сторону rlimit_as в файле /etc/xinetd.d/cvs
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] M2.4 & cvs
2005-03-14 15:10 ` Dmitry V. Levin
@ 2005-03-15 9:18 ` Slava Garelin
0 siblings, 0 replies; 3+ messages in thread
From: Slava Garelin @ 2005-03-15 9:18 UTC (permalink / raw)
To: community
On Mon, 14 Mar 2005 18:10:39 +0300
"Dmitry V. Levin" <ldv@altlinux.org> wrote:
> В сторону rlimit_as в файле /etc/xinetd.d/cvs
Дмитрий, спасибо большое, Вы мне очень помогли!
( из перерытого в сети выяснил, что для обработки файла cvs потребляет
памяти с коэффициентом 3+ от длины файла, соответственно вот этот
5804076 - байтный файл как-раз и выходил за предустанолвленное в
/etc/xinetd.d/cvs ограничение в 16 М )
--
Slava Garelin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-15 9:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-14 13:38 [Comm] M2.4 & cvs Slava Garelin
2005-03-14 15:10 ` Dmitry V. Levin
2005-03-15 9:18 ` Slava Garelin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git