Modifying kernel shared memory settings on a lion install
What’s the location of the sysctl.conf file on lion? In Snow Leopard it was in /etc/sysctl.conf but now that folder doesn’t contain it anymore. Searching for the file in spotlight yields no results. Have the shared memory settings been moved to a different conf file? What is it’s name? EDIT I am trying to modify the kernel shared memory settings of the machine. When I didn’t find the sysctl.conf file in the right place, I [...]
Continue Reading »File-descriptors setting on /etc/sysctl.conf
I have recently learnt that to be able to increase the amount of virtualhosts that we can serve via apache depends on file-descriptors. they say the value should be added to /etc/sysctl.conf as fs.file-max = 65536 What is the correlation between amount of RAM I have with the number above ? Could you tell me like; “You should have X GB RAM and Y GHz CPU to be able to set fs.file-max to Z” I [...]
Continue Reading »Increasing FreeBSD threads
For network apps that create one thread per connection (like Pound), threadcount can become a bottleneck on the number of concurrent connections you can server. I’m running FreeBSD 8 x64: $ sysctl kern.maxproc kern.maxproc: 6164$ sysctl kern.threads.max_threads_per_proc kern.threads.max_threads_per_proc: 1500$ limits Resource limits (current): cputime infinity secs filesize infinity kB datasize 33554432 kB stacksize 524288 kB coredumpsize infinity kB memoryuse infinity kB memorylocked infinity kB maxprocesses 5547 openfiles 200000 sbsize infinity bytes vmemoryuse infinity kB pseudo-terminals [...]
Continue Reading »Sysctl config for high performance, large activity
We have some server with a huge amount of visitors (every minute, every day). Basically we had a nice fine-tuned sysctl config for this purpose. (If you don’t modify it, it starts to behave strangely). I’d like to ask the community if you could provide me one which.. well.. optimized for this purpose. Edit: Like maximizing open file limits and so on. That’s what I meant. define large activity? large number of files open? large [...]
Continue Reading »error: “net.netfilter.nf_conntrack_acct” is an unknown key
i have the next error when i run ‘sysctl -p’ error: “net.netfilter.nf_conntrack_acct” is an unknown key net.netfilter.nf_conntrack_acct = 1 net.ipv4.netfilter.ip_conntrack_max = 9527600 net.ipv4.netfilter.ip_conntrack_tcp_timeout_established = 7200 lsmod ipv6 289352 34 loop 19724 0 nf_conntrack_ipv4 19352 0 nf_conntrack 71440 1 nf_conntrack_ipv4 joydev 15232 0 evdev 14592 0 ext3 125456 3 jbd 54696 1 ext3 mbcache 13188 1 ext3 raid1 24832 4 md_mod 81700 5 raid1 thermal_sys 17728 0 Debian 5.0.8 Any idea? Thanks Well, it’s saying that [...]
Continue Reading »Is there a location of the sysctl kernel parameters for osX?
I would like to read up on os X kernel parameters. I can find them listed, but where can I find the meaning of them? things like net.alf.loglevel: 55 ( which are not in the man pages , for either BSD or osX) How do people know what to set them to? EDIT: I have found this link. It has helped me a lot. The only real way to get all kinds of information about [...]
Continue Reading »Recent Posts
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?



