check directory files size in linux
January 9th, 2011 by ayad1- go inside the directory for example
cd /home/alzweac
alzweac#du -sh
2.4Gb
Thank you.
1- go inside the directory for example
cd /home/alzweac
alzweac#du -sh
2.4Gb
Thank you.
If you are using MySQL with InnoDB tables, you should really look at the innodb_buffer_pool_size. This tells MySQL how much memory it should use to cache data on your InnoDB tables. This cuts down on disc IO. It can save you alot of lookup time if you are pulling out of the cache as opposed to making another call to the database table. As a good rule of thumb this value should be set to 10% larger than the size of your database… that is assuming you have that much memory available on your server. By default innodb_buffer_pool_size is set to 8MB. If you have a decent sized data set, and most of you probably do, then you are going to want to increase this. My database is about 1GB, so I set my innodb_buffer_pool_size to 2GB, so that I can account for some growth in the future. Just be sure not to set the value too high. If you only have 2GB of memory on your box, then don’t set it to 2GB. This can cause paging at the OS level and that is bad news.
So here is how you set that parameter in mysql
open up your /etc/my.cnf in your favorite editor and add the parameter in the mysqld section
Then you restart mysql and the changes should be picked up.
You can double check by issuing the following command in mysql client. It will show you the variable and its value
NOW THATS A QUICK AND EASY PERFORMANCE TUNE!!
Thank you.
Please contact your provider to force update using the following instruction.
1. SSH to the server as root and run this command.
rm -f /var/cpanel/rvglobalsoft/rvsitebuilder/var/INSTALL_COMPLETE.php
rm -f /var/cpanel/rvglobalsoft/rvsitebuilder/rvsitebuilderversion.txt
perl /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi
2. Go to root WHM/RVSiteBuilder, it will automatically rebuild the database for you.
To force update both steps need to be done. It still keeps your previous data, configuration and translation (given that you do not edit files directly but edit from RVSiteBuilder Manager). If doesn’t work, please submit me the login information to the account in question or attach me the snapshot of what you did and its result.
to find the solution, refer to below URL, we got the apove error, then we used the below solution and worked fine
http://www.blogjava.net/lyjjq/articles/79408.html
Thank you.
The steps in the URL below
http://www.mybanglaspace.com/public/blog/view/id_2142/title_ClamAV-in-Centos-Linux/
Thank you.
to fix the issue, follow below solution
login to the plesk control panel, select customer domain, then follow below
Applications & Services > Application pool > select corresponding application > and click to ‘allowed’ column > and increase “Installations allowed”. By default it is set to 2.
i have tried the solution my self and fixed the issue.
cheers
Solution
1. Try adding this line to your wp-config.php file:
define('WP_MEMORY_LIMIT', '64M');
2. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
3. If you don't have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M
4. Talk to your host.
Thank you.
Please refer to the guide below
http://learn.iis.net/page.aspx/461/creating-rewrite-rules-for-the-url-rewrite-module/
Thank you.
Hello All,
In order to enable/disable IMAP service for a particular domain from MailEnable one need to perform below mentioned steps:
1) Login into MailEnable Professional.
2) Click on MailEnable -> MailEnable Management -> Messaging Center -> Post Offices.
3) Right Click on domain name -> Properties for which one need to perform the task.
4) Go to the Tab “Service Selection”.
5) Select the ‘Enable or Disable’ from drop down menu against IMAP Service.
6) Click on apply and Ok.
Thanks,
reference
http://discussion.accuwebhosting.com/mailenable/613-how-enable-disable-imap-service-domain-mailenable.html
problem
/scripts/restartsrv spamd
Waiting for spamd to restart…………..finished
spamd has failed, please contact the sysadmin (result was “Spamd is not running”).
Solution :
>> /scripts/fixspamassassinfailedupdate
>> service exim restart
>> /scripts/restartsrv spamd
That’s All Spamd will start with a Charm!