903 reputation
11216
bio website plasticboy.com
location Boston, MA
age
visits member for 5 years, 5 months
seen Oct 1 at 15:17

Apr
12
comment Why do JBoss and Logrotate create log files full of NUL characters?
Yes, we've been using the above logrotate configuration with "Append" successfully as well. I'm not sure why I never updated this question. Thanks.
Nov
11
comment What limits the maximum number of connections on a Linux server?
@Codevalley That may be system-dependent but on Ubuntu Server they go in /etc/sysctl.conf
Aug
24
comment Tell Postfix not to deliver mail when SpamAssassin isn't running
Thanks, this is helpful. I also found this page on the SpamAssassin wiki which has a script that uses the -x flag to get the temporary failure behavior that I want.
Dec
18
comment How can I manage a list of frequently accessed hosts?
This is where I started, actually. I currently have all my hosts in my .screenrc but screen has an unfortunate limit: 40 open windows at a time, and I've hit that wall. Hence the search for a new way.
Dec
18
comment How can I manage a list of frequently accessed hosts?
Ooo, I like the command completion idea. It looks like bash is pretty smart about this out of the box. I just typed "ssh <tab><tab>" and got a list of hosts that came from somewhere. I will have to look into that more.
Oct
5
comment Why do JBoss and Logrotate create log files full of NUL characters?
Thanks. This is what I suspected but I had hoped there was a way to get logrotate to work. I guess I will have to use DailyRollingFileAppender and a custom cronjob.
Jun
26
comment What do you do when a command floods your terminal with too much output?
I should have added killing my ssh session or switching to another one as one of my sub-optimal solutions. I do run screen but I run it locally, so switching to another shell means logging in again, that's one of the annoyances I'm trying to avoid. These are good suggestions, though. Thanks.
May
21
comment What limits the maximum number of connections on a Linux server?
tcp_max_orphans is interesting but it seems like it's not working. When I try to measure orphaned sockets during my test I see 11,651 of them while tcp_max_orphans is 8,092. # netstat --inet -p | grep "localhost:www" | sed -e 's/ \+/ /g' | cut -d' ' -f 1-4,6-7 | sort | uniq -c 11651 tcp 0 0 localhost:www TIME_WAIT -