Re: limits in directory size

Olaf Hering <[email protected]>
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
Fri, 19 Jan 2024 07:39:33 -0500 Greg Troxel <[email protected]>:

> Olaf Hering <[email protected]> writes:
> > I have not tried to do the same move on the destination side, nor have
> > I tried to tweak the stack, to get things going.  
> It really depends on what resource is being exhausted, heap vs stack, vs
> something els?  And whether this is hitting an OS limit or if there is
> some limit in the ocaml runtime.

After installing the debuginfo, it looks like a stack overflow. 
There are 285358 frames reported by gdb.
There were about ~35400 files inside the renamed directories.

The stacktrace looks like shown below.

The crash occurred during propagating the changes
It turned out: just running unison again, and syncing the same profile again, succeeded.
So from my side the issue is solved, just by running unsion one more time.

I might be able to reproduce it again, be renaming the two directories one more time.


Olaf

#0  caml_hash (count=<optimized out>, limit=<optimized out>, seed=<optimized out>, obj=15) at hash.c:196
#1  0x000055bdf7673810 in camlStdlib__Hashtbl__key_index_1273 () at hashtbl.ml:504
#2  0x000055bdf7673ac2 in camlStdlib__Hashtbl__find_1304 () at hashtbl.ml:538
#3  0x000055bdf75efcdc in camlAbort__errorCountCell_421 () at src/abort.ml:40
#4  0x000055bdf75eff98 in camlAbort__check_547 () at src/abort.ml:46
#5  0x000055bdf760aed2 in camlFiles__fun_4454 () at src/files.ml:665
#6  0x000055bdf7627853 in camlLwt_util__fun_607 () at src/lwt/lwt_util.ml:77
#7  0x000055bdf76262e3 in camlLwt__apply_356 () at src/lwt/lwt.ml:61
#8  0x000055bdf76277a2 in camlLwt_util__run_in_region_1_449 () at src/lwt/lwt.ml:95
#9  0x000055bdf76262e3 in camlLwt__apply_356 () at src/lwt/lwt.ml:61
#10 0x000055bdf76265fc in camlLwt__fun_547 () at src/lwt/lwt.ml:80
#11 0x000055bdf763eda0 in camlStdlib__List__iter_507 () at list.ml:110
#12 0x000055bdf76260ba in camlLwt__restart_281 () at src/lwt/lwt.ml:31
#13 0x000055bdf76276c7 in camlLwt_util__leave_region_443 () at src/lwt/lwt.ml:69
#14 0x000055bdf7627898 in camlLwt_util__fun_622 () at src/lwt/lwt_util.ml:78
...
#285323 0x000055bdf763eda0 in camlStdlib__List__iter_507 () at list.ml:110
#285324 0x000055bdf76260ba in camlLwt__restart_281 () at src/lwt/lwt.ml:31
#285325 0x000055bdf76276c7 in camlLwt_util__leave_region_443 () at src/lwt/lwt.ml:69
#285326 0x000055bdf7627898 in camlLwt_util__fun_622 () at src/lwt/lwt_util.ml:78
#285327 0x000055bdf76262e3 in camlLwt__apply_356 () at src/lwt/lwt.ml:61
#285328 0x000055bdf76265fc in camlLwt__fun_547 () at src/lwt/lwt.ml:80
#285329 0x000055bdf763eda0 in camlStdlib__List__iter_507 () at list.ml:110
#285330 0x000055bdf76260ba in camlLwt__restart_281 () at src/lwt/lwt.ml:31
#285331 0x000055bdf76276c7 in camlLwt_util__leave_region_443 () at src/lwt/lwt.ml:69
#285332 0x000055bdf7627898 in camlLwt_util__fun_622 () at src/lwt/lwt_util.ml:78
#285333 0x000055bdf76262e3 in camlLwt__apply_356 () at src/lwt/lwt.ml:61
#285334 0x000055bdf76265fc in camlLwt__fun_547 () at src/lwt/lwt.ml:80
#285335 0x000055bdf763eda0 in camlStdlib__List__iter_507 () at list.ml:110
#285336 0x000055bdf76260ba in camlLwt__restart_281 () at src/lwt/lwt.ml:31
#285337 0x000055bdf76276c7 in camlLwt_util__leave_region_443 () at src/lwt/lwt.ml:69
#285338 0x000055bdf7627898 in camlLwt_util__fun_622 () at src/lwt/lwt_util.ml:78
#285339 0x000055bdf76262e3 in camlLwt__apply_356 () at src/lwt/lwt.ml:61
#285340 0x000055bdf76265fc in camlLwt__fun_547 () at src/lwt/lwt.ml:80
#285341 0x000055bdf763eda0 in camlStdlib__List__iter_507 () at list.ml:110
#285342 0x000055bdf76260ba in camlLwt__restart_281 () at src/lwt/lwt.ml:31
#285343 0x000055bdf76276c7 in camlLwt_util__leave_region_443 () at src/lwt/lwt.ml:69
#285344 0x000055bdf76277e8 in camlLwt_util__fun_616 () at src/lwt/lwt_util.ml:77
#285345 0x000055bdf76262e3 in camlLwt__apply_356 () at src/lwt/lwt.ml:61
#285346 0x000055bdf76265fc in camlLwt__fun_547 () at src/lwt/lwt.ml:80
#285347 0x000055bdf763eda0 in camlStdlib__List__iter_507 () at list.ml:110
#285348 0x000055bdf76260ba in camlLwt__restart_281 () at src/lwt/lwt.ml:31
#285349 0x000055bdf7627da3 in camlLwt_unix_impl__restart_threads_621 () at src/lwt/lwt.ml:69
#285350 0x000055bdf762838c in camlLwt_unix_impl__run_715 () at src/lwt/generic/lwt_unix_impl.ml:125
#285351 0x000055bdf76140ae in camlUicommon__transportItems_1958 () at src/uicommon.ml:736
#285352 0x000055bdf74e2707 in camlDune__exe__Uigtk3__synchronize_8710 () at src/uigtk3.ml:3736
#285353 0x000055bdf74b4482 in camlDune__exe__Uigtk3__getLock_945 () at src/uigtk3.ml:138
#285354 0x000055bdf74f53d1 in camlGtkSignal__safe_call_inner_801 () at src/gtkSignal.ml:61
...

