Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: FSVS recovery giving me "Out of memory"

fsvs
Discussion topic

Back to topic list

Re: FSVS recovery giving me "Out of memory"

Author omarc
Full name Omar Carvajal
Date 2009-06-02 15:03:18 PDT
Message Philipp,

Here is the information you asked for:

Top:

top - 17:05:32 up 8:37, 5 users, load average: 1.64, 1.66, 1.57
Tasks: 1 total, 0 running, 0 sleeping, 1 stopped, 0 zombie
Cpu(s): 20.9%us, 9.5%sy, 0.0%ni, 61.5%id, 8.1%wa, 0.0%hi,
0.0%si, 0.0%st
Mem: 3794324k total, 3772708k used, 21616k free, 23992k buffers
Swap: 2104472k total, 952496k used, 1151976k free, 717268k cached

   PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
  7544 root 20 0 4607m 2.7g 1928 T 16 74.6 14:18.54 fsvs


top - 17:05:33 up 8:37, 5 users, load average: 1.64, 1.66, 1.57
Tasks: 0 total, 0 running, 0 sleeping, 0 stopped, 0 zombie
Cpu(s): 5.4%us, 9.2%sy, 0.0%ni, 60.3%id, 25.1%wa, 0.0%hi,
0.0%si, 0.0%st
Mem: 3794324k total, 931324k used, 2863000k free, 24096k buffers
Swap: 2104472k total, 54604k used, 2049868k free, 721268k cached

   PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND


strace:

