Red Hat / Fedora :: Increase Nofile Limit For Daemon?
Mar 5, 2011
I'm looking for recommendations on how to increase the nofile limit for a daemon running as other than root. Does anyone else do this? It'd be nice if I could employ /etc/security/limits.conf.
View 2 Replies
ADVERTISEMENT
Nov 17, 2009
What is the difference between "soft nofile" and "hard nofile" by configuring 'open file'?
For example as below:
Code:
user1 soft nofile 1000
user1 hard nofile 2000
View 1 Replies
View Related
Aug 21, 2011
There I was, trying to update the package lists in a fresh install of Knoppix, when:
View 8 Replies
View Related
May 31, 2011
I'm recently receiving error message: Eynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf), E:Error occurred while processing libguile-ltdl-1 (NewFileVer1), Eroblem with MergeList /var/lib/dpkg/status, E:The package lists or status file could not be parsed or opened.'
I have tried to increase the cache by adding the line
It is apparently getting the value from elsewhere.
View 1 Replies
View Related
Jul 20, 2011
I need to increase the default stack size on Linux. As I know there are usually two ways:
ulimit -s size
/etc/security/limits.conf
The ulimit method only works as long as I am logged in.
limits.conf will work after a restart.
Is there a possible way to increase the limit without restarting?
View 2 Replies
View Related
Mar 24, 2010
This is happening on Ubuntu 9.10 serverI'm trying to increase the number of open files allowed for a user. This is for an nginx webserver where the current limit of 1024 is not enough.According to the posts I've found so far, I should be able to put lines into /etc/security/limits.conf like this;
Code:
* soft nofile 4096
* hard nofile 4096
[code]...
View 2 Replies
View Related
Jun 15, 2010
I've run a script which I need to parse a lot of data through to a webapp.
I got this error with my ruby script, running through jruby, firing into an apache webapp:
Java/util/Array.java:#### java.lang.OutOfMemoryError: GC overhead limit exceeded (NativeException)
(Where #### was the line number)
I've looked at:
[URL]
I think it suggests I do:
Code:
-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
-XX:+PrintGCDetails -XX:+PrintGCTimeStamps
-XX:+CMSIncrementalPacing -XX:CMSIncrementalDutyCycleMin=0
-XX:CMSIncrementalDutyCycle=10
My java version:
Code:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
Q1: How do I implement that into the java/util/Arrays.java file?
Q2: Is there a way of temporary making the Java VM/JDK have better handled GC overhead?
View 1 Replies
View Related
Jul 20, 2011
I'm trying to increase hard and soft limit of nofile kernel parameter by putting the following initscript into /sbin
Code:
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
# Increase the hardlimit for open files
[Code].....
But the limits still don't change as if the script is not run during startup.
View 5 Replies
View Related
Dec 28, 2010
my secure log is flooding with these messages..
sudo: pam_limits(sudo:session): wrong limit value 'unlimited' for limit type 'hard'
Dec 28 22:42:29 yn54 sudo: pam_limits(sudo:session): wrong limit value 'unlimited' for limit type 'soft'
Dec 28 22:42:29 yn54 sudo: pam_limits(sudo:session): wrong limit value 'unlimited' for limit type 'hard'
View 3 Replies
View Related
May 12, 2010
I have a VPS server with 512 MB memory. The php.ini is set so script memory limit = 16 MB. However, I have noticed in my top report, instances like the following:
Quote:
5484 coldclim 25 0 46476 32m 5920 R 0.0 6.4 0:00.93 php
The bold number of 6.4 is the % of sever memory this process is using. 6.4 % of 512 MB of memory is about 32 MB of memory, so it appears that this isn't being limited by php.ini. Am I correct? This leads to the next question: Is there some way to limit the amount of memory a single suphp process can use? (Basically, something like the setting in php.ini which limits suphp processes in the same way.)
View 2 Replies
View Related
Aug 8, 2011
I'm running FC 14 and the /dev/shm is no longer as big as it used to be (under an older FC). How can I increase the size of the /dev/shm? I tried the following
Code:
mount -o remount,size=6G /dev/shm
Which seemed to work, but then the system hung when I tried to use the extra space and I had to reboot. What's the correct way to increase the size of the /dev/shm partition?
View 3 Replies
View Related
Nov 7, 2009
In the sound preferences in Fedora 11, the sound can be set to 150%. I'd like to limit it to 100%.
The reason I ask is because MythTV likes to monopolize the system sound. It applies it's master volume setting to the system. The default setting is 70%, which is too quiet for me hear, but if I try setting it higher, it ends up putting the master sound over 100% which sounds like garbage. The volume also grows every time I change channels. So if it's at 110%, and I change channels it's at 120%.
Is there a way to keep volume at 100% or lower? Or at least limit MythTV?
View 2 Replies
View Related
Mar 31, 2010
is there a way to make the cpu fan turn faster at certain speed when the cpu temp. reaches lets say 65 or 70c automatically thru a script or config file ?
View 2 Replies
View Related
Aug 19, 2011
I need a really large console font! I used ter-v32n.psf.gz but it is not large enough for what I need. Anyone know of anywhere which I can download a few of them.
View 3 Replies
View Related
Aug 28, 2009
I'm new to Fedora and have just purchased a subscription to a GoDaddy Virtual Dedicated Server, which I'm able to control using SSH.I have a Java application that I want to run as a daemon on this VDS. Some google searching yielded a bunch of different methods of doing this, none of which I'm sure would be guaranteed to work with Fedora, so I was hoping someone here could give it to me straight and fill me in on the simplest way of doing this.What is the best/simplest way to run a Java application as a daemon on Fedora?
View 2 Replies
View Related
Mar 12, 2011
I was trying to get a daemon to load on boot, I stupidly added it to rc.local and it just hangs. I would love to put in a live CD and edit out the line but the volume is encrypted and I cannot get it to mount.
Is there a way I can cancel the daemon from loading or get to the grub menu (not readily visible since I am single boot) and then boot into a console?
View 5 Replies
View Related
May 5, 2011
i installed transmission on my fedora14 VPS for headless usage by "yum install transmission transmission-daemon", problem comes when i try to configure the init.d Scrip for transmission-daemon to run as a different user instead of the pre-specified user �transmission�,how should i modify the default transmission-daemon file bellow?
Code:
#!/bin/bash
#
[code]....
View 4 Replies
View Related
May 5, 2010
I've just hit an artificial 2GB file limit with my Inbox. WTF is this about, on fedora core 12 ! This is the type of crap I moved away from windows to avoid....
Now what ? I have to delete mail ? Migrate client ?
I routinely create files of over 12GB so its not a filesystem problem or limit .
Evolution 2.28.3
View 2 Replies
View Related
Oct 26, 2010
So I have a basic knowledge of Fedora, I have a LAMP stack on my box and I was wondering how to setup a router? My roomate is using too much bandwidth on his Nextflix, what's the best way to do this?
View 5 Replies
View Related
Jul 2, 2009
Is it possible to increase the size of a partition that is using LVM?I have 5GB of unpartitioned and unallocated space on my disk. I wish to add this to my VG. This free space is physically before the LVM partition.Can I increase the size of the physical partition using pvresize? Or is the only way to to create a new 5GB partition, add it to the VG and allocate it to the LVs? This is not ideal as I wish to minimise the number of partitions I have on the one disk.
View 1 Replies
View Related
Mar 30, 2010
How do I increase my font size in xdialog?
View 4 Replies
View Related
Apr 2, 2010
I'm trying to install some updates and I get the following error message:Test Transaction Errors: installing package kernel-2.6.32.10-90.fc12.i686 needs 2MB on the /boot filesystemI have 60 GB freespace altogether. How do I increase the size of the /boot filestem?
View 5 Replies
View Related
Apr 13, 2010
Ive just installed Fedora 12, max resolution option is 800*600 can someone advise how i can adjust or improve the resolution to at least 1200*700?Hardware: HP D330m, 2.8GHZ, 700MB RAM, VGA is a Intel Extreme Graphics Display.
View 6 Replies
View Related
Sep 17, 2010
In previous Fedora, we may add the following line to /etc/modprobe.conf
options loop max_loop=64
to increase the loop devices to 64.
However, this method no longer works in Fedora 13.
May I know how to increase loop devices in Fedora 13?
View 2 Replies
View Related
Apr 23, 2011
Does anyone know how to increase the mousewheel scroll length? Take for example, Google Chrome, in a Windows operating system one tick in the mouse scroll wheel moves the page 10 lines, while in Linux one tick only moves the page 4-5 lines which can be quite annoying when scrolling through large webpages, does anyone know how to change the scroll length? I'm using Fedora 14 x86_64
View 1 Replies
View Related
Nov 24, 2009
I've been trying to get my internal microphone to work in F12, and as part of the things I've tried I had the seemingly bad idea of reinstalling pulseaudio. The problem now is that pulseaudio fails to start... The following is from /var/log/messages, and is repeated several times:Code:Nov 24 08:51:20 localhost pulseaudio[6300]: main.c: Daemon startup without any loaded modules, refusing to work.
View 9 Replies
View Related
Jan 7, 2010
I have fedora 12 32 bits installed on a Macbook pro (intel core duo) I did "yum update" this morning, I have restarted the system and got the following message:Starting abrt daemon: abrtd: Failed to start: got sig 2 FAILEDI have browsed in the web but I cannot find useful information. Then I typed:$rpm -qa | grep abrt
abrt-libs-1.0.0-1.fc12.i686
abrt-libs-1.0.3-1.fc12.i686
abrt-addon-kerneloops-1.0.3-1.fc12.i686
[code]...
View 2 Replies
View Related
Jan 23, 2010
I'm having some problems getting my screensaver to work automatically.If I start the screensaver config program then it gives me this message: "The XScreenSaver daemon doesn't seem to be running on display ":0.0". Launch it now?" If I click yes then my screensaver works exactly as expected.How can I get the XScreenSaver daemon to start automatically?
View 3 Replies
View Related
Jan 25, 2010
I using Fedora 12. When I am going to start MySQL server then error is come
MySQL Daemon failed to start.
Starting MySQL: [FAILED]
MySQL Details :
mysql-5.1.42-2.fc12.i686
View 7 Replies
View Related
Jul 19, 2010
I'm having trouble booting after a recent bunch of updates (haven't been able to boot F12 from hard disk for a couple of days). The boot process gets as far as "NetworkManager daemon [OK]", then just stops. I get this for all 3 kernels that I can choose from the grub menu (2.6.32.16-141, 2.6.32.14-127, 2.6.32.12-115)Mounting the hard drive with a liveUSB, a quick inspection of /var/log/messages reveals that things go smoothly until: etc. until I hit the power button.I ought to mention that I wireless card that requires the Realtek RTL8192SE driver, which requires
Code:
sudo su
make
[code]....
View 1 Replies
View Related