Re: [PATCH] Increase recursive symlink limit from 5 to 8

From: Felipe Alfaro Solana
Date: Sun Jan 11 2004 - 07:13:34 EST


On Sun, 2004-01-11 at 08:01, Steve Youngs wrote:
> * Petter Reinholdtsen <pere@xxxxxxxxxx> writes:
>
> > Linux: Symlink limit seem to be 6 path entities.
> > AIX: Symlink limit seem to be 21 path entities.
> > HP-UX: Symlink limit seem to be 21 path entities.
> > Solaris: Symlink limit seem to be 21 path entities.
> > Irix: Symlink limit seem to be 31 path entities.
> > Mac OS X: Symlink limit seem to be 33 path entities.
> > Tru64 Unix: Symlink limit seem to be 65 path entities.
>
> > I really think this limit should be increased in Linux. Not sure
> > how high it should go, but from 5 to somewhere between 20 and 64
> > seem like a good idea to me.
>
> 6 does seem pretty low. What was the reason for setting it there? Is
> there a downside to increasing it?

I think we cannot set this value much higher due to constraints in
kernel stack size, and this limits maximum recursion levels.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/