17:05:32.636030 write(1, "17:05:32.636 cs___update_manber["..., 78) = 78
17:05:32.636126 read(7, "\303]7=D\325\202+E\332\260%N
\241i3\320\203\2​33c\377ki\32z\26~​\274d\0\367L"...,​ 4096) = 4096
17:05:32.636215 read(7, "\333\331}W\35sC\3\251\371d
\365\16\3070\366​\270\17:\322\242​\350qh'l\25\244U​301\36;"..., 4096) =
4096
17:05:32.636362 read(7, "MU\334q*\271\232​\337J/\27'\263\3​0\351Q\260
\1\vl\261\t\371​J\355\36qJ\301\3​05\213"..., 4096) = 4096
17:05:32.636456 read(7, "\24t.\241\212\3​01:\323\17}K\227​257kLK
\313\274\356\235​\313L\325\344\35​0z\16{x*\320\26".​.., 4096) = 4096
17:05:32.641653 write(6, "03084 NHHILLSBOROUGH "...,
102400) = 102400
17:05:32.642166 stat("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=3519, ...}) = 0
17:05:32.642313 write(1, "17:05:32.642 cs___update_manber["..., 78) = 78
17:05:32.646103 stat("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=3519, ...}) = 0
17:05:32.646250 write(1, "17:05:32.646 cs___end_of_block[c"..., 96) = 96
17:05:32.646335 stat("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=3519, ...}) = 0
17:05:32.646456 write(1, "17:05:32.646 cs___update_manber["..., 78) = 78
17:05:32.646548 read(7, "\275!9s\377/(\253=\342\341j
\216\242\26\226​272\362\375\303s​\16$\353\252*\3​60\374b
\344\332\322"..., 4096) = 4096
17:05:32.646639 read(7, ":\342Fm\207\275​24bP\343\247\35​271K
\376\215\31\251U​\374\244\307G{\3​41\234U\246j~:\32​"..., 4096) = 4096
17:05:32.646723 read(7, "s\21\302G\\\22​1so\265\311Q\235​211+
\262\273\2732\32​1\213V\254r\0\32​0\374\fX2\0(\331​"..., 4096) = 4096
17:05:32.646806 read(7, "\315\264\241\23​0`\300e\313\2345.​?\21\"!
\310\22\372\235​v\310cE\355Bpq\2​76Od\262\233"..., 4096) = 4096
17:05:32.652193 write(6, "22558 VAWESTMORELAND "...,
102400) = 102400
17:05:32.652686 stat("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=3519, ...}) = 0
17:05:32.652822 write(1, "17:05:32.653 cs___update_manber["..., 78) = 78
17:05:32.656984 stat("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=3519, ...}) = 0
17:05:32.657161 write(1, "17:05:32.657 cs___end_of_block[c"..., 96) = 96
17:05:32.657250 stat("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=3519, ...}) = 0
17:05:32.657369 write(1, "17:05:32.657 cs___update_manber["..., 78) = 78
17:05:32.657470 read(7, "dx\333\335\376g​>\205\321\334\​333d
\317\246\371\211​\5\7\302\271\37​&\f\232kj(lI+​245y"..., 4096) = 4096
17:05:32.657570 read(7, "\30xz\304\4~p\30<\374\t
\3645]\262\217\2​0\23\325Y\352'n\​17\337\205i\206le​h\10"..., 4096) = 4096
17:05:32.657786 read(7, "\360\303\217\23​1u3\335B\277n&​\257\264\217\220​?
$\32\336\5\352p\34r> \16Z\313\3202^"..., 4096) = 4096
17:05:32.657885 read(7, "\7r\6\275\332\​322\n\216\202;\2​1O\324\210\247C
\2\312\330\254m​375\\\30\351\7​f\205w\267\275\3​41"..., 4096) = 4096
17:05:32.658997 mmap(NULL, 143360, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
17:05:32.729173 brk(0x3d811000) = 0x3d7ef000
17:05:32.729253 mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
17:05:32.729329 mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|
MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
17:05:32.729398 mmap(NULL, 67108864, PROT_NONE, MAP_PRIVATE|
MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
17:05:32.729463 mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|
MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
17:05:32.729526 mmap(NULL, 67108864, PROT_NONE, MAP_PRIVATE|
MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
17:05:32.822693 write(1, "Out of memory - terminating appl"..., 41) = 41
17:05:32.822829 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
17:05:32.822927 tgkill(7544, 7544, SIGABRT) = 0
17:05:32.823075 --- SIGABRT (Aborted) @ 0 (0) ---
Process 7544 detached


FSVS version is 1.1.17, Subversion is 1.6.2.

Let me know if you need any other information.

Thanks for your quick response!

Omar


On Jun 2, 2009, at 3:37 AM, Philipp Marek wrote:

> Hello Omar!
>
>> I am trying to recover data from a backup I made to an external
>> hard drive using FSVS.
>>
>> I am issuing the command "fsvs checkout -d . file:///home/disk02/​repository/trunk/u
>> " and
>> I get the following message:
> ...
>> 17:01:00.257 cs___update_manber[c​hecksum.c:684] block continues
>> after 1433600.
>> Out of memory - terminating application.
>>
>> I am doing this on an openSuse 11.1 linux box with a 64 bit
>> processor, 4 gb of ram.
>>
>> What could I be doing wrong?
> I don't think that you are doing anything wrong. The machine is
> certainly big enough
> this usage.
>
> Could you please run that command, and while it's running go to
> another console and run
> top -b -d 1 -p `pidof fsvs`
> to get some information about the memory usage?
>
> If you've got a third shell, you might also do
> strace -tt -p <pid of fsvs>
> and send me the last few lines.
>
> What version of FSVS and subversion are you using?
>
>
> If it's a problem needing a fast solution, you could try to checkout
> the various
> directories - so eg. "bin", "etc", "sbin", "usr" etc. instead of
> "/"; the clean up the
> wrong working copies, and do a "sync-repos" ... but I wouldn't
> advise that, it's too
> much work. And your checkout should simply work!
>
> It's possible that this is an easy bug, and you might get a patch
> soon ...
>
>
> Regards,
>
> Phil
>
> --
> Versioning your /etc, /home or even your whole installation?
> Try fsvs (fsvs.tigris.org)!
>

« Previous message in topic | 3 of 10 | Next message in topic »

Messages

Show all messages in topic

FSVS recovery giving me "Out of memory" omarc Omar Carvajal 2009-06-01 14:51:27 PDT
     Re: FSVS recovery giving me "Out of memory" pmarek P.Marek 2009-06-02 00:37:54 PDT
         Re: FSVS recovery giving me "Out of memory" omarc Omar Carvajal 2009-06-02 15:03:18 PDT
             Re: FSVS recovery giving me "Out of memory" pmarek P.Marek 2009-06-02 23:43:34 PDT
                 Re: FSVS recovery giving me "Out of memory" pmarek P.Marek 2009-06-03 00:50:21 PDT
                     Re: FSVS recovery giving me "Out of memory" pmarek P.Marek 2009-06-03 23:14:44 PDT
                     Re: FSVS recovery giving me "Out of memory" omarc Omar Carvajal 2009-06-04 06:04:01 PDT
                         Re: FSVS recovery giving me "Out of memory" pmarek P.Marek 2009-06-04 06:58:25 PDT
                             Re: FSVS recovery giving me "Out of memory" omarc Omar Carvajal 2009-06-04 09:27:10 PDT
                                 Re: FSVS recovery giving me "Out of memory" pmarek P.Marek 2009-06-04 09:42:01 PDT
Messages per page: