Re: limits in directory size

Greg Troxel <[email protected]>
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
Olaf Hering <[email protected]> writes:

> 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.

Wow, that is 8 stack frames per file.     Looking at the lower part of
your trace, it's 6 frames per List__iter.

> The crash occurred during propagating the changes

Without looking at code, with my Scheme hat on, this smells like a
recursive function that should be properly tail recursive and isn't.

> It turned out: just running unison again, and syncing the same profile again, succeeded.

I guess some got propagated so the work list was small enough next time.

> #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

-- 
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
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.