-- 
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE97o7Um30LT3B+5b/86SN7mm1DoAFAmWqdVwACgkQ86SN7mm1
DoDecg/+IIJkJ+9EJeRBHXd1gu0hsoz+zmMaTqFSUTYvlQA+zpQNtjvX3VMBxI2x
tw8M5aXIjv8yTjjGGDXDgXcjPM/F32bmLKc4yhI8CobmvPKSq3BSo5pFqxTOeWeQ
P47/uiTffpZoA4CSsDvWZflfNML+mvCfBZbwzSHgEMO5t2J3PBAZfSaRlf0eyRZ6
YKfjceJUeA4caPfokAxQmMZuAqjQLWT12cWUjGq3PIvqAP+kaNF6BBasEgF6gdHj
njT8o1pO7MeEnrSk/KWTu5/xA+YR+8eSQwAwiNhp6Hf3F1/S7WooOJkHizEI7Xsd
w/7okOTQ9kqAItV/wOIgnghrVtr8nwL2Y7zupqcvGOMoWBI8TsoTn0sUisRBiv/M
HcFSRUryKrx8hW0BOz6BS1cdwaxiSrTy3625XHbpZKqg8JyVHVxjBpHG+CKOqodx
AUTlHiJB2q+LHyoK1ZJWuLsKjRVCFXCMgESVxxmZZlED5VjvjPE8QanrvqrqSj5H
v1aVgQwW5tp8A/4+X9ysD4SjI8fDG+ivBtAYGfegAzhUduwxAIOgKIUy/kRQWP59
3LOEeBuR9dTcfIBS1lRorWuTKHKf1lFRS6r5WAYJlndhN16xxj3ofTLHsxXWon1D
pe7tR+J9tCCWxMPDYZOEOnXq8lh53L9La0bhsb4JRC5DdpVRam0=
=jKKP
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.