10
     �¿ÂÁ      File not found.
  "   ˆl–Ü4ý()¨‰P@Š7À¼¦-ÿÄƒh¹ÃÂ      0
     �Àa–Ü4ý()¨‰P@Š7fãL©‹FÿÃ      File not found.
  3   ˆl–äY>”êe¶…8 …p\Å£Æƒ__�uÐb&=LVt%°Õ§ÀÅ �    %!PS-Adobe-3.0 Resource-Encoding
%%Title: VIM-dec-mcs
%%Version: 1.0 0
%%EndComments
/VIM-dec-mcs[
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle
/parenleft /parenright /asterisk /plus /comma /minus /period /slash
/zero /one /two /three /four /five /six /seven
/eight /nine /colon /semicolon /less /equal /greater /question
/at /A /B /C /D /E /F /G
/H /I /J /K /L /M /N /O
/P /Q /R /S /T /U /V /W
/X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore
/grave /a /b /c /d /e /f /g
/h /i /j /k /l /m /n /o
/p /q /r /s /t /u /v /w
/x /y /z /braceleft /bar /braceright /asciitilde /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /exclamdown /cent /sterling /.notdef /yen /.notdef /section
/currency /copyright /ordfeminine /guillemotleft /.notdef /.notdef /.notdef /.notdef
/degree /plusminus /twosuperior /threesuperior /.notdef /mu /paragraph /periodcentered
/.notdef /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /.notdef /questiondown
/Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla
/Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis
/.notdef /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /OE
/Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Ydieresis /.notdef /germandbls
/agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla
/egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis
/.notdef /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /oe
/oslash /ugrave /uacute /ucircumflex /udieresis /ydieresis /.notdef /.notdef]
/Encoding defineresource pop
% vim:ff=unix:
%%EOF
  "   ˆl–Ðz¾”Jj"TÒ�zàœ¸”Å£ÈƒeÆÅÁÆ D    #!/usr/local/cpanel/3rdparty/bin/perl

# cpanel - scripts/check_maxmem_against_domains_count
#                                                  Copyright 2022 cPanel, L.L.C.
#                                                           All rights reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

package scripts::check_maxmem_against_domains_count;

=encoding utf-8

=head1 NAME

check_maxmem_against_domains_count

=head1 USAGE

    check_maxmem_against_domains_count [ --always-fix | --report-only ]

    check_maxmem_against_domains_count --help

=head1 DESCRIPTION

This script verifies that C<maxmem> in F<cpanel.config> is sufficient
for the number of accounts on the server. If there is a problem, it
defaults to prompting the user for the proper course of action.

=cut

use strict;
use warnings;

use parent qw( Cpanel::HelpfulScript );

use Try::Tiny;

use IO::Prompt ();

use Cpanel::Config::LoadCpConf  ();
use Cpanel::Config::CpConfGuard ();
use Cpanel::Maxmem              ();

use constant _OPTIONS => (
    'always-fix',
    'report-only',
);

__PACKAGE__->new(@ARGV)->run() if !caller;

sub run {
    my ($self) = @_;

    #Load this right off because if we try to instantiate Locale
    #while we already have cpconf locked weâ€™ll get double locking.
    #(Why do we lock the file to read cpconf for locale??)
    $self->locale();

    my $cpconf_ref = Cpanel::Config::LoadCpConf::loadcpconf_not_copy();

    $self->_check_maxmem($cpconf_ref);

    return;
}

sub _check_maxmem {
    my 