CentOS 5 :: How To Check OS Back_log Limit
Jan 18, 2010I want to change back_log for mysql, but in documentation said OS has it's own limit. how can i check what that limit is?
View 1 RepliesI want to change back_log for mysql, but in documentation said OS has it's own limit. how can i check what that limit is?
View 1 RepliesI want to change back_log for mysql, but in documentation said OS has it's own limit. how can i check what that limit is?
View 1 Replies View RelatedI need to limit the ram usage under the below scenario,
" having 8GB of ram, need to limit the ram usage up to 4GB, thereafter must use swap only"
I'm running CentOS 5.5 64bits. I tried today to create a 5GB test file as unprivileged user and the process limited the size at 2GB:
$ ulimit
unlimited
$ time dd if=/dev/zero of=test.bin bs=5000000000 count=1
0+1 records in
0+1 records out
[Code]...
How to limit network speed? Is there any apps in Centos can do that?
View 1 Replies View RelatedIs it possible to limit each user so that only one can connect via each username for ssh/sftp? I work with a small company where there aren't really enough of us to justify using a revision control system, but we don't want to accidentally step on each other's toes, so we'd like to try simply preventing more than one person from accessing a given domain at once.
View 15 Replies View RelatedDoes anyone know if there is a limit to the number of virtual guests you can have in kvm. RHEL has a limit of 4. RHEL AS is unlimited. What is CentOS?
View 1 Replies View Relatedmy 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'
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
for create an user I put:
useradd username
passwd username
I was looking into using control groups to limit the memory usage of each user on my CentOS system. I was told that this required me to recompile the kernel to have cgroup support. Is this true? Or is there a kernel module that will allow cgroups to work for users and groups on the system without kernel re-compile? Or, is there another way to limit the users memory usage? I have tried ulimit and it doesn't seem to work right.
I ask since this setup will be on a VPS system, that means to re-compile the kernel I need to use Xen instead of OpenVZ. Plus I have never in my life re-compiled the kernel, least of all with different modules ha ha ha so I would have to pay my NOC to do it. So if I don't HAVE to recompile the kernel to get cgroup support.
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.)
How to number of connections for a single ip on port 80 to CentOS 5.5 with iptables? connlimit did not work on CentOS and nginx does not provide a module for that
View 4 Replies View RelatedI 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)
I have an external sata dock for hdd that give me a lot of error till linux decided to lower the speed of it to 1.5 then it start work well
View 2 Replies View RelatedI have got an Notebook whose CPU is 64bit.The Notebook has an CentOS installation. Now I want to find out if this CentOS is 32bit or 64bit.How can I check this?
uname -a
gives something with ....i686 i686 i386...."
What does that mean?Does that refer to the hardware or the CentOS OS? An 32bit CentOS can be installed on a 64bit hardware!I am interested in the OS capability not of the hardware!
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.
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 RelatedWhat's the cli command to check mod ssl version?
I'm running Centos 5.3
I'm trying to check how much ram memmory and CPU is a particular process consuming, i have checked free -m and top but is not esay to undesrtand the output from CPU
What i need is to check the consuming for a particular process; with free -m i'm able to see only the available space of memmry and i want to know how much is consuming a particular process, the same with 'top'
It's hard ot understan the output from top, to many columns and MAY process, not easy to check the process i want to monitor
While am updating using yum some error showing ... (am new in the field of cent os , and am doing these all job by ssh )
Dependencies Resolved
Transaction Summary
Can anybody tell what command can be used to check the checksum for a file or to match the checksum with the one provided by the download provider.
View 1 Replies View RelatedOn my laptop I have a dual boot system, CentOS 5.4 on one partition and Windows Vista on the other. In Windows, I have a program installed that allows me to access my linux partition so I have access to the files. Every time I boot into linux after accessing the linux partition through windows, I get a forced file system check. I was wondering if there is a way to disable or perhaps bypass this check?
View 1 Replies View RelatedI have a email(postfix) installed on my centos, i think it is under some kind of attack, Is it possible that I can check who is connecting my server?
View 1 Replies View RelatedHow can I setup "reverse dns check" option in Postfix ?
View 1 Replies View Relatedhow the bash script should look to copy huge directory with multiple sub-folders to a new place place while checking load and stopping for several seconds if load reached lets say 3 or 4 ? I only know the simple command cp -r /dir/allfiles /dir/newplace However would like to copy over 30 000 files which will cause me a high load.
View 1 Replies View RelatedI am using Cent Os 5. I want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.
# cache_dir ufs /var/spool/squid 2000 16 256
I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size.
I installed the zabbix1.8.5 and when I login through web gui and check the host (zabbix server) status showing me the below mentioned error:
Quote: Got empty string from [127.0.0.1]. Assuming that agent dropped connection because of access permissions
Is there a way to disable disk checks in a mounted usb drive? I have a 500GB usb mounted drive in my CentOS machine and everytime I reboot my system, it does disk checks which is a long painstaking process.
/mnt/sdb1
i have CentOS 5.2 based server running openssh, which gives sftp service to the outside users(from internet), the users from some public ip-addresses uploads and download files from sftp-server directories. I want that whenever a user uploads a new file in certain directory of server, the server should send me an email alert
View 1 Replies View Related