Correct Way To Clear Swap

May 19, 2009

I've never needed or used swap, but I justed noticed i have 523k of it, which i'm guessing happened when I restored a big CPanel account.

Anyway, is their a correct way to restore it? I've got the memory space, and I've vm.swappiness set to 0.

View 5 Replies


ADVERTISEMENT

Clear The File

Apr 29, 2009

How to clear all content in e.g file.txt via ssh(OS is Debian)?

I need a script to merge contents of 2 .txt files, e.g file1.txt and file2.txt to 1 file - file3.txt

View 4 Replies View Related

How To Clear .pck File

Aug 15, 2008

how we can delete the .pck files, where some .pck files are having data size in KB's some are in MB's and some are in GB where it has taken the disk space
of server into GB's

how we can delete them on the server.

View 2 Replies View Related

SERVAGE.net Stay Clear

Jul 8, 2008

I'm having the very same problems as everyone else, and after a quick google it seems I'm not alone. Servage just keep fogging me off on the support over there dreadful MySql performance.

Getting the same old rubbish as everyone else, we will move you to different server, we will fix your database etc. When will servage stop blaming there customers and step-up admit there is a problem and fix it? The support is fast but there just monkeys repating the same as the last.

I have been with them for 3+ years now, and this will be the last. Just put a request in for a full refund of this years fee's. The 1st year maybe the 2nd there service was excellent, since then its got worse and to a point now where its dam write criminal to charge people for what they offer.

Do your self a favour people stay clear of this company it has wasted alot of my time.

View 9 Replies View Related

GeekRack.net - Stay Clear

Mar 14, 2008

I recently bought a small company from somebody i knew, the server they had was with GeekRack. So we moved everything over to our name and everything was fine for the first week or so, i then ordered a new server from them so i could run shoutcast from however they installed the wrong OS and refused to refund us or pay for the reload fee. So i quickly cancelled that server.

After that issue things started going downhill, nobody would answer our tickets about moving the server away from them so we could get it from our reseller account with BurstNet. As soon as we mentioned we were moving they just basically terminated all contact with us. They failed to mention two different abuse tickets to us which ended with the data centre disconnecting the server on two separate occasions, both times the server was down for more than 2 days. The server was also going down every night and when we asked them to take a look they never answered.

We finally got the server moved away from GeekRack and now the server is running fine and have had no problems. So this is just a word of warning to anybody that is considering GeekRack as there provider.

View 8 Replies View Related

Run Out Of Swap

Apr 19, 2009

What would cause a Linux server to run out of swap? Would it be a memory leak? This happened today to my server and it had to be forcefully rebooted by the data center.

View 5 Replies View Related

Swap Not Being Used

Apr 25, 2008

My server load is up to 20 sometimes, all RAM is used but only a very little SWAP is used (never go above 3M). IOwait is also very high

top - 09:55:33 up 94 days, 3:35, 2 users, load average: 19.09, 9.43, 6.18
Tasks: 327 total, 2 running, 325 sleeping, 0 stopped, 0 zombie
Cpu(s): 38.0% us, 2.0% sy, 0.0% ni, 0.0% id, 59.5% wa, 0.0% hi, 0.5% si
Mem: 2056272k total, 2034064k used, 22208k free, 47516k buffers
Swap: 1052248k total, 3572k used, 1048676k free, 800656k cached

I tried swapoff, mkswap and swapon but it is still the same.

View 5 Replies View Related

Swap Used At 100%

Jul 6, 2007

do i need to upgrade my server if it looks like this?

I have one website running on it.

[url]
*sign* I'm not really sure why it's running like this.

View 8 Replies View Related

How To Clear Firewall In Linux Server?

Dec 15, 2007

Hi,

can you please tell me how i can clear the firewall in my linux box?

It's CentOS but i'm not sure what type of firewall is installed on my box.

Hpe to get response soon,
toby

View 10 Replies View Related

How To Clear UNIX History Of User

Jan 4, 2007

Can someone tell me how to clear the history of a UNIX user? For example, when logged in as a certain user I can press UP to see the last commands that were used. How can I get rid of them?

