General :: Setting /proc/sys/vm/overcommit_memory To 1 And Then Exhausting Addresses

Aug 4, 2011

As I understand it, setting /proc/sys/vm/overcommit_memory to 1 is supposed to make sure malloc always succeeds, and set the OOM killer loose if there's an actual memory problem.

I'm wondering what happens when you've malloc'd so much memory that you've exhausted the address space for your process? Does it return NULL despite the overcommit_memory setting, or does your process get a signal? Or something else entirely?

View 1 Replies


ADVERTISEMENT

Server :: Setting Up Postfix To Use Multiple IP Addresses?

Apr 17, 2011

I set-up his mail server for him with Postfix but what he wants I have no idea how to do.

Essentially he wants it so that the mail gateway IP corresponds with the dedicated IP of the domain and I have no idea how to accomplish this.

I found some documentation on the web saying that the fix for this was to run multiple instances of Postfix which I tried doing but each time I try to start the second instance I get the error that postfix is already running.

There has to be an elegant way to make this happen, I really hate to tell a client something can't be done even though the concept is a bit pointless, IMHO. I am hoping I can get some feedback here on if this can be done and if it can the easiest way for me to accomplish doing it.

Here is some of the config files (example.com has been put in place of the actual domain names and the ip of 5.5.5.5 is in place of the actual IPs


Code:
[root@youronlinehosting ~]# cat /etc/postfix/transport
example.com smtp:5.5.5.5
example.com smtp:5.5.5.6
example.com smtp:5.5.5.7

[Code].....

View 1 Replies View Related

Fedora Installation :: An Error Occurred Mounting Device Proc As /proc: Mount Failed

Jul 6, 2010

I've got the F13 LiveCD that I was able to boot and use using the "nomodeset" boot option. From the desktop I'm trying to perform an Install to Hard Drive. I've read the Install from LiveCD post regarding the creation of a /boot partition and a / root partition. I've tried creating them without the LVM group and with. But every time I appempt to install I get...

An error occurred mounting device proc as /proc: mount failed: (9, None). This is a fatal error and the install cannot continue.

Hardware is a Sager 8887 (P4, 3.06HT, 60GB HDD, Radeon 9000 graphics adapter)

View 7 Replies View Related

General :: Difference Between /proc And /sys?

Jun 10, 2010

the difference between /proc and /sys? Also, When enabling public-key authentication using SSH, what file on the remote machine must be modified and how?

View 1 Replies View Related

General :: Duplicate Ids In /proc/locks

Mar 30, 2010

Red Hat Enterprise Linux Server release 5.4 (Tikanga) 2.6.18-164.11.1.el5xen (Xen release for virtualisation)

I'm trying to track down a problem with a utility that used to work and now hangs indefinitely. Since its hanging, I suspected a locking problem, and went to have a look for the process ids in /proc/locks; I get:

148: FLOCK ADVISORY WRITE 30279 ca:21:49153 0 EOF
148: -> FLOCK ADVISORY READ 30282 ca:21:49153 0 EOF

Now as near as I can tell this shouldn't be my problem, since the two ADVISORY locks - one READ and one WRITE - shouldn't conflict with one another. But I'd like to understand it all the same. I haven't been able to find any kind of definitive guide for the format of /proc/locks entries, but what I did find in the manuals specifically states:

"Each lock has its own line which starts with a unique number. "

Which is obviously not true; both of my lines start with the same number. Also, since most search engines don't seem to play nicely with symbols, I can't find any reference to what the "->" means.

View 3 Replies View Related

General :: How To CPU Usage Of Process From / Proc?

Jul 15, 2011

I am currently writing a JAVA script to monitor certain unix processes through JConsole. Upon having lots of trouble with runtime.exec, i decided to bypass the top/ps command call and just get the information straight from /proc/*pid*/whatever.Now i can pull back any information from any of the files I want, and the current way i determine the CPU usage of a process is as follows:

Add the UTime and STime of that process from /proc/pid/stat then divide my pidCpu by UTime + STime + NTime from /proc/stat, then multiply that by 100, should give me the % cpu usage a process is using, right?Theory being if I get the jiffies assigned to my process, I can divide that by the total jiffies the cpu assigns. However, my results seem to vary from the ones gathered from top and ps. What am I doing wrong?

View 3 Replies View Related

General :: How To Remove /proc/sys/fs/binfmt_misc

Aug 8, 2010

unknow filesystem in my computer./proc/sys/fs/binfmt_miscPlease help me for remove this filesystem.How i do remove this filesystem?OS : ubuntu 10.04

View 2 Replies View Related

General :: Alternative To /proc/bus/usb/devices For Use In A Terminal?

Aug 24, 2011

/proc/bus/usb/devices should not be used anymore (and can't be mounted anymore on Ubuntu 11.04) But what is an alternative to it, for use in a terminal? I could easily grep that output to look for a certain device, but I'm lost in all the /sys/ entries...

View 1 Replies View Related

General :: Determine Socket From /proc/cpuinfo?

Jan 13, 2010

Is there a simple way to determine the CPU socket from the output of /proc/cpuinfo. Determining the type of processor is simple enough, but the processor I have (Celeron) has two different possible sockets. The output of /proc/cpuinfo is:

processor : 0
vendor_id : GenuineIntel
cpu family : 15

[Code]...

I've looked on the Intel processor finder web site with appropriate filters, but the stepping values do not appear to match anything.

View 1 Replies View Related

General :: Interpretation Of /proc/pid/sched Output?

Jan 6, 2011

in understanding the output of /proc/pid/shed

se.exec_start : 0.000000
se.vruntime : 26974.800748
se.sum_exec_runtime : 198.280320

[code]...

View 1 Replies View Related

General :: Unable To Open /proc Folder?

Sep 13, 2010

i had some issue with the machine rebooting multiple times, What happens is that the machine boots up and suddenly crashes and then boots up cleanly. I was going through the log files during when this occurs. I came across /var/log/syslog which i guess logs messages before shutdown. It has following messages which i think are causing problem.

Could not open /proc/26694/stat: No such file or directory
Could not read the file /proc/26694/stat
Could not open /proc/31128/stat: No such file or directory
Could not read the file /proc/31128/stat

Does any one know what these messages are?

View 2 Replies View Related

General :: USB And Hard Drive Listed In /proc But Not /dev

May 10, 2010

I'm working in CentOS 5.4 with the default 2.6.18-164 kernel (which I will be editing but have reverted back to in order to solve this problem.)

Near the end of the init script I have thrown a /bin/sh to get into a busybox bash shell in order to test some scripts. Ive attached the init below.

While in this shell I can see my usb drive in /proc/bus/usb/devices and my hard drive in /proc/scsi/device_info however I cannot mount them as they are not in /dev.

I have scsi emulation set in the kernel. When I plug in a USB stick it finds the address but still no sign of it in /dev. There are other modules listed in /sys/module such as usbcore that dont show up in lsmod, is that possibly the problem?

Init Script

Quote:

#!/bin/nash
mount -t proc /proc /proc
setquiet
echo Mounting proc filesystem
echo Mounting sysfs filesystem
mount -t sysfs /sys /sys

[Code].....

View 4 Replies View Related

General :: Source Which Created /proc/stat?

Jun 16, 2010

I would like to find out what sources created this /proc/stat?

View 2 Replies View Related

General :: Will Proc / Cpuinfo Gives CPU Info Per Core Or Per Thread?

Jul 18, 2011

My CPU has 2 cores, so I can see two parts in /proc/cpuinfo.But, I want to know if CPUs that support Hyper-Threading (or similar tech), will /proc/cpuinfo give CPU info per core or per thread (or call it sibling)?I only know that Windows Task Manager will give CPU usage statistics per thread if the CPU supports HT.

View 2 Replies View Related

General :: Change Permission To /proc/net/ip_conntrack On Ubuntu Server 9.10

Mar 28, 2010

I have a script that needs to extract certain information form the /proc/net/ip_conntrack file once in a while. I do not wish to run this script as the root user.

Default permissions for the file is:

I can change it with:

But that does not stick after a reboot. Is there some configuration file for file-permissions in the /proc directory in Ubuntu Server 9.10? Or do I just have to stick a chmod line in some startup script?

View 1 Replies View Related

General :: Using The /proc File Systems To Increase Performance And Functionality?

Jul 5, 2010

I'm interesting in knowing what processes could be altered to improve performance and functionality on my system. And which process may be the best one to alter

View 2 Replies View Related

General :: Understand Cpu Family/model/stepping Fields In /proc/cpuinfo?

Feb 26, 2011

I have following in cpuinfo:

processor : 0
vendor_id : AuthenticAMD
cpu family : 15

[code]....

View 2 Replies View Related

General :: Find Which HT-cores Are Sharing A Physical Core From /proc/cpuinfo

Sep 2, 2011

There is a computer with two "Xeon(R) CPU X5550 @ 2.67GHz" CPU. The Hyper-threading is enabled, so it looks like 16-core system, but really there is only 8 physical cores.

I know that when hyperthreading is enabled, each physical core is splitted into two virtual cores. I want to know, which pair of virtual cores shares a physical core and which are not. Or, how (in what order) will Linux enumerate HT-cores comparing to real cores. (enumerating is done for sched_setaffinity and taskset masks).

I have a dump of /proc/cpuinfo file from the system.

I think there are possible:

CPU0-CPU7 are not sharing phys. core. CPU8-CPU15 too. But sharing is in pairs CPU0+CPU8, CPU(i)+CPU(i+8) and so on. or CPU0+CPU1 are from single physical, CPU2+CPU3, CPU(2*i)+CPU(2*i+1). or exotic CPU0+CPU15 sharing, CPU1+CPU14 ... or random?

The hard moment in this case is that there are 2 physical dies of CPU (two sockets), and usual recommendation of using "physical id:" field can't help

The cpuinfo:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU X5550 @ 2.67GHz

[Code].....

View 1 Replies View Related

General :: Ifconfig Indicates Different Interrupt Number For Eth0 Than Proc Aqd Sys File System

Sep 22, 2011

On my system (OpenSUSE 11.4 - kernel 2.6.37) ifconfig indicates different interrupt number for eth0 than proc aqd sys file system.

ifconfig indicates 17:

proc fs indicates 43:

sys fs indicates 43:

Relevant part of lspci -vv output for irq 17 (this belongs to wlan0 and not to eth0):

Relevant part of lspci -vv output for irq 43:

View 1 Replies View Related

General :: Java Process Without Memory Detail In Proc File System?

May 13, 2010

To get the kernel messages of new java process, i refer the details from /proc/<java pid>/stat and /proc/<java pid>/statm files. For some java processes, I didn't find any details in the /proc/<java pid>/statm file. It has only 7 number of 0s. But /proc/<java pid>/stat file has the details. And also this kind of process will have the life time of nearly 1 minute.

Kernel version using: Linux-2.6.18-8.1.8.el5 Is there any possibility of java process without the memory details in the /proc/<java pid>/statm file? If it is possible, how to know the memory related details of that processes?

View 1 Replies View Related

General :: Setting Time And Date / Setting Calendar Format?

May 14, 2010

Have installed Suse 11.2. how can I change the calendar format dd/mm/yyyy and how to configure the system to sync.from an ntp?

View 1 Replies View Related

General :: Network Setting / Change Eth0 Setting?

May 4, 2010

I have a ubuntu server , can advise if I want to change the network setting ( eg. IP address , gateway address etc ) , which one is the configuration file ? for example , if I want to change eth0 setting , what file I should update ?

View 10 Replies View Related

General :: How Virtual Addresses Actually Mapped

Aug 3, 2010

The command cat /proc/PID/maps shows the memory map (virtual addresses) of the process. How these address are actually mapped?

View 3 Replies View Related

General :: New Email Addresses Not Saved?

Dec 5, 2009

I have my email on a separate partition so that my email doesn't get destroyed when I do new linux installs (I have emails from 5 years ago now). I also keep my sylpheed email addressbooks. This partition is writable by anybody and I have also made my user the owner of this partition during each linux install (media/email). When I set up sylpheed I tell it that my email is in /media/email and then it is able to write incoming messages to that location. The problem I am having is that I make symbolic links for my addressbooks from ~/.sylpheed* to /media/email using this:cd ~/.sylpheed*rm addrbook-000001.xmlln -s /media/email/addrbook-000001.xml addrbook-000001.xmlSylpheed finds my addressbook ok on my email partition but changes that symbolic link to a file on ~ when it writes new addresses. What am I doing wrong...I want it to write new addresses to my email partition?

View 4 Replies View Related

General :: Using IP Addresses - Statics And DHCP

Sep 17, 2010

In school, use SUSE Server and made it by DHCP but in my hand I changed many rules. All are OK at the start but now they requested that they who are principal, and vice principals are want to use the Internet without filtering.

So I've made new rules by using Webmin software to control the SUSE Server. 1st I've gave static IP from LAN x.x.x.40 to x.x.x.45. 2nd IP is x.x.x.12 to x.x.x.15.

At First, there's nothing happen but now I've got problems because Server gave DHCP so that Server gives IP itself and conflict with static IPs. And also I can't find in Webmin software how to disable the DHCP Assign.

View 6 Replies View Related

General :: Printing Addresses On Envelopes?

Nov 18, 2010

I almost never boot windows anymore - but there is one thing I miss

In msword I was able to print addresses on envelopes and/or labels

I have not found that capacity on fedora 13 with Abiword and Open Office writer

Is it there seomwhere?

View 4 Replies View Related

General :: ProFTPd Deny All Except Certain IP Addresses?

May 19, 2010

How can I configure proFTPd to deny all unless:User is part of group: ftpguysClient IP matches either: 1.1.1.1 or 2.2.2.2 or 3.3.3.3I already have the config file (proftpd.conf) setup to only allow users who are part of the group ftpguys. To do that I use this:

Code:
<Limit LOGIN>
AllowGroup ftpguys

[code]...

View 7 Replies View Related

General :: Configuring SSL To Recognize Two Different IP Addresses

Oct 6, 2009

I have a webserver setup for myself with two domains. Both need ssl. I am running fedora 10 Apache/mod_ssl. I am trying to configure ssl.conf to recognize two different IP addresses, one for each domain.

Each has their own Vhost containers (NamedVirtualHHost)
<VirtualHost 192.xxx xxx x01 :443>
blabla
blabla
</VirtualHost>


<VirtualHost 192.xxx xxx x02 :443>
blabla
blabla
</VirtualHost>

I call https... first site works ok. I call https....second site it calls the first ssl cert (bad cert). Apache does not separate the two. My question, how do I get apache to deliver https..domain_one and domain_two correctly?

View 3 Replies View Related

General :: Mail Not Sending To Internal Addresses

Sep 4, 2009

I'm using the mail command and I am able to send mail to my gmail account with out any problems. However when I send mail to deco -at- mycompany.com I nothing happens and no mail ever arrives in my mailbox. It might be worth mentioned that my centos5 is a virtual machine on the same server as the company exchange mail server.

View 1 Replies View Related

General :: Virtual Addresses Accessed By An App During Its Execution?

Mar 17, 2010

Get the list of virtual addresses being accessed by any application during its execution time. I don't want the complete memory map but just the pages which were accessed during an application's execution?

View 2 Replies View Related







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