Hi cPanel team,
Can someone help me?
How can I increase the space of /var/tmp and /tmp ?
I have only 512MB and is not enough because the tmp partition goes full when the scheduled backup runs.
I tried this tutorials:
http://forums.cpanel.net/f5/drive-critical-dev-loop0-var-tmp-97-full-190772.html
/http://blog.shineservers.com/how-to-increase-size-of-vartmp-and-tmp-centos/
But without luck...
My securetmp content after running the command:
vi /usr/local/cpanel/scripts/securetmp
Can someone give me a little help?
Thanks
Best regards,
Tim
Can someone help me?
How can I increase the space of /var/tmp and /tmp ?
I have only 512MB and is not enough because the tmp partition goes full when the scheduled backup runs.
I tried this tutorials:
http://forums.cpanel.net/f5/drive-critical-dev-loop0-var-tmp-97-full-190772.html
/http://blog.shineservers.com/how-to-increase-size-of-vartmp-and-tmp-centos/
But without luck...
My securetmp content after running the command:
vi /usr/local/cpanel/scripts/securetmp
Code:
#!/usr/local/cpanel/3rdparty/bin/perl
# cpanel - scripts/securetmp Copyright(c) 2012 cPanel, Inc.
# All rights Reserved.
# [email protected] http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
use strict;
use Cpanel::SafeFile ();
use Cpanel::OSSys ();
use Cpanel::Filesys ();
use Cpanel::DiskLib ();
use Getopt::Long;
use Cpanel::Logger ();
use Cpanel::SafeRun::Errors ();
use Cpanel::SafeRun::Simple ();
my $logger = Cpanel::Logger->new();
$| = 1;
if ( -e '/var/cpanel/version/securetmp_disabled' ) {
print "[securetmp] Disabled per /var/cpanel/version/securetmp_disabled\n";
exit;
"/usr/local/cpanel/scripts/securetmp" 681L, 21312C
Can someone give me a little help?
Thanks
Best regards,
Tim
Last edited: