-
as seen on Server Fault
- Search for 'Server Fault'
Hi there,
We have two ubuntu 8.04 servers.
With the database server I set the table_cache to 1000 however when I restart mysql the status only shows 257 and the open files limit says 1024
I adjusted ulimit by doing
ulimit -n 8192
and then restarting mysql; this seemed to do the tick however after…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hi
Are there true ulimit for windows?
I'm finding ways/programs how to prevent one program eating 100% cpu.
Thanks.
>>> More
-
as seen on Super User
- Search for 'Super User'
I have a service run under daemontools defined like:
/service/myservice/run
=
#!/bin/sh
exec setuidgid someuser somecommand
Now, if I run this as a script directly from a root shell, somecommand will get a correct ulimit (unlimited).
However, when I start the service using
svc -u /service/myservice
then…
>>> More
-
as seen on Super User
- Search for 'Super User'
I am trying to enforce maximum memory a program can consume on a Unix system. I thought ulimit -v should do the trick. Here is a sample Java program I have written for testing :
import java.util.*;
import java.io.*;
public class EatMem {
public static void main(String[] args) throws IOException…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Problem
Got java.io.IOException: Too many open files in solr indexing through jenkins.
Did some googling and found we have to set the ulimit for the box in where we are running the job.
So set the ulimit in a linux box with spec
Linux x86_64 GNU/Linux
in both of the following fashions
ulimit…
>>> More