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


ADVERTISEMENT

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

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

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

CentOS 5 Server :: Set Ulimit Open Files Permanently?

May 4, 2011

Newbie here! Our website CMS is a Tomcat webapp, which runs on a CentOS 5.6 release (Final). The webapp needs a permanent increase of the max. open files value. Currently, the site is "crashing" frequently due to continuous "Too many open files" exceptions that eventually will occur when traffic increases.

This is what I've done to try to increase the max. open files value code...

But still, when I log in (as any user, incl. root), ulimit -n shows 1024, not 16384. Am I missing something here? And, more importantly; Will Tomcat be able to open > 1024 files after my changes mentioned above?

(PS: I also tried rebooting, but no difference.)

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

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

CentOS 5 Server :: User Limit Access To One Folder

Mar 24, 2011

for create an user I put:

useradd username
passwd username

View 4 Replies View Related

CentOS 5 Server :: Placing Upload/download Limit To Each Ip Using Squid?

May 18, 2010

I just want to place upload/download limit to each ip address ( say 20MB per day for each ip or specific ip) using squid proxy i tried through delay pool but it control only download/upload speed not place any download/upload quota restriction. following are my codes I have 1Mbps line

delay_pools 2
delay_class 1 2
# here 700kbps(87Kbytes) Net-Total usage limit, with 50Kbytes per user

[code]...

I also used

"reply_body_max_size" parameter to control upload limit.

But

"request_body_max_size" only restrict download based on size.

how to setup quota ( download quota per day per ip)

View 4 Replies View Related

Server :: Limit On The Number Of Virtual Machines Running On RHES / CentOS XEN?

May 2, 2009

We've been experiencing sudden host server crashes minutes after starting a fourth virtual machine. Our setup looks like:

Dell Poweredge T300
1 x Intel Xeon X3323 Quad Core 2.5 ghz
16 GB Ram
CentOS 5.3 (64 bit)

Server is running a stripped down version of CentOS 5.3 (64-bit), running only the built-in Xen Virtualization Environment. There is no other services running on the server (not samba, httpd, sendmail, cups... nothing except Xen) We've created several virtual machines, and as long as we don't start a fourth virtual machine everything runs smoothly (impresive hardware).

Each virtual server is configured as:

PARAVIRTUALIZED
1 Virtual CPU
1 GB RAM

However, 5 minutes or so after starting a fourth virtual machine, the entire host server crashes and restarts itself. Are we limited by the number of cores on the host machine CPU (4 cores)? 1 for the host and 3 for virtual machines? We've read in forums about other Xen setups running up to 11 virtual machines on less powerful hardware? (a dual core server). Should we be using FULLY VIRTUALIZED virtual machines instead? Is the number of XEN virtual machines in fact limited by the number of cores? If so, how can someone run several virtual machines on a single core host?

By the way, we were replacing a previous Dell Server (Poweredge 2600 with 512 MB Ram and a single Xeon single core processor running Open Virtuozzo). We were able to run up to 16 virtual machines at the same time. Of course none of the machines endured hard work (testing environments, etc). But hey, my point is that we expected to get a much higher number of virtual machines on this new hardware.

View 8 Replies View Related

CentOS 5 Server :: Setting Quota Limit In Samba 'homes' Share?

May 20, 2010

I'm trying to set up quota limit in samba-3.0.33-3.15.el5_4.1 in CentOS 5.5, by means of the module vfs objects. In the samba howto [1] I found a very brief explanation, but it isn't working for me. The basic idea is to setup a user called 'quota2g' (uid 499) and setup the [homes] share, as it comes by default, to enforce the quota on each user share.quota2g:x:499:499:User quota 2GB:/home/quota2g:/bin/bash

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

CentOS 5 :: Install Centos In HDD 2 And Now How To Open Files In Hdd 1

Nov 21, 2009

i had install my centos in HDD 2 and now how to open my files in hdd 1 (windows)

View 2 Replies View Related

CentOS 5 :: Can't Open Djvu Files?

Jan 15, 2011

I need to open a text file which is stored in (file.djvu) format. How could I open this file?

View 1 Replies View Related

CentOS 5 :: Cannot Open Or Touch A Couple Files In Var During Boot?

May 20, 2009

I have been trying to install centos5.3 with an remote hdd (via ISCSI with Intel Nic and remote iscsi boot). If I install the centos with default partitioning (LVM, just /, swap,and /boot partitions), everything installs fine. However, if I install with custom partitions, particularly putting /var and /usr in their own partitions, I get all sorts of error during reboots. It tells me that the system cannot touch a couple files (in /var and /usr) because they do no exist. However, after boot, I can see these files and they existThe following files I can see so far that are being reported missing at boot are:

/var/run/getkey_done
/var/log/dmesg
/var/lock/subsys/kudzu

[code]....

View 4 Replies View Related

CentOS 5 :: Can't Open Cpp Files In Gedit - Couldn't Display ?

Mar 23, 2011

I have just finished an install of Cent 5.5. I loaded up a trunk for a software application I want to compile on cent, but I cannot read the .cpp files. The issue seems to be with the file extension. If I change the extension to .txt, they open just fine. My .FOR, .FPP, and .DAT files display fine, but the .cpp and .h give me an error, "Couldn't display...". What is the problem here that won't let me open these files in gedit?

View 5 Replies View Related

Server :: Change The Webroot Of The Httpd Server - Directory Doesn't Exist - CentOS 5

Jun 1, 2009

I have just configured CentOS server my new office. This is the first time I am using CentOS.

Whenever I am trying to change the webroot of the httpd server, it usually say "directory doesn't exist". whereas which can't be the case as it is home directory of the user.

To achieve this, what Do I need to do?

The second issue, I am facing that whenever I am adding new directories to public_html folder, it is not accessible. as the error page 404 is shown. I have changed the permissions to 0705 and ownership is also transferred to other user. What else is required to make new directories accessible by the web?

View 2 Replies View Related

CentOS 5 Server :: Automation Of Ftp Server \ Configure A FTP Server Where Upload And Download Files?

Jan 8, 2011

i have been trying to complete the following project1) Configure a FTP server where we can upload and download files.........2) server must run at 9 pm & stop at 9 am automatically ............although the first task was easy ,i have no idea how to accomplish the 2nd task(not to mention I'm a new user)

View 5 Replies View Related

Server :: Open Corrupt Vdi Files?

Dec 21, 2010

have virtualservers on virtual harddisk due to system crash when im trying to access the servers its giving the error as failed to start virtual machine fileserver medium /rootfiles/vdi/fileserver.vdi is not accessiblevd:error verr_media_not_recognized opning image file
/rootfiles/vdi/fileserver.vdi (verr-media-not-recognized)result code:ns-error-failureour company network gone down.no internet is coming.so if i want to install dhcp i need dhcp rpm package for fedora12 2.36.31.9-174fc12x86_64

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

CentOS 5 :: How To Change Owner Of Copied Files To Newly Created Users

Jan 29, 2010

CentOS 5.4 install, likewise open standard install (For active directory authentication).I have a license service which requires a license.txt be in the users home directory.The group owner for license.txt must be the same as the license service. Whenever a new domain user logs in, it creates the all the appropriate files but the group owner for license.txt is the users domain group. My current workaround seems like more effort than it's worth, is there another way to get this process solved easier/more secure?

- copy the license.txt into /etc/skel

- created a script to check for the presence of license.txt, check it's permissions and change them if necessary

- gave the domain's group sudo [nopasswd] access to the script (the script is not writable)

- execute the script in /etc/bashrc

View 1 Replies View Related

Server :: PHP File Open Larger Files Or Fopen Files Larger Than 2gigs

Feb 16, 2011

I have a ubuntu 10.10 server with apaceh2 and php and I want to open a file larger than 2gigs

I've read there is a flag that needs to be compiled into php to do this ?

View 6 Replies View Related

Server :: Gnome And Samba / Why Can't I Open Certain Files?

Sep 17, 2010

I can go to Places-Network on the gnome menu and pick the share I have on my other machine (I have read-write since the account is in the same user name) I can browse the files on the server using Nautilus, however when I try to open OpenOffice files it fails and won't open them. I have to manually mount the files system as cifs before I can open OpenOffice files. Anybody know why this is happening.

View 3 Replies View Related

Server :: Possible To Open Log Files Of Other Software In Syslog?

May 12, 2009

Can syslog be used to "watch" other log-Files from other software? I would like to get an info in messages if a logfile of squid is changed/something is added.

View 4 Replies View Related

Server :: Change The Name On Zip Files?

Mar 8, 2010

I have a question about zip file.How can I change the name of a folder after the folder is ziped,

Example: I have a 'test' folder, and it includes test1.txt and test2.txt
test/test1.txt
test/test2.txt

[code]...

View 10 Replies View Related

CentOS 5 Server :: Ifconfig Cannot Open /proc/net/dev

May 13, 2009

Just installed a new CentOS with the control panel Interworx. Everything fine, BUT. I can't add new ipadresses cause there is no network device.When i do 'ifconfig' i get the following:

[root@cobra ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1C:C0:A7:25:9F
inet addr: Bcast: Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[code]....

View 1 Replies View Related

Red Hat :: View/Open Files On Server From Windows Clients?

Apr 1, 2011

in my office we are using redhat server and 20 windows client machine. some times while viewing the server stored files or not able to view.yesterday i saw a problem all the files are showing but not able to open a single fine after restarting the computer iam able to open the file.

View 2 Replies View Related

CentOS 5 Server :: SVN - Could Not Open The Requested SVN Filesystem [500, #160043]?

Nov 17, 2009

I'm trying to config Apache and Subversion to work together, I did:

1. yum install mod_dav_svn subversion then I had Subversion and httpd installed!

2. create: /usr/local/subversion/repos

create: /usr/local/subversion/repos/test (by svnadmin create)
create: /usr/local/subversion/access/svnauth.conf (by htpasswd)
added to file : /etc/httpd/conf.d/subversion.conf:
<Location /repos>
DAV svn
SVNListParentPath on

[Code]...

View 1 Replies View Related

CentOS 5 Server :: Cannot Open Shared Object File

May 3, 2011

I neet to install a cgi script in my CentOs 5.5

So after compiled the cgi script, I put it in the folder /var/www/cgi-script/

I try to access via my web browser and in the apache error log : I have this "/var/www/cgi-bin/mapserv" : error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory"

In my httpd.conf, I just add the following in order to provide the shared libraries for my cgi script :

<Location "/cgi-bin/"
SetEnv /home/hmonglee/instantclient_11_2
</Location>

But same error.

View 1 Replies View Related







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