[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

ISSUE: "To many open files" not being logged by master server when sync fails.

From: Kenneth Miles <kmiles_at_voyagergaming.com>
Date: Thu, 03 May 2012 11:51:15 +1000

NOTE: "master server" is synced repository r0 property
svn:sync-from-url and URL is svn://voyager-svn:3691/egm/QLD-Releases

I was attempting a svnsync when the master server instance returned a
"abort-edit" because there was to many open files. The stack trace
below is from the master server instance. File limit was 1024 files in
ubuntu and ubuntu by default does not log the pam_limits failures. It is
my suggestion to log this error to syslog or to the svn log because it
took me 3 days to fix this issue even though it was very simple to overcome.

subversion source:
http://subversion.tigris.org/downloads/subversion-1.6.18.tar.gz

#0 svn_io_file_open (new_file=0xb7a366fc, fname=0x8559d78
"/tmp/work/svn/egm/db/revs/8/8840", flag=129, perm=4095, pool=0x85585e8)
at subversion/libsvn_subr/io.c:2966
#1 0x08077d6c in open_pack_or_rev_file (file=0xb7a366fc, fs=0x81307d8,
rev=8840, pool=0x85585e8) at subversion/libsvn_fs_fs/fs_fs.c:1779
#2 0x0807814b in open_and_seek_revision (file=0xb7a3673c, fs=0x81307d8,
rev=8840, offset=3092516, pool=0x85585e8) at
subversion/libsvn_fs_fs/fs_fs.c:1867
#3 0x080788dd in get_node_revision_body (noderev_p=0xb7a3679c,
fs=0x81307d8, id=0x8559d18, pool=0x85585e8) at
subversion/libsvn_fs_fs/fs_fs.c:2034
#4 0x080790b5 in svn_fs_fs__get_node_revision (noderev_p=0xb7a3679c,
fs=0x81307d8, id=0x8559d18, pool=0x85585e8) at
subversion/libsvn_fs_fs/fs_fs.c:2201
#5 0x08093a32 in get_node_revision (noderev_p=0xb7a367c8,
node=0x8559d00, pool=0x85585e8) at subversion/libsvn_fs_fs/dag.c:153
#6 0x08093b0f in svn_fs_fs__dag_get_node (node=0xb7a36854,
fs=0x81307d8, id=0x8559cd0, pool=0x85585e8) at
subversion/libsvn_fs_fs/dag.c:185
#7 0x080961d1 in svn_fs_fs__dag_open (child_p=0xb7a36854,
parent=0x85599b0, name=0x8559bb0 "Symbol_Donkey_Pinata_31.png",
pool=0x85585e8) at subversion/libsvn_fs_fs/dag.c:1213
#8 0x0808bcbd in open_path (parent_path_p=0xb7a368bc, root=0x8164f58,
path=0x85586a0
"/QLD-Releases/submission-120430--LOA__QLD__1_0_1/assets/game/Jackpot_Pinatas_Gold/common/png/Symbol_Donkey_Pinata_31.png",
flags=0, txn_id=0x0, pool=0x85585e8) at subversion/libsvn_fs_fs/tree.c:641
#9 0x0808c4d4 in get_dag (dag_node_p=0xb7a368e8, root=0x8164f58,
path=0x85586a0
"/QLD-Releases/submission-120430--LOA__QLD__1_0_1/assets/game/Jackpot_Pinatas_Gold/common/png/Symbol_Donkey_Pinata_31.png",
pool=0x85585e8) at subversion/libsvn_fs_fs/tree.c:821
#10 0x0808c96b in fs_node_proplist (table_p=0xb7a369dc, root=0x8164f58,
path=0x8558628
"QLD-Releases/submission-120430--LOA__QLD__1_0_1/assets/game/Jackpot_Pinatas_Gold/common/png/Symbol_Donkey_Pinata_31.png",
pool=0x85585e8) at subversion/libsvn_fs_fs/tree.c:1006
#11 0x08072bec in svn_fs_node_proplist (table_p=0xb7a369dc,
root=0x8164f58, path=0x8558628
"QLD-Releases/submission-120430--LOA__QLD__1_0_1/assets/game/Jackpot_Pinatas_Gold/common/png/Symbol_Donkey_Pinata_31.png",
pool=0x85585e8) at subversion/libsvn_fs/fs-loader.c:912
#12 0x080636fb in add_subdir (source_root=0x8176fa0,
target_root=0x8164f58, editor=0x8164288, edit_baton=0x81642c8,
path=0x8c6e8c8
"QLD-Releases/submission-120430--LOA__QLD__1_0_1/assets/game/Jackpot_Pinatas_Gold/common/png",
parent_baton=0x88e0908, source_path=0x8c6e928
"/branches/QLD-trunk-widescreen/assets/game/Jackpot_Pinatas_Gold/common/png",
authz_read_func=0x804ee62 <authz_check_access_cb>,
authz_read_baton=0xb7a37228, changed_paths=0x816a080, pool=0x8c6e888,
dir_baton=0xb7a36a6c) at subversion/libsvn_repos/replay.c:294
#13 0x080635de in add_subdir (source_root=0x8176fa0,
target_root=0x8164f58, editor=0x8164288, edit_baton=0x81642c8,
path=0x88e07e0
"QLD-Releases/submission-120430--LOA__QLD__1_0_1/assets/game/Jackpot_Pinatas_Gold/common",
parent_baton=0x8193128, source_path=0x88e0838
"/branches/QLD-trunk-widescreen/assets/game/Jackpot_Pinatas_Gold/common", authz_read_func=0x804ee62
<authz_check_access_cb>, authz_read_baton=0xb7a37228,
changed_paths=0x816a080, pool=0x88e07a0, dir_baton=0xb7a36b4c) at
subversion/libsvn_repos/replay.c:275
#14 0x080635de in add_subdir (source_root=0x8176fa0,
target_root=0x8164f58, editor=0x8164288, edit_baton=0x81642c8,
path=0x8193010
"QLD-Releases/submission-120430--LOA__QLD__1_0_1/assets/game/Jackpot_Pinatas_Gold",
parent_baton=0x81910e0, source_path=0x8193068
"/branches/QLD-trunk-widescreen/assets/game/Jackpot_Pinatas_Gold",
authz_read_func=0x804ee62 <authz_check_access_cb>,
authz_read_baton=0xb7a37228, changed_paths=0x816a080, pool=0x8192fd0,
dir_baton=0xb7a36c2c) at subversion/libsvn_repos/replay.c:275
#15 0x080635de in add_subdir (source_root=0x8176fa0,
target_root=0x8164f58, editor=0x8164288, edit_baton=0x81642c8,
path=0x8191008
"QLD-Releases/submission-120430--LOA__QLD__1_0_1/assets/game",
parent_baton=0x8179070, source_path=0x8191048
"/branches/QLD-trunk-widescreen/assets/game", authz_read_func=0x804ee62
<authz_check_access_cb>, authz_read_baton=0xb7a37228,
changed_paths=0x816a080, pool=0x8190fc8, dir_baton=0xb7a36d0c) at
subversion/libsvn_repos/replay.c:275
#16 0x080635de in add_subdir (source_root=0x8176fa0,
target_root=0x8164f58, editor=0x8164288, edit_baton=0x81642c8,
path=0x8178fa8 "QLD-Releases/submission-120430--LOA__QLD__1_0_1/assets",
parent_baton=0x8176928, source_path=0x8178fe0
"/branches/QLD-trunk-widescreen/assets", authz_read_func=0x804ee62
<authz_check_access_cb>, authz_read_baton=0xb7a37228,
changed_paths=0x816a080, pool=0x8178f68, dir_baton=0xb7a36dec) at
subversion/libsvn_repos/replay.c:275
#17 0x080635de in add_subdir (source_root=0x8176fa0,
target_root=0x8164f58, editor=0x8164288, edit_baton=0x81642c8,
path=0x816a011 "QLD-Releases/submission-120430--LOA__QLD__1_0_1",
parent_baton=0x8172fd0, source_path=0x8169ff0
"/branches/QLD-trunk-widescreen", authz_read_func=0x804ee62
<authz_check_access_cb>, authz_read_baton=0xb7a37228,
changed_paths=0x816a080, pool=0x8174f58, dir_baton=0xb7a36fec) at
subversion/libsvn_repos/replay.c:275
#18 0x08063f7a in path_driver_cb_func (dir_baton=0xb7a36fec,
parent_baton=0x8172fd0, callback_baton=0xb7a37030, path=0x816a011
"QLD-Releases/submission-120430--LOA__QLD__1_0_1", pool=0x8174f58) at
subversion/libsvn_repos/replay.c:480
#19 0x080bd073 in svn_delta_path_driver (editor=0x8164288,
edit_baton=0x81642c8, revision=-1, paths=0x816a060,
callback_func=0x8063ab8 <path_driver_cb_func>,
callback_baton=0xb7a37030, pool=0x815cef8) at
subversion/libsvn_delta/path_driver.c:245
#20 0x08064eaf in svn_repos_replay2 (root=0x8164f58, base_path=0x813f241
"QLD-Releases", low_water_mark=0, send_deltas=1, editor=0x8164288,
edit_baton=0x81642c8, authz_read_func=0x804ee62 <authz_check_access_cb>,
authz_read_baton=0xb7a37228, pool=0x815cef8) at
subversion/libsvn_repos/replay.c:806
#21 0x080577d7 in replay_one_revision (conn=0x812a6b8, b=0xb7a37228,
rev=11068, low_water_mark=0, send_deltas=1, pool=0x815cef8) at
subversion/svnserve/serve.c:2634
#22 0x08057c62 in replay_range (conn=0x812a6b8, pool=0x815aef0,
params=0x815afb8, baton=0xb7a37228) at subversion/svnserve/serve.c:2694
#23 0x080f3619 in svn_ra_svn_handle_commands2 (conn=0x812a6b8,
pool=0x81286b0, commands=0x80f5820, baton=0xb7a37228,
error_on_disconnect=0) at subversion/libsvn_ra_svn/marshal.c:958
#24 0x08058d5c in serve (conn=0x812a6b8, params=0xbffff1e0,
pool=0x81286b0) at subversion/svnserve/serve.c:3074
#25 0x0804cd43 in serve_thread (tid=0x812c7d0, data=0x812c7c0) at
subversion/svnserve/main.c:305
#26 0xb7d741e1 in ?? () from /usr/lib/libapr-1.so.0
#27 0xb7cfa96e in start_thread (arg=0xb7a37b70) at pthread_create.c:300
#28 0xb7c64a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thanks,

-- 
Kenneth Miles
(Software Engineer)
Voyager Gaming Technologies
Ph: +61 7 3482 9124
Mobile: 0407178204
20 Duntroon Street
Brendale Qld 4500
Received on 2012-05-03 04:29:45 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.