View 3 Replies View Related

Hosts That Have Clear Upgrade Path

Dec 27, 2007

I'm about to launch a site that i think will see a gradual growth in userbase, so i want a host that could scale my site as the it grows. I had earlier chosen crucial web host (esp their split dedicated plan) but i think after a point even that would limit the number of users and resources used per second (and they have no upgrade after that).

I would like to hear your suggestions on hosts who have plans from VPS ( i think i'll start from VPS itself and not shared just to be safe) to semi-dedicated or dedicated.

The upgrade should be hassle free, that is my main requirement. And also if there is a sudden income of traffic from other sites the host should NOT suspend my account but should charge only for the overages.

View 9 Replies View Related

High Swap

Mar 31, 2009

I've got a dedicated with LW.

I've had it for a while and during that time I've never seen the swap memory go over 20%.

A month or so ago, I had the server upgraded to 8GB of ram to make room for more planned sites.

Since then, the swap memory has gone rampant. It regulary goes to 93% used with less than 20% of the regular ram and really no load on the server.

I've contacted support twice about it and was told don't worry it's normal.

From what I've read in the cpanel forum, no it's not normal and may in fact be caused by bad ram chips and if it hits 100% could freeze the server.

There are no processes or users causing it, so It's something else.

Has anybody had this type of problem that they resolved and could share what they did to resolve it?

View 11 Replies View Related

CPanel - Swap Used 100%

Jul 22, 2008

My swap is currently at 100% and my website isnt loading. What does swap mean and is this the reason my site isnt loading?

View 14 Replies View Related

Swap Not Working

Mar 1, 2008

i want to know why the swap in the server didn't work he is always 208k used

see my top status

top - 09:41:51 up 4 days, 12 min, 2 users, load average: 2.05, 3.11, 3.33
Tasks: 185 total, 2 running, 181 sleeping, 2 stopped, 0 zombie
Cpu(s): 0.7% us, 1.0% sy, 1.6% ni, 92.4% id, 4.3% wa, 0.0% hi, 0.0% si
Mem: 4148808k total, 4008248k used, 140560k free, 117488k buffers
Swap: 2096440k total, 208k used, 2096232k free, 3016032k cached

cat /etc/fstab

LABEL=/ / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs noexec,nosuid 0 0
LABEL=/home /home ext3 defaults,usrquota 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults,usrquota 1 2
LABEL=/var /var ext3 defaults,usrquota 1 2
LABEL=SWAP-sda7 swap swap pri=0,defaults 0 0
/dev/sdb1 /hdd1 ext3 defaults,usrquota 0 0
/tmp /var/tmp ext3 defaults,bind,noauto 0 0
/dev/hdb /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
/dev/scd0 /media/cdrom auto pamconsole,exec,noauto,managed 0 0

My box

WHM 11.15.0 cPanel 11.18.1-R20683
CENTOS Enterprise 4.6 i686 on standard - WHM X v3.1.0

View 3 Replies View Related

Why Do PHP Caches Use Swap

Feb 20, 2008

Opcode caches have stability problems with some PHP apps:

[url]

I've been trying to get XCache working with gallery2, right now apache has to restart every 2-4 hours but it's been worse at times and it'd be nice to know what's going on

I noticed that both XCache and eAccel use a small amount of swap space all the time, it grows slowly and if I'm lucky enough to go without a segfault it will reach maybe 4MB. That's not a lot but it doesn't happen at all without a PHP cache (swap stays locked at 72kb unless RAM runs out and the server thrashes).

Here's the error and my settings:

[Tue Feb 19 06:19:55 2008] [error] PHP Warning: Invalid argument supplied for foreach() in /home/cityv4/public_html/gallery/modules/customfield/classes/CustomFieldHelper.class on line 233
[Tue Feb 19 06:19:55 2008] [error] PHP Warning: Invalid argument supplied for foreach() in /home/cityv4/public_html/gallery/modules/customfield/classes/CustomFieldHelper.class on line 233
[Tue Feb 19 06:19:56 2008] [notice] child pid 31028 exit signal Segmentation fault (11)
[Tue Feb 19 06:19:56 2008] [notice] child pid 10638 exit signal Segmentation fault (11)

[url]

View 1 Replies View Related

CPanel - Swap Used 100%

Jul 22, 2008

My swap is currently at 100% and my website isn't loading. What does swap mean and is this the reason my site isn't loading?

View 14 Replies View Related

RAID 1 Swap

Oct 28, 2007

I have two servers, HP RAID and DELL RAID.

Both controllers are set to RAID 1

I want to take the 2 HD from HP, and put into Dell.

Would this ruin my HD? Will I break the RAID and all my files be lost?

How can I achieve this without loosing my files?

View 6 Replies View Related

Swap Space For VPS

Oct 1, 2007

I have purchased several VPS from a provider and found they do not provide swap space with VPS, and even with 256MB ram, I get 'out of memory' trying to compile a perl library... Creation of a swap file by myself doesn't work (operation is not permitted).
Hosting providers runs HyperVM.

So the question. Is it common or is it a misconfiguration? For now I got just 'checking on this for you' and three days of silence from their support.

I'm not opening hosting provider name, but I will if they say "You must pay for more RAM", just because other 5 VPS providers support my VPS servers with swap space.

View 8 Replies View Related

Xen And The Issue Of Swap

Jun 4, 2007

I have talked with the moderators and they have agreed that I can start a new thread to clarify the issue of Xen and swapping as long the discussion remains technical.

For people who are curious, I would first like to explain why this is important. What we have here is someone making a specific technical accusation against Xen, and if it is indeed crucial, it needs to be solved, or otherwise people have to know it before they get into Xen.

Claim Number 1: The original claim is that users can create arbitrarily large swap and this can lead to the equivalent of overselling.

Fact: Arbitrarily large swap has absolutely zero effect on a normal system, since Linux treats swap as an auxiliary storage, and will not use it unnecessarily. Linux will always use the RAM to the full, but swap is used only when all the buffers have been cleared. If you run free on a dedicated hardware, you will see that swap usage is most of the times zero, even though you have assigned a very large swap to the system. In fact, you can try this by simply increasing the swap to very huge value, you will see that Linux will ignore it completely.

For large swap to cause a problem, the user not only has to assign a large swap, he has to run a really huge workload on his limited RAM, and this being physically impossible, will cripple his vps long before it has any serious impact on the host.

I think the above has been agreed to by the person who made the initial claim.

Claim Number 2 Merely having a swap can lead to vps getting slowed down.

Fact ; The use of swap does not mean thrashing .

Thrashing is a technical term, and it means that the application is registering a swap hit every few instructions. This is rare in normal systems, because of a property of programs that execution is always localized. That is, at any particular time, a certain portion of the program will be continuously being executed, and other portions would be idle. Linux has algorithms that will swap out the Least Recently Used page, and this will mean that the system will not run into too many swap hits.

Now again, like in the earlier case, there will be trouble if the vps customer is trying to run a 1GB workload in a 64MB RAM. This will actually cripple his vps, which is what's the right thing to happen. So normal usage of Swap will not lead to disk I/O, since Linux has explicit algorithms to reduce swap usage.

So for minor OverUsage of memory:

For virtuozzo: the application will crash

For Xen: there will be a very minor degradation of quality. And sometimes it won't have any affect at all, since as I said, just because swap drive is non-empty doesn't mean that linux is constantly swapping out.

So summarizing:

a) Inordinately large swap has zero effect on Linux

