General :: Bringing Pages For A Particular Process Out Of Swap?

May 21, 2010

I'd like to know if it's possible to bring pages from a particular process into main memory, or to set parameters for a given process, or class of process so that it will not be swapped out.

View 1 Replies


ADVERTISEMENT

General :: Explicitly Swap Out Main Memory Of A Suspended Process?

Apr 7, 2010

I run a memory-hungry process (mkcromfs) which consumes more memory than I have physical memory on my latop, so it is paging and swappin and thrashing all the time and loadavg is about 2 (compcache is already in use with usual swap partition as well), but slowly moving forward (Although I afraid it will finally try to allocate >2GB and crash draining 2 days of thrashing).

When I want to use the laptop for something else, I stop the process, start X server, firefox and other programs. The problem is that when I start Firefox the loadavg jumps to 10 and the system becomes almost unresponsive at all (long time to turn on/off caps lock, slow mouse cursor position updates, slow switching from X server to Linux console, slow login).

The stopped mkcromfs still holds a lot of memory (464.8 MiB and slowly falling) and moves it to swap only when more memory is needed for some other program, which results in a great slowdown.

How to tell the Linux to swap out this process entirely (e.g. I'm not intending to resume it in short term), possibly waking from swap other data? Also it will be useful to be able to specify the exact swap device to swap the given process out (for example, mkcromfs's memory is useless in ramzswap).

Update: Now I just write a 400-600M of data from /dev/erandom to tmpfs and it makes mkcromfs to shrink. Is there more proper way?

View 1 Replies View Related

General :: Man Pages Not Displayed / Saying Formatting Pages And Then It Is Displaying Blank Page?

Sep 9, 2009

when i input man <cmd>.....it's saying formatting pages....n then it is displaying blank page.

View 6 Replies View Related

General :: Bringing Up Oracle XE Listeners

Oct 23, 2010

Instead of using sudo to start the listener, first use su - oracle, then start the listener.

su - oracle
password: oracle
lsnrctl start LISTENER
lsnrctl status

I was then able to bring up the Oracle home page a few minutes later with: [URL]

View 2 Replies View Related

Fedora Networking :: 4GB Of RAM And 6GB Of Swap Space - CPU Process Normally Don't Occupied More Than 30%

Dec 1, 2010

Whether i am short of memory or some memory corruptions? If so, what can i do? Because i find it hard to believe this is a memory problem when i have 4GB of RAM and 6GB of swap space, and my CPU process normally don't occupied more than 30%

Well my Linux is keep on crashing.

Code:

View 8 Replies View Related

Server :: Look Which Process / Application Is Using SWAP Partition / File?

Jul 10, 2010

Is there any way to take a look which process/application is using SWAP partition/file?

View 1 Replies View Related

General :: Booting (system Hangs For 2 + Mins When Bringing Up The HDD)?

Mar 15, 2010

