Clean Memory, Linux
Jul 21, 2007
Is there a command to clean up my Memory in Linux?
I use Plesk 8, Linux
When i execute "free -m" command it shows me:
total used free shared buffers cached
Mem: 1006 959 47 0 136 567
-/+ buffers/cache: 254 752
Swap: 4095 0 4095
Version:
Command: free -V
Result: procps version 3.2.3
View 11 Replies
ADVERTISEMENT
Oct 17, 2007
How do i format a secondary drive in Ubuntu? I want to get the drive ready for RAID so it must be clean.
View 2 Replies
View Related
Sep 28, 2014
how to enable clean url (mod_rewrite) with Plesk and Website with Drupal 7 ?
View 1 Replies
View Related
Feb 23, 2015
My server is a debian 7 64 bits with plesk 12 last update.
A customer installed drupal 7.4 from plesk panel successful. However from Drupal/Configuration admin panel can not enable "Clean url". Clean test url failed too:
"The clean URL test failed"
.htaccess was ok .
I tried set domain vhost.con with (https://www.drupal.org/getting-started/clean-urls#enabling-7):
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^ index.php [L]
</IfModule>
But it not worked (IApache have module rewrite loaded.)
I think maybe issue y for nginx. But I don't know how set this -> [URL] .... in nginx.conf of domain in plesk.
How to set clean url of Drupal in Plesk 12?
View 6 Replies
View Related
Aug 31, 2014
I have a fully working clean installation of Plesk 12 + updates (CentOS 6.5 x64). Previous installation was a test and was working just fine with the license file.Today I did a clean install. When I tried to restore my original key file (Parallels Plesk Panel 10.x/11.x and Later 100 Domains w/1 yr SUS) I get the following error:
Code:
ERROR: bad arguments (key_upload.php:76)
As result I'm not able to create domains and start using the server/panel.
View 1 Replies
View Related
Jul 21, 2008
I have a dedicated server with 2 GB of RAM. I am concerned with my server's memory usage when I am currently not running many applications.
[root@digm1 ~]# free -m
total used free shared buffers cached
Mem: 1947 1896 50 0 106 1579
-/+ buffers/cache: 210 1736
Swap: 2047 0 2047
It tells me that I only have 50 MB of memory left and it drops down to ~20 MB after Apache has been running for a while. Once it runs out of that 20 MB I will start swapping right? I have also run this command and do not see any process taking up anywhere close to what is being reported:
ps -eo pid,ppid,rss,vsize,pcpu,pmem,cmd -ww --sort=pid
No process is using more than 1.5% memory and only 3 use this much.
Is Linux caching memory which will be used after I run out?
View 2 Replies
View Related
Jan 20, 2008
I've been working with Linux lately and been wondering how Linux (Fedora/CentOS) manages its memory usage efficiency.
What I've been noticing is, Linux uses quite a lot of memory for just a single application. For example, Firefox-bin uses like around 100mb of memory.
At the same time around, when KDE/Desktop Environment aren't installed, Linux uses very small memory for non-GUI applications, such as those of hosting-related services.
Isn't using 100mb of memory for a browser application a bit too much? Is the memory information under "top" command represents the physical memory available? Is there any difference in performance when in physical server compared to virtual server (virtuozzo for example)?
View 3 Replies
View Related
Jun 6, 2009
How do you go about figuring out what to remove?
Example(groups):
Installed Groups:
Administration Tools
Base
Development Tools
Dial-up Networking Support
Editors
Input Methods
Legacy Fonts
Mail Server
MySQL Database
Network Servers
Printing Support
System Tools
Text-based Internet
Web Server
I'm sure its safe to remove printing, dial up, fonts, editors?, and web server(installed nginx).
but when I list individual RPMs i have over a few 100 to go through. anyone know of a few documents to help my research go faster?
View 0 Replies
View Related
Jan 20, 2008
I have some problems with /tmp:
When /tmp is more 20-50% clean out /tmp directory :
rm -f /tmp/sess_*
rm -f /tmp/*.wrk
it cleans tmp folder, but size folder still big and 50% . I fix it :
Run the following commands :
/bin/umount -l /tmp
/bin/umount -l /var/tmp
/bin/rm -fv /usr/tmpDSK
/scripts/securetmp
and it's OK.
The partitions remount only helps to fix it. Is it problem the file system ext3 ? Is there a wey yet to fix /tmp ?
FC6
cPanel
tmpfs ext3=2 Gb.
View 5 Replies
View Related
Feb 1, 2014
why, or when this happened, but all of a sudden the PHP Memory Limit for all of my domains is 64M? I used to have it set to 128. How to change this setting so that all domains have the ability to go to 128M ?
View 5 Replies
View Related
Jan 19, 2015
When you create a subscription for a customer, there is a php max memory assignment in the service plan. I am wondering if the max memory is based on per website customer creates or it is based on per account..
if it is based on per website, that means if a customer create 100 website under one subscription....and per php max memory is 256m, that means they will be using max. 256mx100...is that correct?
View 2 Replies
View Related
May 10, 2007
In APF I can download deny_hosts.rules and delete all the IP there but how about iptalbes?
I tried to find the file that store the IP but I couldn't find it.
I flushed the iptalbes but when I restart it all the ip come back.
Code:
iptables --flush
and I also tried
Code:
[url]
Where is the ip stored at iptalbes?
View 2 Replies
View Related
Aug 7, 2007
my whm Trojan scanner found 23 possible Trojans.
how can i clean my server?
View 9 Replies
View Related
Jan 5, 2009
I think it's due time to clean up one of my server's. It's very time consuming to sit and try to go through the daily and weekly backup folders or the reseller center of WHM and compare accounts so that I know which backups stay and which backups go.
Whats the best way to clean up all those old backups? Would it be possible to just delete everything in them and then do something like copy the /home/ folder which has all active accounts over into the backup? Or just let the daily backup do it's thing?
View 5 Replies
View Related
Nov 9, 2009
What is the best way to clean a hacked site?
All of the pages have iframe injection and my only backup was made after the attack.
I have hundreds of pages, do I have to edit them all manually?
View 7 Replies
View Related
Mar 14, 2008
I've got Centos 4 and I'm wondering what's the best way to cleanup my /boot partition?
Tried to do a yum update tonight and it included kernel, amongst other updates that belonged there so it stopped. I've googled around for commands to run and whatnot, but no go... or I just can't find it... if I had to clean it up I have an idea already about what to do, but I want to ask for advice first to see if there's an easier way.
so, how do people here clean up that partition?
View 4 Replies
View Related
Jun 15, 2008
By default,when domain is created by default it redirect all unrouted mail to default mail.And since i didnt notice that on time,now there is 100k mails.How do i delete that instantly?
View 7 Replies
View Related
Jul 3, 2007
one of my customers, he gets a lot of spam emails. So i tell him to enable SpamAssassin.
He also tell me if i can clean the his users inboxs (20000+ emails). Not to delete all as they have emails that they need.
The 20000+ emails are before he enable SpamAssassin.
I need something to scans emails inboxs and move the spams to another folder.
Is possible to scan emails folders with spamassassin
View 3 Replies
View Related
Nov 12, 2014
I am trying to increase the PHP memory limit for all Plesk hosted sites.
I've updated the 'memory_limit' setting in /etc/php.ini
Then I ran
Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
/usr/local/psa/admin/sbin/httpdmng --reconfigure-server
Checking a phpinfo() page on hosted sites I see that this setting has not been effective.
Checking some /var/www/vhosts/system/domain.com/etc/php.ini also shows the old setting, and I can see that these files have not been updated.
I note that all these domain php.ini files have been modified earlier today, all at the same time, so presumably some process did regenerate them earlier. All these files hae the "DO NOT MODIFY ..." heading
I realise that I can go the the domain in Plesk GUI and save the PHP settings to force an update, but is there anyway to force the regeneration of all of these files via CLI?
View 3 Replies
View Related
Mar 26, 2015
Why servers are being run out of memory by the 'sort' command even when the logs are small? Here's what is currently on a site:
-rw-r--r-- 2 root root 22392143 Mar 26 11:40 access_log
-rw-r--r-- 2 root root 68018869 Mar 26 10:50 access_log.processed.1
-rw-r--r-- 3 root root 67671664 Mar 26 09:50 access_log.processed.2
-rw-r--r-- 1 root root 69908 Mar 26 10:50 access_log.stat
[Code] .....
View 1 Replies
View Related
Dec 3, 2014
So I set up a Cloud VM to host a number of websites and as a precaution I enabled the Parallels Antivirus.... wow. The server memory usage has shot up from 55% to 108% when it is turned on.
This is bonkers - how can I reduce the memory back to a safer % while keeping the AV turned on? Are there other services that are non essential that I can turn off without effecting performance?
View 8 Replies
View Related
May 12, 2015
it's starting to kill child processes and eventually stops/hangs.
#plesk version
Product version: 12.0.18 Update #45
Update date: 2015/05/08 03:13
Build date: 2015/01/26 15:00
Build target: CentOS 7
Revision: 334346
Architecture: 64-bit
Wrapper version: 1.2
#free -m
total used free shared buff/cache available
Mem: 3782 647 2281 45 854 2875
Swap: 2047 0 2047
View 1 Replies
View Related
Jun 12, 2009
I have a VPS. And have had an issue both when it was 1Gig and now I recently downgraded it to 768m, because I am moving some sites to a dedicated.
However, the part I am having trouble grasping is that when I look at graphs from Munin, it will typically always show 200-400MB free memory (and free -m and top agrees with munin), but Munin shows 'committed' memory that is above the total Ram on the VPS and once the 'committed' ram exceeds the VPS limit, processes start failing.
So, why is 'committed' memory exceeding the RAM on my VPS, when Munin, free -m and top all show there is free memory available?
Code:
root@server [~]# free -m
total used free shared buffers cached
Mem: 768 449 318 0 0 0
-/+ buffers/cache: 449 318
Swap: 0 0 0
Here's a graph that munin produces that shows the 'committed' memory exceeding the total memory.
[url]
View 3 Replies
View Related
Nov 10, 2008
I'm just curious, when getting IPs with a VPS or Dedicated server, is there any steps to take to make sure the IPs were used by a previous customer to spam or in other way get them blacklisted by Yahoo, AOL, Gmail, etc.?
View 6 Replies
View Related
Mar 12, 2007
how I can install GCC on a clean slackware 10.2 server. It doesnt have any cc compiler, so am not able to compile gcc. Are there any binaries of c compilers for slackware?
View 9 Replies
View Related
Nov 8, 2007
We are having trouble with disk space on some of our shared hosting servers and we are wondering if anyone have a script to clean e-mails from exim not checked in the last 60 days ?
View 1 Replies
View Related
Feb 12, 2015
I run few export procedures which take a long time ot process (lots of joined sql) and generate quite large output. Plesk 11.0.x required some php/fcgif adjustments but I got it to work.
Now I switched ot Plesk 12 and have to set it up again.
I started with Plesk / PHP Settings for this domain:
memory_limit set = 2G
max_execution_time = 600
max_input_time = 600
post_max_size = 2G
Default subscription has no setting for above values but I have added them per this domain os not sure why it ignores my 2G value?
Error:
mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 1047527424 bytes exhausted (tried to allocate 84 bytes) in
View 3 Replies
View Related
May 26, 2008
How do i can perform
- Clean up unwanted files from /tmp
- Check and clean the mail queue
- Check /proc for hidden or unwanted processes
I will be thanking the person who can give in details how to perform each point in vps server and what's the steps or commands i should follow .
View 3 Replies
View Related
Mar 29, 2008
I recently purchased a dedicated server from a company I found on these forums. I have been very happy with the company, but the 2 IP's I have with the server are blacklisted in many places. I have been systematically trying to clean the address, but am starting to think that it may be a losing battle.
My ISP has offered
I have assigned to your account the following ip:
ip:216.144.227.125
sm:255.255.255.240
You can bind Exim to a secondary IP using the steps below:
a. Login to the server as root using SSH and open the file /etc/exim.conf in
your favorite Unix text editor.
b. Locate the section of the file that contains the following:
remote_smtp:
driver = smtp
c. Replace this section with the following modified version:
remote_smtp:
driver = smtp
interface = 216.144.227.125
d. Restart Exim
I don't know anything about this. Can someone please tell me if this is the best route. I don't want this to create any other issues for my email, like causing reverse DNS issues. If this will totally solve my problem, fine. If not, shouldn't I demand to have clean IP's assigned to my server, especially since the service is advertised as such?
my IP's 72.11.145.112 72.11.145.113
View 12 Replies
View Related
Jun 22, 2015
PleskLog File
104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Jun 22 15:33:11 2015] [error] [client 176.10.112.11] Premature end of script headers: import_cop.php
and Apache Log
[Mon Jun 22 11:06:57 2015] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Mon Jun 22 15:46:17 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process
PHP Warning: Module 'zip' already loaded in Unknown on line 0
How can I fix this problem? The Script is 100% i/O because it has worked onder PHP 5.2 and its comp. whit 5.4.
View 12 Replies
View Related
Jun 11, 2008
We are setting up 5 instances of Windows 2003 server on all the same server hardware. I want to spend the time setting up 1 instance, so installing windows updates, drivers, settings, configuration, then have the ability to mirror/image that perfect setup 4 other times.
View 2 Replies
View Related