Ubuntu Servers :: Cannot Increase Open Files Limit On 9.10 (goes Down But Not Up)?

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


ADVERTISEMENT

Ubuntu Servers :: Is It Safe To Raise The Open Files Limit

Mar 7, 2011

Running an nginx webserver on Ubuntu 10.04 lts In the process of trying to optimize the mysql, various tuning scripts keep telling me to raise the table cache. But they also say the table cache should stay below 1/3 of the open files limit. I can raise that in mysql, but I guess you're not supposed to raise it above the OS's open files max. So I'd like to raise it (found what appear to be solid instructions here: [URL] But... Post by Kees here says it's not safe to raise it [URL] at least, not safe under certain conditions. But I'm not clear on what the conditions are. is it safe or not? If I knew how to just raise it for mysql, I'd do that. But as you can probably see, I'm pretty new to all this. Don't want to wreck my server. (my current limit is the default 1024... wd like to go to 204

View 5 Replies View Related

Debian :: Open Files Limit Not Being Enforced

May 20, 2015

Learning about the ulimit command, I came across something unexpected..

Checking the root account limits:
# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 16382
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited

[code]...

View 2 Replies View Related

Security :: Limit To Open Files And Leaf Compile?

Jul 12, 2010

if i wanna to compile the unrealircd ircd server with max 150 users what i have to do i remember is on limits.conf the open filesbut i am comfusing the soft and hardmust have the same number !? or different?the second is if i wanna this shell when the user download the pack and he going to make compile to allow him to have only the option to compile in leaf mode and not hubso

View 1 Replies View Related

CentOS 5 Server :: Change Limit Of Max. Open Files?

Jul 17, 2009

I use CentOS 5.3 and trying to change limit of max. open files.I added in /etc/security/limits.conf

root soft nofile 50000
root hard nofile 50000

View 3 Replies View Related

Ubuntu Installation :: APT - Cache-Limit Increase ?

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

Debian :: Increase Apt-cache Limit?

Aug 21, 2011

There I was, trying to update the package lists in a fresh install of Knoppix, when:

View 8 Replies View Related

Ubuntu Installation :: Java: Increase GC Overhead Limit?

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

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 View Related

General :: Increase Stack Limit Permanently Without Restarting

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

Ubuntu Security :: One Limit The Number Of Open Sockets To Prevent Exploiting?

Dec 6, 2010

I was searching around and I stumbled upon a Linux Kernelix Sockets Local Denial of Service exploit.I downloaded the exploit, compiled it ran it to check if I am vulnerable.As I was expecting, the exploit instantly "killed" my Maverick system and I had to use the power button to reset my computer...Is there any way to limit the numberof allowed open sockets?I don't think that this can be done using /etc/security/limits.conf in a similar way of preventing the fork bombs

View 1 Replies View Related

Server :: Open File Limit On Debian Squeeze ( 6.0.1)?

Apr 28, 2011

I have a problem with open file limit. The software I'm installing claims "Open file limit (ulimit -H -n) too low (1014), need at least 6311" but when I check the linit I get the following

Code:
# uname -a
Linux server 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux

[code]...

View 2 Replies View Related

Ubuntu Servers :: Increase Partition Size On 11.04?

Sep 1, 2011

I have a server setup running VirtualBox and several Windows guests. I'm running the box headless and start the windows machines using

Code:

sudo vboxheadless -s "WinXP Pro SP3"&

via SSH session from my MacBookPro in terminal. I then connect to the Virtual Machines running MS Remote Desktop from the MacBookPro. All of this works perfectly except that I've run out of space on my partition for Virtual Machines and need to create a few more. I have plenty of room on the HDD but when first installing Ubuntu Server I only partitioned and formated about 1/4 of the drive. Is it possible to run a command in my SSH session at the command line to partition the unused portion of the HDD, format it, and expand my current partition into that space? Or, do I have to use something like gpartedlive, boot from the CD and do the partitioning?

View 7 Replies View Related

Server :: New Open File Size Limit Is Getting Reflected In The Specific User?

May 16, 2011

Last weekend i have increased the open file size (ulimit -n) for the application user id i have update the limits.conf file with necessary inputs restarted the service and the server as well, when i check the ulimit value for the specific user by switching user from other user it shows the new value (10240) but if i login directly using the application id the ulimit value shows as 1024 which one is the default one.

View 6 Replies View Related

Ubuntu Servers :: Limit On The Number Of Processors?

May 6, 2010

I have a server with 48 cores, 8 6-way Opteron CPU's. Ubuntu Server 9.04 only sees 32 processors. Is there a limit on the number of cores/processors that the server will use? Windows 2008 on the same server sees all 48 cores and the so does the BIOS, so this is unique to Ubuntu right now.

View 5 Replies View Related

Ubuntu Servers :: 3.0 Tb Partition Size Limit?

Jun 19, 2010

I really don't understand what's happening.I make a 3.5tb RAID array in Disk Utility, yet it makes it so that one partition is 3tb and the other is 500 gigs free!Why is that? Ext4 can do huge partition sizes I thought.

View 1 Replies View Related

Ubuntu Servers :: Increase The Clients And Want To Upgrade To Latest 10.04?

Apr 26, 2010

We have been using Ubuntu 8.04 with ltsp the server is Intel P4 with 2 GB Ram and the 8 client consist of either Atom or old P3 and P4. Now we want to increase the clients and want to upgrade to latest ubuntu 10.04.

I heard AMD does excellent job with LTSP but is it possible to have intel clients and AMD as a server. If not then which the best intel server I can have other than xenon (Bcoz of the price factor i dont want to go for that)

View 1 Replies View Related

Ubuntu Servers :: Boot Is Using 95.3% Of 129MB - Increase The Size?

Aug 6, 2010

=> /boot is using 95.3% of 129MB Size 129.12 MB / Free 113 kB So why is it using so much? And how can I increase the size? Ubuntu 10.04 lts server 64 bit.

View 3 Replies View Related

Ubuntu Servers :: Increase Size Of Root Directory?

Sep 27, 2010

Is it possible to increase the size of the root directory / on ubuntu 9.10?

View 5 Replies View Related

Ubuntu Servers :: Limit Apache Speed For Web Development

Mar 16, 2010

Is there a way to limit the speed that apache will send a page to a specific computer in my LAN? I would like to be able to test what my pages would be like if they loaded at 25KB/s for example. My Server is 192.168.0.2 and the other 'browser' computer is 192.168.0.4.

View 3 Replies View Related

Ubuntu Servers :: Limit To The Size Of POST Variables?

Mar 3, 2011

I have a problem with a PHP/Apache program.

The website creates a RPG character through a traditional Wizard. It calls itself with a hidden variable being the page number and tests which page and returns the page data with the page incremented.

Each page should be treated as a seperate page and so would be unique. I am echoing the contents of POST to the top of the page and so I can see variables being returned. When I get data from an Ajax query from page three it saves the data (23 post fields of no more than 25 characters for each field). Page four does the same but with less fields - but it is NOT returning the data - only four fields being those that were originally posted.

I cut/paste the function from section three to section four and changed the displayed text and the names of variables to test so there are no code errors, since page three works and is saved to a database.

So the only option is that there is a PHP or Apache2 issue when POST variables are returned? I am completely out of ideas as to why this would even be an issue or how it could possibly appear.

Is the number of variables an issue? This page is less than the previous page.... And the form is POSTed...

PS: I am getting NOTICE errors from PHP being the POSTed variables that are not displayed/returned... I used:

error_reporting (E_ALL ^ E_NOTICE);

to stop these form being reported but do I need to test each one? PPS: Using If Isset($_POST['xxx']) does NOT allow that variable through...

PS: I have the default Ubuntu 10.04 Apache2 with all the ubuntu 10.04 updates...

View 3 Replies View Related

Ubuntu Servers :: Max Limit On Filling Up A Non-root Partition?

May 18, 2011

I have a number of servers I manage, and one of them is archiving old data that is never modified on a separate partition. This partition is at 100% capacity. A friend of mine says this is an unsafe way to keep this partition, even tho I don't plan to add any more data to it or change anything within. I know I can archive the data to dvd, but I'd like to keep the data online for my users.

What are your opinions on this? Can I keep this archive partition at 100% capacity? Or do I risk some sort of data corruption? Should I mount this partition as read-only to help prevent any corruption?

View 4 Replies View Related

Ubuntu Servers :: IPsec - Limit Users Or Groups

Jun 22, 2011

I successfully configured a VPN using IPSec(Openswan) and xl2ptd. While roughly following this guide (among countless others): [URL]

The VPN-Connection works fine, connecting to it is also a swirl, I can reach all that I want in the network, and also the gateway to the Internet works - everything being routed through that VPN.

Now my problem is actually the next steps, and I didn't succeed finding the right result on any possible search:

a) I want to limit, that the VPN-Connection is only used for distinct connections to hosts, that aren't in a "company subnet", but the IP's are publicly available. (Example: The Target-IP 8.8.8.8 allows per iptables, that only my VPN-Host 1.2.3.4 accesses it via SSH, and thus I only can access that Target-IP via SSH when I'm on the VPN). When actually browsing to the ubuntu-website, I want, that NOT the VPN-Connection is used but rather my normal connection (as a reference: i'm on a Windows-Client - not my choice, btw.)

b) I want to have several such "limitations" grouped, and give users 'access-rights' to certain hosts (Examples: Admin gets access to all on all ports Testers get access to some machines on distinct ports CEO gets access only to the mailserver via POP3 or IMAP

View 1 Replies View Related

Ubuntu Multimedia :: Using Ffmpeg To Increase Volume Of Mp3 Files?

Jul 20, 2010

how to increase the volume of ogg and mp3 files using ffmpeg. Some of the podcasts that I listen to are not loud enough, and I have my media player set to the highest volume.

View 1 Replies View Related

Ubuntu Servers :: Postifx Mail Receiving Size Limit?

Apr 10, 2010

using kubuntu 9.04 on AMD 64,working with ISPconfig panel.I have postfix configured and have no problem getting mails with small attachments, but when they pass certain size I don't get them.Where can I configure this?

View 3 Replies View Related

Ubuntu Servers :: HTTP Throttling - Limit Access To My Web-server

Apr 12, 2010

I'm thinking about some ways to limit access to my web-server. It runs Nginx and php in FCGI. The server contains a large amount of information. The data is freely available and no authentication is required but other companies might like to mirror it and use on their own servers.

The requests could be limited on different levels: IP, TCP, HTTP (by nginx) or by the php application. I found some solutions (like Nginx's limit_req_zone directive), but they do not solve the second part of the problem: there's no way to define a whitelist of clients who are allowed to use the data.

I thought about an intellectual firewall that would limit the requests on IP basis, but I'm yet to find such device. Another way was to hack some scripts that would parse the log file every minute and modify the iptables to ban suspicious IPs. It would take days and I doubt this system will survive, say, 1000 requests per second.

Perhaps, some HTTP proxy, like Squid, could do this?

View 2 Replies View Related

Ubuntu Servers :: Limit Size Of Log File When Redirecting Stdout?

Jun 7, 2010

I have a command line server that logs to stdout, which I start along the lines of ./server > log.txt

What I want to do is limit the size of log.txt, without modifying the server.

I am assuming there must be some kind of tool already that lets me do this, something like where I can pass in my server, the output file and a size limit? If so, can anyone enlighten me?

View 3 Replies View Related

Ubuntu Servers :: Limit The Number Of Concurrent Clients In Ssh Server?

Feb 1, 2011

I am using ssh server to connect to my Ubuntu desktop. I opened the file sshd_config and change my port number of the server.I want to put a limit on the number of clients in the ssh server.

View 2 Replies View Related

Ubuntu Servers :: Winxp Pro Limit The Inbound Connection To 10 And Win7 To 20?

Mar 7, 2011

I understand winxp pro limit the inbound connection to 10 and win7 to 20. Is there a limit for ubuntu server?

View 2 Replies View Related

Ubuntu Servers :: Maximum Of 1024 File Descriptor Limit?

May 4, 2011

I'm running nginx for static files and as a proxy server for a comet IM server on ubuntu Jaunty. On high load I'm hitting a limit of 1024 file descriptors. I've tried increasing this limit but still can't pass 1024. Does "more /proc/sys/fs/file-nr" gives me the global count of used file descriptors? Why do I see a maximum of 1024 open file descriptors in /proc/sys/fs/file-nr if this is the global count for the machine and each user should have at least 1024 allowed file descriptors by default? Is there a way to increase the limit while the server is running?

Some relevant info on my server:
sudo more /proc/sys/fs/file-nr
1024038001
sudo sysctl fs.file-max
fs.file-max = 38001
sudo nano /etc/security/limits.conf
...
* hard nofile 30000
* soft nofile 30000

I also added this to /usr/local/nginx/conf/nginx.conf:
worker_rlimit_nofile 10240;
Uncommented the following line in /etc/pam.d/su:
session required pam_limits.so

View 1 Replies View Related







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