Ubuntu :: Increase Maximum Amount Of Allowed Shared Memory?

May 17, 2011

My problem is I installed Zone Minder for camera security and I'm testing it on my laptop with the built in webcam and everything seems to work perfectly except when I try to view the live feed from the camera, it's just a black box. No video.

I checked this website and it's exactly the problem I'm having with a fix for it but his fix doesn't work. He says to type:

Code:
user@ubuntu:~$ sudo echo "256000000" > /proc/sys/kernel/shmmax
user@ubuntu:~$ sudo service apache2 restart
user@ubuntu:~$ sudo service zoneminder restart

But when I do the first line, I get this:

Code:
deemar@Clementine:~$ sudo echo "256000000" > /proc/sys/kernel/shmmax
bash: /proc/sys/kernel/shmmax: Permission denied

View 2 Replies


ADVERTISEMENT

Slackware :: Limit For Maximum Amount Of Locked Memory?

May 9, 2011

When I run ardour sound editing I get this message , but it starts ok Your system has a limit for maximum amount of locked memory! This might cause Ardour to run out of memory before your system runs out of memory. You can view the memory limit with 'ulimit -l', and it is normally controlled by /etc/security/limits.conf

bash-4.1$ ulimit -l
64
my limits.conf is like this
audio - rtprio 99
@audio - memlock 250000

[Code]...

View 2 Replies View Related

General :: Changing Maximum Shared Memory Size

Jul 17, 2011

How do I change the size of the available shared memory on Linux?evidently 4GB is not enough for what I am doing (I need to load a lot of data into shared memory - my machine got 8GB of RAM).

View 2 Replies View Related

Fedora :: User Memory Allocation - Set A Maximum Limit On The Amount Of Ram A User Can Utilize?

Jul 24, 2009

I have a few multi-user servers in an academic laboratory. I am having a problem with some users maxing out the available RAM, causing such sever slowdowns the machine essentially crashes. My servers are Dell Power Edge's running Ubuntu 8.10 Server Edition (Not my choice). I would like to set a maximum limit on the amount of ram a user can utilize. This morning I experimented with setting limits via /etc/security/limits.conf and using ulimit. Neither of them prevented my test program, a simple infinite loop of mallocs, from crashing the server.

View 7 Replies View Related

Fedora :: Maximum Amount Of Ram A 32bit OS?

Feb 14, 2009

I will be upgrading my RAM soon. What is the maximum amount of ram a 32bit OS can see?

View 14 Replies View Related

Ubuntu :: Settings To Change Maximum Allowed Speed Of CPU

Jul 11, 2011

I have an AMD Athlon Regor 2.8 Ghz Dual Core CPU. About a month ago I overclocked the bad boy to 3.36 Ghz, on stock voltage. Since I have an AMD chip, I have the Cool and Quiet feature. With CnQ on, it never shows more than 2.8 Ghz (my stock speed), even on Full Load. However, with it off, it shows the correct 3360 Mhz all the time. I would like to keep CnQ, as well as my overclock. I've read in forums that it's okay to do that, that CnQ will automatically clock up to overclock when needed. But for me, with CnQ on, it only hits 2.8. Nothing more. Is this an Ubuntu problem? Is there a setting where I can change the maximum allowed speed of my CPU?

View 4 Replies View Related

OpenSUSE :: Open Windows In The Maximum Amount?

Jul 15, 2011

Once turned on and turned off the desktop effects was a change in the settings windows, always open windows in the maximum amount for all programs. How to Recover the initial setting?

View 5 Replies View Related

Ubuntu :: Increase The Amount Of Space?

Jun 16, 2010

When I installed Ubuntu(with W.U.B.I) it gave a set amount of space, unfortunately I have come near the end of the set 15GB's I was just wondering if there was a way to increase the amount of space ubuntu can use

View 9 Replies View Related

Ubuntu :: Can Increase The Maximum Volume

Jan 22, 2010

I used to have Windows on my laptop, until I got the blue screen, so I just installed ubuntu. Well everything was ALOT louder on Windows, and I was wondering if there was a way to increase the maximum volume. I have to turn the volume almost all the way up to watch a movie. On Windows 1/4 volume was plenty. I searched, but alot of the answers I saw were that it was hardware limitations, which cant be the case, since it was a ton louder on Windows

View 5 Replies View Related

OpenSUSE Hardware :: Increase The Maximum Screen Resolution?

Apr 9, 2010

I recently installed 11.2 and am now trying to increase the maximum screen resolution.When I go to 'confifure desktop' > 'display' it will not let me increase the maxiumum screen resolution past 800X600.My nVidia 6150 LE drivers/kernal are installed, so I'm not sure quite what to do.

View 7 Replies View Related

