[Users] openvz 7> centos 8 container

Konstantin Khorenko khorenko at virtuozzo.com
Mon Jun 8 18:45:27 MSK 2020


On 06/08/2020 03:31 PM, mailinglist at tikklik.nl wrote:
> I now see on my node:
>
> kernel: CT#402 reached the limit on mounts.

You can increase the limit of mounts inside a Container via sysctl "fs.ve-mount-nr" (4096 by default).

Warning: stopping of a Container with many mounts inside can take quite a long time.
Say, if you have 200000 of mounts in a Container, Container stop may take ~10 minutes.

--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team

> So think that is the problem.
>
> I see a old toppic onlin https://forum.openvz.org/index.php?t=rview&th=12902&goto=52002
>
> Any idee if that is the solution that is needed today?
>
>
>
>
>
>
>
> *Van:* users-bounces at openvz.org <users-bounces at openvz.org> *Namens *mailinglist at tikklik.nl
> *Verzonden:* maandag 8 juni 2020 14:17
> *Aan:* 'OpenVZ users' <users at openvz.org>
> *Onderwerp:* [Users] openvz 7> centos 8 container
>
>
>
>     Hello,
>
>
>
>     If installed a centos 8 op-envz container
>
>     It was working, but after migration my data from an older container im keep getting errors like this:
>
>
>
>
>
>     php71-php-fpm.service: Failed to set up mount namespacing: Cannot allocate memory
>
>     php71-php-fpm.service: Failed at step NAMESPACE spawning /opt/remi/php71/root/usr/sbin/php-fpm: Cannot allocate memory
>
>
>
>     php73-php-fpm.service: Failed to set up mount namespacing: Cannot allocate memory
>
>     php73-php-fpm.service: Failed at step NAMESPACE spawning /opt/remi/php73/root/usr/sbin/php-fpm: Cannot allocate memory
>
>
>
>
>
>     httpd.service: Failed to set up mount namespacing: Cannot allocate memory
>
>     httpd.service: Failed at step NAMESPACE spawning /usr/sbin/httpd: Cannot allocate memory
>
>
>
>
>
>     cat /proc/user_beancounters
>
>     Version: 2.5
>
>     resource                     held              maxheld              barrier                limit              failcnt
>
>     kmemsize                 92078080            121937920  9223372036854775807  9223372036854775807                    0
>
>     lockedpages                     0                    0  9223372036854775807  9223372036854775807                    0
>
>     privvmpages                 52155                75857  9223372036854775807  9223372036854775807                    0
>
>     shmpages                      659                 2636  9223372036854775807  9223372036854775807                    0
>
>     dummy                           0                    0  9223372036854775807  9223372036854775807                    0
>
>     numproc                        39                   39              4194304              4194304                    0
>
>     physpages                   97697               111964  9223372036854775807  9223372036854775807                    0
>
>     vmguarpages                     0                    0  9223372036854775807  9223372036854775807                    0
>
>     oomguarpages                97697               111964                    0                    0                    0
>
>     numtcpsock                      0                    0  9223372036854775807  9223372036854775807                    0
>
>     numflock                        2                    5  9223372036854775807  9223372036854775807                    0
>
>     numpty                          0                    1  9223372036854775807  9223372036854775807                    0
>
>     numsiginfo                      0                   57  9223372036854775807  9223372036854775807                    0
>
>     tcpsndbuf                       0                    0  9223372036854775807  9223372036854775807                    0
>
>     tcprcvbuf                       0                    0  9223372036854775807  9223372036854775807                    0
>
>     othersockbuf                    0                    0  9223372036854775807  9223372036854775807                    0
>
>     dgramrcvbuf                     0                    0  9223372036854775807  9223372036854775807                    0
>
>     numothersock                    0                    0  9223372036854775807  9223372036854775807                    0
>
>     dcachesize               51408896             72798208  9223372036854775807  9223372036854775807                    0
>
>     numfile                       711                  995  9223372036854775807  9223372036854775807                    0
>
>     dummy                           0                    0  9223372036854775807  9223372036854775807                    0
>
>     dummy                           0                    0  9223372036854775807  9223372036854775807                    0
>
>     dummy                           0                    0  9223372036854775807  9223372036854775807                    0
>
>         numiptent                       8                   16  9223372036854775807  9223372036854775807                    0
>
>
>
>
>
>     uname -r      3.10.0-1062.12.1.vz7.131.10
>
>
>
>     any idees what went wrong and how to repair?
>
>
>
>     Thanxs
>
>
>     Steffan
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>


More information about the Users mailing list