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


ADVERTISEMENT

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

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 Security :: Automatic Login With Enforced Screen Lock

Aug 30, 2010

Is there a way to set Linux to automatically log in to a specific user account and at the same time lock the screen? I want to save time and trigger various software that always should start up on boot, while leaving the computer unattended during startup (extra important and practical for remote control boots), by enforcing a 'screen lock' so that no-one can see what happens behind the login screen without entering the login credentials.

View 4 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 :: 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

Debian :: Can't Open Files From Usb Stick

May 4, 2010

I just installed Shotwell and I copied some photos from a usb stick. I set the permissions to read/write but it won't save as read/write and Shotwell won't except photos, says its unsupported.

I get this error:Error interpreting JPEG image file (Improper call to JPEG library in state 200) now I think the file was corrupted, because other files on the usb stick open OK.I deleted the file. who knows what caused the corruption.

View 6 Replies View Related

Ubuntu :: Can't Open Debian Files?

Aug 1, 2011

Wheneven i try to open my frostwire.deb file, it opens the dialog asking for which program I should open it with??? which one is it

View 6 Replies View Related

Debian :: Files Deleted But Process Open

Jun 4, 2015

My /dev/md1 is full

Code:

Select all# du -x -m --max-depth=1 | sort -n
shows
Code: Select all0   ./dev
0   ./proc
0   ./sys
1   ./home
1   ./lost+found

[Code] ....

There are files that have been deleted but open processes are still active. The result :

Code:
Select all# lsof | grep 'deleted'
shows
Code: Select allmysqld     2881      mysql    4u      REG                9,1          0     393317 /tmp/ib16UZEE (deleted)
mysqld     2881      mysql    5u      REG                9,1        798     393318 /tmp/ibqA5RvA (deleted)
mysqld     2881      mysql    6u      REG                9,1          0     393319 /tmp/ibfXpKmw (deleted)
mysqld     2881      mysql    7u      REG                9,1          0     393322 /tmp/ibcluSds (deleted)

[Code] ....

If I delete these files does it diminish the size of / var ? If yes, how to remove these and can I remove them ?

View 9 Replies View Related

Fedora :: Gsoap - Limit Or Disable The Ability Of The Program To Open A Port To Start Communicating On FC15

Jul 18, 2011

I'm running Fedora 15, and am trying to run a program that uses gsoap/soapcpp2 2.7.17 to communicate with different parts of the program. As far as I know everything has compiled correctly and I am using the same versions of the required libraries as several working installations. However, every single time the program tries to open a port, the program is unable to do so. This happens no matter what port I specify.

if there is anything in fedora that would limit or disable the ability of the program to open a port to start communicating. I have tried disabling the firewall with no change to the behaviour.

View 1 Replies View Related

Debian :: No Longer Open Remote Files Via SCP / SSH Using GVFS From Geany

May 17, 2010

I recently upgraded to Squeeze and in general I'm loving it.One problem I'm having is that I can no longer open remote files via SCP/SSH using GVFS from Geany.This functionality still works in gedit.I've checked the syslog and can see no clues, and I also can't find any references on Google.

View 5 Replies View Related

Debian :: Make Java Default Application To Open JAR Files

Feb 4, 2016

i cannot seem to find a proper way to make Java my default application to open .jar files. I just made a new Debian 8.3 install on my laptop HP Pavilion G6 and the default application for opening .jar files is the Archive Manager. But when i go to "Open with.." section on right-clicking the .jar file, i get no JRE or JDK option to choose. I just installed the openjdk 7. I can manually run them from the bash, but it would be much more convenient if i just double-clicked it. Here is what i get when i run several commands in the bash :

1) which java ->Code: Select all /usr/lib/jvm/java-7-openjdk-amd64/bin/java
2) java -version -> Code: Select alljava version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-1~deb8u1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
3) echo $PATH: Code: Select all/usr/lib/jvm/java-7-openjdk-amd64/bin:/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin: /usr/local/ sbin:/usr/local/bin:/ usr/ sbin:/usr/bin:/ sbin:/bin
4) javac -version : Code: Select alljavac 1.7.0_95

View 4 Replies View Related

Debian Multimedia :: Squeeze (Xfce4 Archiver) Can't Open Files?

Dec 23, 2010

This is about the Squeeze (0.2.3-8) archiver in Debian Squeeze. I may be missing a dependency, but is Squeeze incapable of opening files inside archives? I created a generic archive with "tar -cvf arxiv.tar file01.txt" and Squeeze segfaults when I try to double click to open the file (file01.txt) stored in the archive (arxiv.tar).

Also, after experimenting with Squeeze on the command line, it seems the "-n" option works, but results in an orphaned gui window; the "-x" option will only extract to a directory which already exists (which is o.k., but should be documented); and the "-d" option doesn't follow the general syntax in the man page "squeeze [OPTION...] [archive name]", which isn't bad, but sure does make it unnecessarily cumbersome to use, and also, the gui runs (blinks for a split section) for no clear reason. Now it would be silly to use command line squeeze over tar, but the man page for Squeeze begins with: "Squeeze - modern and advanced archive manager for Xfce".

I would like a gui archiver/extracter to use with Xfce4 without all the QA problems. Unless I'm doing something really wrong, this software doesn't seem to be ready for release at all, and the upstream version has not changed in a long time.

View 7 Replies View Related

Fedora :: How To Limit The Number Of Files In A Particular Directory

Aug 31, 2011

I was nosing around in my /home folder and I noticed that the /.thumbnails directory had 38,000+ files in it. That number seem a bit excessive to me. Is there a way to limit the number of files that are allowed to be in that directory, and maybe delete the oldest files automatically when the directory reaches it's limit in order to make room for the new incoming files, so there are no "directory full" type of errors?

View 8 Replies View Related

General :: Limit The Output To Show Only First 2 Files?

Mar 30, 2011

Let's say I have a command

ls -Bgclt /somwhere/in/the/past

How do I limit the output to show me only first 2 files? (except for having only 2 files in that directory)

View 2 Replies View Related

Software :: Pam_limits(sudo:session): Wrong Limit Value 'unlimited' For Limit Type 'soft'

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

Networking :: Limit Bandwidth For Downloading Files With Squid?

Jan 23, 2010

I want to limit bandwidth for downloading files with squid. I want to reserve bandwidth for other traffic (esp. web browsing). I know about delay pools but I don't understand well. Some users use download managers to download large movie files. I don't want to block downloading but I want to give them limited bandwidth. May be 5KBps or 6KBps because I have only 512Kbps (64KBps) connection.

View 1 Replies View Related

Debian Multimedia :: Iceweasel Does Not Start - Access Denied While Trying To Open Files In Profile Directory

Nov 21, 2015

Iceweasel will not start, saying :

(process:12904): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

Error: Access was denied while trying to open files in your profile directory.

but only for my userid. What home directory resources are required to start?

View 3 Replies View Related

Server :: Limit The Suphp User Memory Limit?

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

Ubuntu :: Error: To Many Open Files But None Of The Files In Them Are Open?

Jan 9, 2010

they keep coming up with Error: To many open files but none of the files in them are open?

View 4 Replies View Related

Ubuntu :: Limit Log File Sizes - Log Files Are Taking Up Entire Harddrive

Mar 15, 2010

I just recently reinstalled (clean) Ubuntu 9.10 Karmic Koala last week. In that time, over 40GB of log files were created until the FileSystem was full. I then received a low disk space message and ran disk usage analyzer to find out that almost all of the 44GB I had free were taken up by the /var/log directory. I then preceded to delete the 5 largest files which freed up over 40 GB of space.

Basically I believe that I have two problems:

1.) The log files are logging too much information (40 GB in one week).

2.) I need a way to automatically limit the size of the log files. I have tried searching online for this solution and briefly came across logrotate but I don't believe that this will completely solve my problem as it only compresses and backs up older logs. I need something that will remove old log entries altogether. If logrotate is capable of this can someone please walk me through the process? I do not remember all five log files that were in question but they did include: messages, syslog, and daemon.log. I believe kern.log may have been involved too.

View 2 Replies View Related

General :: Shell Script To Delete Old Files Whenever Storage Limit Is Crossed?

Mar 16, 2010

I am looking for a shell script to delete old files whenever storage limit is crossed for a folder.

View 1 Replies View Related

Ubuntu Networking :: Nfs Locking Files - Cannot Open For Editing, Or Open Firefox / Thunderbird?

Dec 12, 2010

Server - Ubuntu 10.04.1 lts
Client - Kubuntu 10.10

When I try to open any nfs-mounted file using OpenOffice, I get a pop-up window titled "Document in Use". The text of the message is:

"Document file 'abcde.odt' is locked for editing by:

Unknown User

Open document read-only or open a copy of the document for editing." I then have three options - <Open Read-Only>, <Open Copy>, & <Cancel> If I cp any of these files from the mounted directory to my home dir (not mounted), I can open them without problem.Also, my firefox & thunderbird date are in this mounted directory as well (sym links to ~dan/.mozilla & ~dan/.thunderbird). Both of these apps hang when trying to open, leaving two processes behind that need to be manually killed. Again, cp'ing the data out of the nfs-mounted dir onto a local dir resolves the issue, so I am 100% confident there is nothing missing or corrupted in the firefox &/or thunderbird data...

relevant entry in /etc/fstab:
server:/nfs/dan/Documents /home/dan/Documents nfs defaults 0 0
relevant entry in server's /etc/exports:
/nfs/dan/Documents client(rw)

View 8 Replies View Related

Applications :: Error Glibtop: Open (/proc/stat): Too Many Open Files

Oct 1, 2010

I have a while(1) loop, and the error is: glibtop: open (/proc/stat): Too many open files This error occurs after about a half hour to an hour of running. I've tried running this multiple times, both with using glib_close() at the end of the loop, using glib_init() and glib_close() at beginning/end, and just using glib_init(). The strange thing is these have no effect on the actual glib_get functions.

View 5 Replies View Related

Software :: Cant Open Xls Files In A Shared Folder Using Open Office 3.1?

Oct 12, 2010

I cant open xls files in a shared folder using open office 3.1. Its all started when i install a new open office version. when im using open office 3.0.8 i can open all the files but now i cant even open it. Its always display untitled documents.

View 14 Replies View Related

Debian :: Best Way To Limit Access To NTFS

Jan 25, 2011

I managed to auto-mount NTFS partitions in my server.

But I want to limit access to this partition to a select few.

What's the best way, easiest way to do this.

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







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