Programming :: Create A Shared Memory And Some Shared Objects?

Jun 11, 2010

I want to create a "Shared Memory" in linux, then create multiple "Shared Objects" that can access to a Table for example; And one of them can write something into the Table and the other can access and read it, so that these operations can be handled by programmer! I'm using Ubuntu 9.04 and I've set it's runlevel at 3 (I have commandline environment now!) I've searched the Internet so much, but couldn't find a good sample code for this! I have no experience about it and need your help to introduce me a sample code about it and advise me how to compile and use it with "GCC"?!

View 6 Replies View Related

Hardware :: Different Amount Of Memory (RAM) Shown

May 14, 2009

On a new box with Debian Lenny, I have 2x2 gig of ddr2 but the karamba applet show only 3291mb. And dmesg show this:
Code:
dmesg | grep Memory
[0.004000] Memory: 3362976k/4194304k available (1769k kernel code, 43092k reserved, 752k data, 244k init, 2489792k highmem)

View 2 Replies View Related

OpenSUSE :: Top Indicating Wrong Amount Of Memory Used?

Jun 4, 2010

as you should see, top is indicating 3.544.864kb (3.5Gb) of memory used while gnome system monitor only 609Mb. What's wrong here? (I am pretty sure Gnome SM is right. Top is updating every sec.)

View 1 Replies View Related

Programming :: Checking Amount Of System Memory?

Nov 8, 2010

I need to allocate a % of the total system memory for a buffer but what is the best method to determine how much memory is in the system? So far the only way I have found is to get the pages of memory:

Code:
long sysconf(_SC_PHYS_PAGES)
Is that the only option?

View 2 Replies View Related

Programming :: Possible To Know The Amount Of Memory Used By A Program Before Running It?

Mar 3, 2009

I would like to know if there is a linux command to verify the amount of memory used by a program. The programs I am using were compiled with gfortran.

View 2 Replies View Related

Programming :: Total Amount Of Allocated SHM Memory?

Aug 25, 2010

Is there an easy way in C to get the total amount of allocated SHM memory on a machine?

View 7 Replies View Related

Server :: Calculate The Total Amount Of Memory Used By The System?

Jul 15, 2010

I want to calculate the total amount of memory used by the system, Someone please confirm if the below formula is correct.Quote:

((memUsed-mebBuffers-memCached)*100)/memUsed => totalMemoryUsed%
Code:
free -o
total used free shared buffers cached
Mem: 8167004 8115292 51712 0 87680 1444676
Swap: 8388584 3252996 5135588
((8115292-87680-1444676)*100/8115292) => 81%

As per the above calculation 81% of memory is used.Is this correct? and if so Am I running out of memory?what is the limit in % that I should maintain for a better performance?

View 3 Replies View Related

Ubuntu :: Understand A Large Amount Of Allocated Memory That Seems Not To Be Accounted For On System?

Mar 24, 2010

I am trying to understand a large amount of allocated memory that seems not to be accounted for on my system.I'll say up front that I am discussing memory usage without cache and buffers, 'cause I know that misunderstanding comes up a lot.I am in a KDE 4.3 desktop (Kubuntu 9.10), using a number of java apps like Eclipse that tend to eat up a lot of memory.after a few days, even if I quit most apps, 1 gb of ram remains allocated (out of 2 gb).this appeared excessive, and I took the time to add up all values of the RES column in htop (for all users).the result was about 1/2 gb.am I trying to match the wrong values?or could some memory be allocated and not show up in the process list?this is the output of free

Code:
total used free shared buffers cached
Mem: 2055456 1940264 115192 0 123864 702900

[code]...

View 6 Replies View Related

Ubuntu :: How To Increase Memory

Jun 18, 2010

I am new to ubuntu i have installed ubuntu 10.04 through windows , while installing i selected size as 4 gb, but now after updating the ubuntu i am getting a warning as low disk space, how can i increase the memory where ubuntu is installed.

View 1 Replies View Related

Programming :: Write A Script To Calculate The Total Amount Of Installed Memory?

Apr 4, 2011

I am trying to write a script to calculate the total amount of installed memory to use during an anaconda kickscript, so the swap file is created at 2 x the installed memory. I so far have the amount of installed RAM DIMMS but need a way to total them up and produce a varible I can use in the pre section of the install.

Code:

dmidecode -t 17 | grep Size | awk ' { print $2 }'
Output:
2048
2048

Note: on some servers there could be from 1 DIMM up to 16 DIMMS installed so the script needs to be able to handle this. I also can not use bc as it does not exist during the install stage. I am guessing I need a while loop to do this and use expr but do not know where to start for this logic.

View 3 Replies View Related

General :: Using / Usr / Bin / Time Always Returns 0 When Getting Maximum Resident Memory?