b) Non-empty swap doesn't mean that the system is registering swap hits. For normal workloads, the swap hits will be very minimal.

And an extra advice is that if you are using Xen, don't ever use snapshoting, as it will double the disk I/O, and the worst thing is that the vps that's causing this will not even be penalized. The overhead will be completely borne by the system.

View 8 Replies View Related

To Swap Or To Burst

May 11, 2007

I'm planning to get a small VPS (128 MB).

I've come across a XEN based plan that offers additional 256MB swap space, and a few others Virtuozzo based plans that offer bursting capability (some even upto 8GB).

Which would be the better option?

Also, in Virtuozzo, will SLM allocation be significantly more beneficial than UBC for a small VPS?

Another question ... DirectAdmin officially claims to be able to run on a minimum of 64MB RAM. How would it perform on a 128 MB VPS ?
I'm not really looking to do much, only to host a few (5-6) small sites along with some other non-webhosting applications (which is the reason for getting a VPS instead of a reseller).

I've seen most people suggest atleast 256MB for DirectAdmin, but that is beyond my budget. (I'm also seriously considering the option of employing vi as a control panel to further conserve my limited resources)

View 14 Replies View Related

SolarVPS Billing Fiasco :: Steer Clear

Apr 26, 2007

In a rush to purchase more vps servers, since my fiance and myself were building an IRC network, we decided to purchase a vps with SolarVPS. We figured things were going to take a week to start since she purchased it. A week later and the eCheck cleared, and we figured it'd take a day or two for setup. A week after that, we were starting to wonder why we hadn't received any of the information for the VPS. Starting to ponder where our service is, my fiance phoned their 800 number support and spoke with an associate. The support associate notified us that we slipped into the old billing system and purchased the vps before they switched over, and instead of disabling the billing system for a temporary amount of time, swapped to the new one and dumped the old one.