I have never had this problem before but when i boot the system hangs for about 2 mins when brining up my harddrive I am using scsi disk support and the newer ATA driver for my Harddrive (the same as ive always used but for some reason the system just hangs for like 2 mins then boots normally

this is somthing that urks me and i know im missing somthing the platform is a hp nc8230 notebook please request any information or how to provide it as i am new to linux (kinda) but for the life of me i can't figure this one out

[Code]...

View 2 Replies View Related

General :: Use Windows Pagefile.sys (swap) As Swap?

Feb 19, 2010

I know it's possible, but does anyone have a URL or tutorial on how to do this?

View 3 Replies View Related

Fedora :: Apache Not Parsing Php Pages / Trying To Run Php Script In Browser Its Not Opening Php Pages?

Feb 19, 2010

I have a Cent OS 5.4 32 bit final installed in my dedicated server.

I used to run lighttpd with php in my server until now and all was fine.But yesterday I changed my website which needs apache to run. So installed apache using yum install httpd command.

Then I added the virtual host name of my domain in webmin panel but when i try to run my php script in browser then its not opening php pages.

Instead it downloads php files like index.php when i open in browser.So I guess apache is not able to compile and run php pages. Only html pages are opening right now..

View 2 Replies View Related

General :: Kills A Process Internally Or From Where It Picks File To Continue Its Process?

Jan 8, 2010

one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.

View 3 Replies View Related

General :: Elevate The Priority Of A Process Without Process Superuser Rights?

Jan 21, 2011

I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.

View 3 Replies View Related

General :: How To Identify Raid Degrade Process / How To Rebuilt Process

Jun 12, 2010

send the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.

View 4 Replies View Related

General :: Sending Signal From Child Process To Parent Process?

Sep 8, 2010

Code:

#include <stdio.h>
#include <unistd.h>
#include <signal.h>

[code]....

Description of what the code does or what i intended to do:

1. Created a child process from parent process using 'fork()'

2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.

(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed

Code:

printf("%d
",msg->cpid);

I expected to get the pid of child process, which the child process sent to parent process through the signal.

View 3 Replies View Related

Ubuntu Servers :: 10.04 Not Bringing Up Console?

Aug 7, 2011

I'm having an issue with Ubuntu 10.04 server, where it is not bringing up a console on the local machine.

The only display on the local screen (and in /var/log/boot.log) is:

Code:
fsck from util-linux-ng 2.17.2
/dev/sda1: clean, 100725/2342912 files, 781590/9357824 blocks
init: ureadahead-other main process (595) terminated with status 4

Hitting <alt>-<f[anything]> just brings up a blank screen with a single flashing cursor, and no login prompt.

The ureadahead message sounds like the classic Windows error: "The operation could not be completed because of the following error: The operation completed successfully." So ureadahead isn't the problem.

Also... ssh works, but other services (apache, mysql, smbd, nfs-kernel-server, etc) need to be started manually.

View 2 Replies View Related

General :: Process Scheduler A Part Of Process Queue?

Aug 12, 2010

as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.

So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.

View 1 Replies View Related

General :: Find The Parent Process Of A Zombie Process?

May 4, 2010

How do you find the parent process of zombie processes?

When the child process is something where the parent is not entirely obvious...

Is there some way to list processes in tree format or something?

View 3 Replies View Related

General :: Process Shows Multiple Process Ids(pids)?

Nov 9, 2010

I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?

View 1 Replies View Related

Installation :: Bringing Ubuntu Into Network And Thus Online

Jul 31, 2010

I have an old computer with 128 megs of memory and one hard drive of 120 gigs. I have gone back and forth between installing Ubuntu and Puppy. Right now, despite advice against it because of the limited memory, I am thinking of sticking with Ubuntu. Puppy has some problems but that is not what I want to address right now. What I want to ask about in this discussion thread is how to get Ubuntu onto the Internet.

I think I get it, but I want to be sure. There is a menu option called "Network Connections" and it opens a window that has several tabs. Since I have a wired connection, I click on the "Wired" tab where it shows my connection in a list box. When I click on Edit it opens another window that displays a MAC address and there is an "Apply" button. When I click on this, there is an Authenticate window that opens up and it prompts me for a password. Is this password that it is asking for the same thing as the password that my router uses?

View 5 Replies View Related

Hardware :: Bringing Power Down On Home Server?

Sep 19, 2010

I just got my electricity bill for July & August and noticed a dramatic increase in my consumption. Basically, the amount of electricity has almost doubled (from 433 to 748kWh) and the increase happens mainly between 5pm and 11pm, as well as during weekends... I did not have to search for too long before I pointed out the issue... My new home server. It is configured to auto WOL at 5PM and auto shutdown (Cron) at 11PM. It also runs 24h/day on weekends...

Here's the server's config:

Hardware:
MSI Platinum K9N mobo
AMD Athlon64 CPU
1GB DDR2 Ram (2X 512MB)

[code]....

Everything else is only "run-on-demand" or scripts... I am searching for suggestions on how to minimize the power requirements. The video card is going to be replaced soon, by a standard PCI 4MB videocard. Next I will get rid of the 80GB & 750GB HDD's to be replaced by a 1.5TB HDD...

View 14 Replies View Related

Slackware :: Wicd No Longer Bringing Up Wlan0?

Jan 15, 2011

I have recently started using this laptop as a host for tinkering with vmware. I have wicd installed on it, which normally brings up wlan0 and connects to the nearest configured wireless lan automatically.

Vmware has installed another, virtual, NIC on the host, called vmnet8. I configured it in /rc.d/rc.inet1.conf with a static IP.

Now when I boot up the laptop vmnet8 starts up and running and correctly configured, but wlan0 doesn't. I have the wicd icon in my systray but it doesn't find a network, even when i click on it and refresh etc. I have to open a terminal and "ifconfig wlan0 up" in order to get the NIC up. Then wicd works fine.

Networking configuration in Slackware looks like a bit of a nightmare frankly (why i usually use wicd!) so I thought i'd ask you chaps before messing about too much.

View 6 Replies View Related

OpenSUSE Install :: Swap Partition : Need To Check Swap File System?

Mar 20, 2011

Does one need to Check the Swap filesystem, from time to time

View 4 Replies View Related

Debian Configuration :: Bringing Up Wireless Interfaces At Boot Also

May 11, 2010

My new Squeeze machine detects all of my hardware including the LAN and WLAN cards, but only brings up the LAN card. There isn't even an entry for it in /etc/network/interfaces for me to modify. I tried adding the info manually but then the entire network wouldn't start. I had it configured as a static IP and I know the commands were correct due to them working on the LAN card. I believe that the name "wlan0" was causing the problem, but how else can I bring it up at boot?

View 7 Replies View Related

Fedora :: Bringing Up Wlan Interfaces Failes On Boot?

Sep 27, 2009

Recently (I can't put an exact date on it but its been within the last few weeks) on boot I've had to wait two or three minutes for my system to bring up my network interface, in a way its never done before...The output of /var/log/boot.log is as follows:

Code:
Welcome to Fedora
Press 'I' to enter interactive startup.

[code]...

View 3 Replies View Related

Networking :: Will Bringing Down Loopback Interface Make Whole Server To Go Down?

Dec 14, 2010

I have a client's linux server where someone added a script which sends spam mails from the server's local loopback address (127.0.0.1) all my seniors worked on it and couldn't trace the script on the server this issue was going for a week, now I have an idea to bring down the loopback interface of that particular server(ya, that was not a permanent solution but just had an idea), but my support manager told that it will bring the whole server down(so far as i have learn't loopback address is used only for testing the NIC card's functionality), is that really bring the server down.?. How ever i tried this using a test machine all the connections works fine even after i bring down the loopback interface. As my client's server is a production server i can't test it there without clear knowledge, can any one help me out whether will it bring down the server or will it cause any side effects on it(i know that you guys are experts so i am asking it here)?

View 5 Replies View Related

Server :: Using Amavisd With Postfix - Bringing Up A Temporary Failure

Jun 22, 2011

I am running or was running a mail server. It used the titles service to scan emails but keeps bringing up a temporary failure right. But when I run the command 'amavisd' It brings up this error here:

[Code]...

View 1 Replies View Related

Ubuntu :: Swap Space Shows 0k But Have Volume Formatted As Swap

Dec 7, 2010

Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.

View 5 Replies View Related

General :: Ran New Process After Sungrid Process Finished?

Mar 23, 2010

I want ro ran new commandy after sungrid finish his task.Exp:qsub -q bla command1; command2 command2 start only when job of command1 finished.

View 9 Replies View Related

General :: Save The Process And Log Out Then Log In And Continue The Process?

Nov 16, 2010

I've been running my shellscript for about half an hour now. It's taking longer than I thought to process all the data. I have the process ID of it. Is it possible to save the process and log out then log in and continue the process? I know how to pause a process using kill -pause pID and continue it using kill -cont pID. But that only work if you don't log out after pausing it.

View 5 Replies View Related

Debian :: Boot Directly To Desktop Without Bringing Up Login Screen?

Mar 30, 2011

How can I boot Debian 6 directly into the desktop without bringing up the login screen or login password?

View 6 Replies View Related

Ubuntu :: Swap Or Swap File On Flash Memory?

Aug 16, 2010

RAM for older machines like I use is fairly cheap these days. But flash memory is just as cheap or cheaper. So I'd like to ask about the feasibility of expanding my system's memory using flash memory. And about whether creating a partition for swap on the flash memory, or whether a swap file on the flash device, is the better way to go.

By flash memory I have in mind mainly USB sticks or what are sometimes called "pen drives." But I do also have CF and SD cards that, with the proper cheap adapter (one of which I already own for adapting CF) could be used to create extra swap space. So, what is the current consensus on the feasibility/advisability of using flash memory for swap? I've read about the limited write cycles of flash being an argument against using it for swap. But recent reading indicates to me that the limited write cycles problem applies mostly to older, smaller-capacity flash memory. Some will come out and say that, for larger-capacity flash memory, the life of the device is likely to exceed the amount of time your current computer will be useful (I think I've seen estimates in the range of 3-4 years life--minimum--for newer, higher-capacity flash memory).

A more persuasive argument I've heard against using flash memory for swap is that access times for these devices can be much slower than SATA, and maybe even IDE, hard drives. That would certainly dictate against using flash memory for swap.

So, how about some input on this issue? Anyone using flash memory for swap? If so, what kind (e.g., usb stick or SD/CF)? Are you using a swap file or a swap partition? How's system performance? Likewise, has anyone had flash-memory-used-as-swap die on them? The consequences would undoubtedly be dire. Also, has anyone measured flash memory access times to confirm or refute claims about slow access times? Are some types of flash memory better/worse than others in terms of access times?

View 2 Replies View Related







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