Mar 5, 2010

First time here at LQ, so if the post is in the wrong place, this is a bit programming related. I've been trying to find the maximum resident memory of a process in a memory constraint situation.

Instead of using top, or ps, which gives me real-time snapshot at the memory usage of a process, is there a way to determine the maximum resident memory used by a process? /usr/bin/time seem to provide this functionality within the format string

[Code]...

The minor page-fault is suspicious, does that mean memory is being used.. but not recorded? if so, how can I know how much memory is being mapped?

View 3 Replies View Related

Hardware :: How To Increase Physical Memory

Jan 23, 2011

I'd like to ask you how install new physical memory in my hp ml350 g6 server with linux redhat operating system>

i sugess it is easy like in windows operating system but there is frind told me you must make mount , i am new with linux os .

View 2 Replies View Related

Server :: Wordpress Not Starting Properly - Fatal Error: Allowed Memory Size Of 16777216 Bytes Exhausted

Jan 11, 2010

I have recently decided to venture into online blogging and other things, and my friend told me wordpress is a great tool for this. I have set up my mysql database, and apache and php are all working fine, and when i copy my wordpress folder into my /var/www/, and edit the config file for my database, i point my browser to[URL] to get it up and running. But i only get the error: "Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 7680 bytes) in /var/www/wordpress/wp-admin/includes/plugin.php on line 302". Some googleing seems to suggest that this may be a problem with a php.ini file, but im assuming this is a windows based solution, and im not sure where/what a linux alternative is.

View 4 Replies View Related

Slackware :: Increase Locked Memory Available To Users?

Nov 15, 2010

I'm running Ardour, and when I launch it I get the following:

Code:
WARNING: Your system has a limit for maximum amount of locked memory!
This might cause Ardour to run out of memory before your system runs

[code]...

View 8 Replies View Related

Red Hat / Fedora :: Increase Memory Space Allocated For Process?

Jun 1, 2010

I want to know if i can increase the memory space allocated for a process manually while the process is running ,,,, and if it is possible how i can do this .

View 2 Replies View Related

Ubuntu :: Slow Gaming Experience - Increase Graphics Memory Allocation?

Jun 9, 2011

When I play Bejewelled Blitz on Mozilla firefox or Google Chrome,, it is so painfully slow that it is frustrating, I have all the latest updates from Ubuntu installed including the Adobe flashplayer. Is there some way I can increase the graphics memory allocation?

View 5 Replies View Related

Ubuntu :: Error: Allowed Memory Size Of 20971520 Bytes Exhausted (tried To Allocate 7680 Bytes) In /var/www/index.php On Line 2

Jan 9, 2011

I recently had to move to a new machine, everything went well except for one thing. I did fresh installation of LAMP server all with default configs. Every time I'm using PHP script to that invokes include, require or require_once I get the following error:

Code: Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 7680 bytes) in /var/www/index.php on line 2 index.php file: PHP Code:
<?php    include "index.php";?>
icukapi.php file:
PHP Code:
<?php    echo "test";?>

My memory_limit in php.ini is set to 20M. I tried to increase that however it didn't quite work. PHP seems to allocate all possible space and return that message every time i try. If somebody has an idea of how to fix it I would be more than grateful. I spend quite a long time searching for an answer however the all things i found suggested increating memory_limit which in this case doesn't work.

View 1 Replies View Related

Debian Hardware :: Debian Squeeze Memory Amount Incorrect?

Feb 23, 2011

Fresh install of Debian 6.0 (squeeze) and the memory shows 3.8 GB. I have 6 sticks of 2 gb on the board.

Pertinent dmesg lines: AMI BIOS detected: BIOS may corrupt low RAM, working around it.

3083MB HIGHMEM available.
883MB LOWMEM available.
Bios tests 12 gb of ram fine.

View 4 Replies View Related

Fedora Security :: Why Is Httpd Allowed To Start Binded To Port That's Not Explicitly Allowed?

May 28, 2010

While reading some papers on securing apache with selinux, I have tried to bind httpd to port 3000 expecting to be blocked by the selinux, since port tcp 3000 isn't on the http_port_t list. However I was able to start the service...

I'm preety sure selinux is enforcing. Also, if I bind httpd to tcp 81 selinux denies the start of the service, as expected!Did I miss something? Why is httpd allowed to start binded to a port that's not explicitly allowed?

View 12 Replies View Related

Programming :: Shared Memory IPC Variations ?

Apr 19, 2010

I have 2 applications that send and receive messages through shared memory IPC. When I run the app ..it works but the number of messages per sec keeps changing drastically sometimes it is 400-500 per sec..then 800 then 1200 then 2000. is this normal with SHM IPC or could it be a code related issue.

View 9 Replies View Related







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