After a little prodding via the phone, they said they would push up our renewal date since they took longer than expected. He said within 15 minutes, we should receive an email with the vps information. 2 hours later we saw sight of the email.

Within the first and only month with SolarVPS, we experienced two network outages. Each time, we sufficed to use the online support system via the website, and notified them of the outage. They reiterated what we told them, which was the fact of the vps being offline network-wise. However, the agent each time told us there was nothing he could do about it, and failed to answer questions after the fact.

Towards the end of the month, we were quite dissatisfied with the service that SolarVPS has provided to us, and as such, we decided we were not going to renew the service. As we had not contracted into a year or otherwise, we moved everything off of the server. After the next payment was overdue, we received an invoice requiring us to pay them ASAP.

We emailed them directly back, asking them to cancel the vps, as in the TOS, it described that cancellation requests could be sent via email. We received an email back from them informing us that they would not cancel the vps unless a payment for the next month was received. Informing us that there was a 10 day period we had to have canceled in beforehand, we were fine with paying the next month, but wished to cancel either way. They also informed us that we were required to use the cancellation form provided via link, as they would ignore any other form of cancellation request, regardless of the statements in the TOS.

We asked for the information to login to the billing panel to pay the last outstanding bill, so we could cancel the vps. In return, they asked for full name, address, last paypal transaction id, and all ips assigned to reset the password. This is the point where we stand.

SolarVPS has been an absolute hair-tearing experience, and would give me receding hairline if I had actually torn my hair out. I would personally steer clear from them, and maybe look into a company like BuyAVPS. Always read the TOS, and make sure its loose enough to give you some movement room in case you don't like the service. Either way, We're still waiting for SolarVPS to help us cancel our VPS.

Short Ending: Steer clear.

View 5 Replies View Related

Windows Mail Server - How To Clear Queue

Mar 27, 2009

i'm running a windows 2003 server to host a number of websites.

unfortunatly it looks like i didn't correctly protect the SMTP mail server

i checked the 'badmail' folder in the inetpub and found there were upwards of 250,000 bounced mails there... some spammers were obviously having a field day with my smtp server...

i've now changed the settings so that realys are only accepted from 127.0.0.1 and anonymous access is now disallowed.

my problem is that when i start up the SMTP server again spam is continuing to be sent out because the Queue folder is apparently full of junk waiting to go out...

i've tried entering this folder but the computer hangs, presumably because there are so many there...

i've tried deleting and renaming the folder but even with the smtp server turned off i get an 'Access Denied' error...

what can i do to flush or empty the queue folder ?

View 1 Replies View Related

How To Clear Exim Queue Mails Through Cron

Jul 17, 2008

I have been seeing so many exim mail queue on server. I would like to clear for every one hour throuh crontab entry. So that I have used following script to run.

file path : /root/eximQueue.sh

Script:

