Daniel Lezcano wrote: > sukadev@xxxxxxxxxxxxxxxxxx wrote: >> Enable multiple instances of devpts filesystem so each container can >> allocate >> ptys independently. >> > Hi suka, > > It looks like the /proc/sys/kernel/pty/max and nr are not virtualized. > Modifying in the container the "max" pty, that impacts the init_pty. > Same as nr which does not show the real number of pty allocated for the > container. > > Are you planning to fix this ? > That's a separate issue, i.e. a resource allocation localization/globalization issue. The main reason for these limits is top put a cap on the amount of low kernel memory used on 32-bit systems especially, which is somewhat inherently global. Resource limit partitioning is a much bigger and orthogonal problem. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers