Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
11 views

Set total memory limit with Torque

I run a moderately sized cluster and I am having a queue problem. For example I have a node with 128GB of memory and a program that I set the amount of memory per core. So for example if I set memory ...
0
votes
0answers
12 views

setting limit.conf for asterisk(*) not work

My environment is Ubuntu 10.10 I'm setting /etc/security/limits.conf, also enable pam_limits.so module. * soft nofile 64000 * hard nofile 65000 But it's not working. Login as root and 'ulimit ...
0
votes
0answers
7 views

Using mod-php and prefork MPM, is mysql.max_links “per hit”?

Looking at mod_php configuration, I've stumbled upon the mysql.max_links and mysql.max_persistent variables. The documentation says those limits are "per process", and since I'm using the prefork MPM ...
0
votes
1answer
60 views

Dovecot ignoring maximum number of IMAP connections

I have a single mailbox mail server running Dovecot/Postfix and I have two IMAP clients, Thunderbird on the PC and K9 on Android. I keep on receiving this error in my logs even after I change the ...
0
votes
3answers
64 views

Bizarre Site Slowdown for Some Users with .htaccess Directive

To protect my website on a shared hosting plan, I added this to my .htaccess file: <Limit GET HEAD POST> order deny,allow deny from .ru deny from .cn deny from .in deny from .de deny from .cz ...
0
votes
1answer
90 views

Applying memory limits to screen sessions

You can set memory usage limits for standard Linux applications in: /etc/security/limits.conf Unfortunately, I previously thought these limits only apply to user applications and not system services. ...
1
vote
1answer
35 views

Iptables: how do I LOG what's not being ACCEPTED and limit what gets logged?

How do I log what's not being accepted by the following rule: iptables -A OUTPUT -p icmp --icmp-type 3 -m -limit --limit 10/minute -j ACCEPT And how do I limit what's being logged because I don't ...
0
votes
1answer
265 views

Iptables ratelimit UDP DOS attacks

Well, I've been a victim of Ddos attacks and I really can't figure out how to avoid it. On some machines it works, while on some it doesn't or probably I'm doing it wrong in some way, Attackers are ...
1
vote
1answer
74 views

MySQL file limit. Error Out of resources

I was benchmarking my database the other day using mysqlslap, and I ran into a "Out of resources when opening file '/tmp/somefile' (Errcode: 24)" error. I with a few click on google, I found a ...
3
votes
0answers
135 views

Rate/Bandwidth limiting with haproxy, what are the options?

I have tried reading up on different methods of limiting (rate/bw) with haproxy, but seems the only working implementation I find is per /32 ip based limit. Is it possible to do rate limiting based on ...
7
votes
3answers
91 views

How to safeguard a shell script against running out of control?

I've recently had an experience of writing a shell script which crashed a server (and damaged a partition) by consuming all resources. It was hooked up to a cron job, and it seems it took longer to ...
3
votes
2answers
490 views

Exhausting Linux machine TCP socket limit (~70k)?

I am the founder of torservers.net, a non-profit that runs Tor exit nodes. We have a number of machines on Gbit connectivity and multiple IPs, and we seem to be hitting a limit of open TCP sockets ...
1
vote
2answers
163 views

How do I limit the download speed for my web site?

Is there a way to limit download bandwidth (or download speed) for my web site in Windows Server 2008? I do not want any limitations for viewing my web site and loading pages, just for downloads. ...
2
votes
1answer
146 views

IPtables rate-limit, What are the differences between modules? Recent, Limit

I am doing some rate-limiting with IPtables, and i'm not sure if I should use "Recent" or "Limit" What are the differences between the two? If they both achieve the same result, which one has ...
0
votes
1answer
86 views

Maximum number of groups in Linux

I have several questions about linux groups Is there a limit to the number of groups a user can create? Is there a limit to the total number of groups in a system? Is there a limit to the number of ...
1
vote
1answer
106 views

CFS hardlimit in cgroups

I recently moved to KVM. Previously I was using xen and its capping feature in credit scheduler. Where we can set a cpu cap for a VM. I was searching for a similar feature to set hard limits on a VM ...
0
votes
1answer
334 views

nginx with php5-fpm, maximum execution time exceeded

In php.ini I have set "max_execution_time = 1200", phpinfo() confirms that, but my script stops after 300 seconds with message: "PHP Fatal error: Maximum execution time of 300 seconds exceeded" ...
1
vote
2answers
374 views

how to limit memory size a process can consume in linux

I am trying to figure out how to limit memory usage of mongo daemon to 4G. I thought to use limits.conf with memlock but I am not sure that's the right way to do it. from limits.conf man page I've ...
0
votes
1answer
355 views

How to limit bandwidth in CentOS using htaccess and not httpd.conf?

I'm trying to limit bandwidth in centOS. I have tried using bw_module, cband_module and bandwidth_module, but all of those required to use the httpd.conf and must restart httpd! I have to do this ...
0
votes
2answers
337 views

Apache - Limit max number of simultaneous connections from an external IP?

I would like to set a maximum limit for the number of connections that can be made to Apache from a single external IP address. What would be the best way to achieve this? Thanks
-1
votes
1answer
83 views

Nginx config / site limits

I'm currently hosting about 30 websites with very low traffic with Nginx (~30k page views a day) and having no issues. I am curious how many sites you can comfortably run on a server, assuming at ...
0
votes
0answers
197 views

Apache + mod_wsgi (python/django): error 405 on form submission

I have a form with method="POST" <form id="home-searchform" method="POST" action="test_list/">{% csrf_token %} and i'm running apache2 with mod_wsgi for my django application When i try to ...
0
votes
1answer
72 views

Debian virt/res/shr and cpu time limiting

Servers have multiple users running multiple programs, some of which don't seem to behave and will eat up RAM like there is no tomorrow, for example: PID USER PR NI VIRT RES SHR S %CPU ...
0
votes
2answers
499 views

Servers rejecting mails with “500 Line limit exceeded”

I am dispatching a few mails (mainly order confirmations) from a webshop using a php mail class. The mails are sent via a local Exchange/SMTP server. In the majority of cases this works fine and ...
2
votes
2answers
453 views

Limit Apache Proxy upload speed per connection/ip?

I looked at mod_bandwidth and mod_cban but they dont seem to satisfy my requirements. I am running a proxy server with apache 2.2 (mod_proxy, proxy_http, proxy_connect). I want to limit the "upload ...
1
vote
6answers
315 views

Hardware bandwidth limiter

Really not sure if this is the place to be asking this, but here goes.. Our company has grown exponentially in the last year. As such, our internet connection needs some serious managing and limiting ...
1
vote
1answer
222 views

Apache2 - Limit download speed

I am trying to find a way to limit the download speed from my server. I found the module mod_bandwidth but there is no howto on apache2.2, only for 1.3.x. How can I limit the download speed. I have ...
0
votes
1answer
141 views

How can I limit exim4 processes for outgoing emails?

Does anybody know how I can set a limit for exim4 processes because an application send to our smtp server 4000+ mails and crashed it. I try to add queue_run_max=20 in ...
1
vote
1answer
59 views

how to limit maxlogin for a port forward over ssh user who Do not execute a remote command

I have some users, who connect to my server through the ssh for port forwarding and ssh tunneling, but there is a problem: I cannot limit their concurrent logins, because they have no session and ...
3
votes
2answers
143 views

Is there a limit on the number on named pipes that can be created on a Linux machine?

And if so, how do we increase it - the named pipes are created using mkfifo command -
1
vote
1answer
206 views

Help on configuring iptables for openvpn

I am trying to setup a openvpn server for group of people but I have problem with configuring iptables rules. the box have 5 Dedicated IP address and I want to use one of ips that is not the default ...
1
vote
1answer
204 views

Can I limit my SSH Tunneling Speed? [closed]

Possible Duplicate: Can I limit my SSH Tunneling Speed? So, I'm kind of making sshusers for ssh tunneling to surf some content which is blocked by my country. But, I don't want somebody to ...
0
votes
1answer
66 views

Simultaneous Requests To Site With JS Cause CPU Spike

someone is making many requests to a specific page on my site that has JS on it. Subsequently, it's driving the CPU load to 100+ if I don't restart apache. What I tried: - Reduce KeepAlive timeout - ...
1
vote
1answer
108 views

Whitelist file type on vsftpd on CentOS

I have CentOS server running on unix, and vsftpd FTP server installed. I did chroot for users and now I'm trying to limit their file type upload. I don't want to use deny_file because deny_file limit ...
0
votes
1answer
189 views

Cisco Pix - how many clients or peer sites supported?

I read that a cisco pix 506e supports up to 25 vpn peers (sites), and unlimited clients (machines connected with the cisco vpn software?). The lowest cost option would seem to be to install the vpn ...
1
vote
1answer
330 views

Apache Limit directive not working as expected

I want to use 'Limit' to allow GETs and POSTs, to a page requiring authentication, from only certain sites. I want authentication for GETs and POSTs from a certain IP, who should be able to access ...
2
votes
2answers
122 views

Apache limit users per month to certain vhost

Is there a way in apache to limit the amount of users that can view a site in a certain month? I'd need to do this for individual vhosts. Something along the lines of: <VirtualHost *:80> ...
1
vote
1answer
383 views

apache - Can't upload >2GB file

Uploading files in our app works fine until we hit one that's > 2GB. error_log shows: Invalid Content-Length (-3)Unknown error: Error reading request entity data I've rebuilt the latest apache ...
0
votes
2answers
93 views

LAN-intern solution for server-side auto-IP-block

We got the problem, that our web server provider blocks our static IP address automatically, when we reach 200 simultaneous connections in the time window of 300 seconds. I'm running an Ubuntu server ...
0
votes
2answers
577 views

Limiting bandwith per user?

We need to modify our bandwidth usage (per user on our site). I would want to limit bandwidth per ip,,. Basically we want the users who connects to our webstie to only be able to (download @ 2.5Mbps ...
0
votes
2answers
309 views

Upper memory limit apache

I have a big php script that needs a gigabyte or more to run. I set the memory_limit in php.ini to 2048M. If I echo the limit with ini_get, I get the 2048M as expected. But when I run the script it ...
2
votes
1answer
887 views

postfix rate limiting

I did add a new slow transport to my Postfix configuration but this doesn't looks to work Messages passes correctly in the slow transport but they aren't rate limited. Currently, I'v been setting ...
1
vote
1answer
287 views

ProFTPD: Disable writing and deleting to a particular directory

How would I prevent writing and deleting to the ~/site/backups/ directory in the ProFTPD config? So far: I think I have figured out how to disable any kind of deleting: <Directory ...
2
votes
3answers
1k views

VFS: file-max limit 1231582 reached

I'm running a Linux 2.6.36 kernel, and I'm seeing some random errors. Things like ls: error while loading shared libraries: libpthread.so.0: cannot open shared object file: Error 23 Yes, my system ...
2
votes
1answer
540 views

25TiB for /home from 16TiB, what to do with ext3?

I have recently lvextend my logical volume (where /home is) from 16TiB to 25TiB. However, when I try to run extend2fs on my /dev/vtrak/home, it complains that resize2fs 1.41.12 (17-May-2010) ...
1
vote
3answers
419 views

VPS : How to deal to servers without swap?

I have recently deployed a java application on a VPS but It keeps crashing because the JVM runs out of memory after a while. I never had this issue on other 'low memory' servers thanks to the swap but ...
0
votes
1answer
113 views

limit usb stick usage for users

We need to disallow access to usb stick on win2k3, though allowing access for some specific user and admin team. Is it possible ?
0
votes
1answer
148 views

Memory allocation and limits on debian 2.6.26

On our server we have different users that need sometimes a big amount of memory (up to 40Gb). The total of our server is 128 Gb, but recently it crashed due to different users taking up together all ...
0
votes
1answer
82 views

Pushing new mailbox limits for Exchange 2003 accounts

There is this problem that I have every time I set up an account for a user on Exchange 2003. After I update the Mailbox limit to unlimited in the Exchange tab in the user preferences it does not seem ...
0
votes
2answers
510 views

Exchange 2007 - mailbox limits doesn't work

A mailbox was migrated from Exchange 2003 to 2007. The mailbox limits (4.0gb, 4.2gb, 4,4gb) were kept as they we're over default size. The user cannot send mails though the size is under the limit ...

1 2 3