#!bin/bash
exim -bpu |awk '{print $3}'|xargs exim -Mrm

crontab entry:

0 * * * * /bin/bash /root/eximQueue.sh

but the crontab is running every 1 hour but no mails cleared. Please guide to work this.

View 4 Replies View Related

Create A Cron Job To Clear Your /tmp Folder Automatically?

Dec 15, 2008

how I can create a cron job that runs every 10minutes or so to clear my /tmp folder on one of my servers?

Reason I ask is, it keeps getting filled up and doesn't delete the fiels in it and stops certain scripts from running.

Also, again, I need step by step instructions, such as:

1) what, where the file is I need to place the cron job in

2) what line of code would I put in that file (what does the cron job line look like for every 10min every day)

3) do I need to restart anything, and if so, what command do I run in shell?

View 9 Replies View Related

Clear Messages From Queue By Subject Line - SSH

Apr 24, 2008

Due to spammer activity, I find myself with 20,000 messages in the queue and I'd really like to remove those emails from the queue as it is causing delays to good messages.

Can you give me the SSH command to remove messages by subject line please?

I have already used
exim -bpru|grep frozen|awk {'print $3'}|xargs exim -Mrm
and
exiqgrep -i -f '<>' | xargs exim -Mrm
and
exim -bpu |awk '/nobody/ {print $3} ' |xargs exim -Mrm

But there are still 11,000 messages left in the queue.
The spammer messages have the following subject lines:

IS THIS TRUE?
PAYMENT UPDATE
Online Banking Account Is Locked !
Online Banking has been locked
ARE STILL ALIVE /THIS A SAD NEWS ABOUT YOU

View 3 Replies View Related

Plesk 12.x / Linux :: Clear Free Space

Sep 13, 2014

i'm using plesk 11.5..i've deleted a huge file of 15Go and i've still a message about free space on ther server...MySQL query failed: Got error 28 from storage engineClick to expand...

View 2 Replies View Related

Plesk 11.x / Linux :: Clear SpamAssassin Database?

Sep 19, 2014

The SpamAssassin bayes database has become ineffective on one of our servers and we want to wipe it and start fresh - how to do this on Plesk 11.5.30?

View 1 Replies View Related

APF Correct

Jan 31, 2007

i install APF and RUN to Server i don`t know my APF is Coorect or no!

root@server [/]# apf -t
APF Status Log:
Feb 01 01:57:54 server apf(11506): firewall initalized
Feb 01 01:57:54 server apf(11565): {glob} default (ingress) input drop
Feb 01 01:57:54 server apf(11565): {glob} default (egress) output drop

what is meaning >> firewall initalized << ?

View 2 Replies View Related

WHM/CPanel Sends Private Key Via Clear Text Email

Sep 30, 2007

Why does the WHM panel send me my private key and passphrase for my SSL certificate to my inbox when I generate a CSR? Um... isn't that a bit insecure?

I purchased a Rapid SSL cert from NameCheap who then needed a Certificate Signature Request(CSR) which is generated from WHM.

After generating the CSR, WHM sent me an email that is literally titled 'SSL RSA PRIVATE KEY for *.<domain_removed>.com'

The email not only contains the ----- RSA PRIVATE KEY----- but also my 'challenge password' .

is this supposed to happen? and why on earth would my private key and passphrase be sent via unencrypted email? The only think I can think of is that the WHM panel feature is being used to generate the CSR and is sending me a self-signed cert private key , which I'm not going to use (i'm only going to use the CSR) Even if thats the case, I think it still shouldn't happen, its too confusing for newbies like me and I could just end up using the same passphrase for my actual certificate.

Here are the steps I followed:
1. purchased a RapidSSL from namecheap
2. Clicked 'Activate' in namecheap's SSL dashboard which then asks me for a CSR.

To get the CSR, per Site5's wiki:
1.logged into WHM
2. clicked 'Generate a SSL Certificate and Signing Request'
3. completed the 'create a new cert' form which among other things, asks me for the 'Email address the cert will be sent to'. For all the fields, see the site5 wiki
4. click Create

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved